Skip to content

Regression

build / mingw32-gcc / test / simulation.import_export_snapshot.lua (from (result.xml))

Failing for the past 1 build (Since #746 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + import_export_snapshot.lua                                                        ... sh: line 1:  1076 Segmentation fault      /c/dev/jenkins/ws/OMSimulator_master//install/bin//OMSimulator import_export_snapshot.lua >> /tmp/oms-rtest-adrpo33/simulationtmp_4080/log-import_export_snapshot.lua 2>&1
execution failed

==== Log /tmp/oms-rtest-adrpo33/simulationtmp_4080/log-import_export_snapshot.lua
<?xml version="1.0"?>
<oms:snapshot
  xmlns:oms="https://raw.githubusercontent.com/OpenModelica/OMSimulator/master/schema/oms.xsd"
  partial="false">
  <oms:file
    name="SystemStructure.ssd">
    <ssd:SystemStructureDescription
      xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon"
      xmlns:ssd="http://ssp-standard.org/SSP1/SystemStructureDescription"
      xmlns:ssv="http://ssp-standard.org/SSP1/SystemStructureParameterValues"
      xmlns:ssm="http://ssp-standard.org/SSP1/SystemStructureParameterMapping"
      xmlns:ssb="http://ssp-standard.org/SSP1/SystemStructureSignalDictionary"
      xmlns:oms="https://raw.githubusercontent.com/OpenModelica/OMSimulator/master/schema/oms.xsd"
      name="import_export_snapshot"
      version="1.0">
      <ssd:System
        name="root">
        <ssd:Connectors>
          <ssd:Connector
            name="C1"
            kind="input">
            <ssc:Real />
          </ssd:Connector>
        </ssd:Connectors>
        <ssd:ParameterBindings>
          <ssd:ParameterBinding
            source="resources/import_export_snapshot.ssv" />
        </ssd:ParameterBindings>
        <ssd:Elements>
          <ssd:Component
            name="add"
            type="application/x-fmu-sharedlibrary"
            source="resources/0001_add.fmu">
            <ssd:Connectors>
              <ssd:Connector
                name="u1"
                kind="input">
                <ssc:Real />
                <ssd:ConnectorGeometry
                  x="0.000000"
                  y="0.333333" />
              </ssd:Connector>
              <ssd:Connector
                name="u2"
                kind="input">
                <ssc:Real />
                <ssd:ConnectorGeometry
                  x="0.000000"
                  y="0.666667" />
              </ssd:Connector>
              <ssd:Connector
                name="y"
                kind="output">
                <ssc:Real />
                <ssd:ConnectorGeometry
                  x="1.000000"
                  y="0.500000" />
              </ssd:Connector>
              <ssd:Connector
                name="k1"
                kind="parameter">
                <ssc:Real />
              </ssd:Connector>
              <ssd:Connector
                name="k2"
                kind="parameter">
                <ssc:Real />
              </ssd:Connector>
            </ssd:Connectors>
          </ssd:Component>
        </ssd:Elements>
        <ssd:Annotations>
          <ssc:Annotation
            type="org.openmodelica">
            <oms:Annotations>
              <oms:SimulationInformation>
                <oms:FixedStepMaster
                  description="oms-ma"
                  stepSize="0.001000"
                  absoluteTolerance="0.000100"
                  relativeTolerance="0.000100" />
              </oms:SimulationInformation>
            </oms:Annotations>
          </ssc:Annotation>
        </ssd:Annotations>
      </ssd:System>
      <ssd:DefaultExperiment
        startTime="0.000000"
        stopTime="1.000000">
        <ssd:Annotations>
          <ssc:Annotation
            type="org.openmodelica">
            <oms:Annotations>
              <oms:SimulationInformation
                resultFile="import_export_snapshot_res.mat"
                loggingInterval="0.000000"
                bufferSize="10"
                signalFilter="resources/signalFilter.xml" />
            </oms:Annotations>
          </ssc:Annotation>
        </ssd:Annotations>
      </ssd:DefaultExperiment>
    </ssd:SystemStructureDescription>
  </oms:file>
  <oms:file
    name="resources/import_export_snapshot.ssv">
    <ssv:ParameterSet
      xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon"
      xmlns:ssv="http://ssp-standard.org/SSP1/SystemStructureParameterValues"
      version="1.0"
      name="parameters">
      <ssv:Parameters>
        <ssv:Parameter
          name="add.u1">
          <ssv:Real
            value="10" />
        </ssv:Parameter>
        <ssv:Parameter
          name="add.k1">
          <ssv:Real
            value="30" />
        </ssv:Parameter>
        <ssv:Parameter
          name="C1">
          <ssv:Real
            value="-10" />
        </ssv:Parameter>
      </ssv:Parameters>
    </ssv:ParameterSet>
  </oms:file>
  <oms:file
    name="resources/signalFilter.xml">
    <oms:SignalFilter
      version="1.0">
      <oms:Variable
        name="import_export_snapshot.root.C1"
        type="Real"
        kind="input" />
      <oms:Variable
        name="import_export_snapshot.root.add.u1"
        type="Real"
        kind="input" />
      <oms:Variable
        name="import_export_snapshot.root.add.u2"
        type="Real"
        kind="input" />
      <oms:Variable
        name="import_export_snapshot.root.add.y"
        type="Real"
        kind="output" />
      <oms:Variable
        name="import_export_snapshot.root.add.k1"
        type="Real"
        kind="parameter" />
      <oms:Variable
        name="import_export_snapshot.root.add.k2"
        type="Real"
        kind="parameter" />
    </oms:SignalFilter>
  </oms:file>
</oms:snapshot>

Loading DLL failed: C:\dev\jenkins\ws\OMSimulator_master\testsuite\simulation\import_export_snapshot_lua\import_export_snapshot-wtw0fxc9\temp\0001_add\binaries\win64\Modelica_Blocks_Math_Add.dll
Failed to load functions for FMI 2.info:    fmi2Instantiate() failed
error:   [terminate] Model "import_export_snapshot" is in wrong model state

== 1 out of 1 tests failed [simulation, time: 0]