Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009829/0.0009829, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003194/0.004177, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002841/0.003917, allocations: 475.5 kB / 11.67 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9184/0.9184, allocations: 177.1 MB / 189.5 MB, free: 3.609 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1464/1.065, allocations: 53.74 MB / 243.3 MB, free: 2.086 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_FirstExample",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_FirstExample",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 244.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.499e-05, allocations: 4.562 kB / 244.5 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.002098/0.002113, allocations: 1.56 MB / 246 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004546/0.002568, allocations: 287 kB / 246.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.002637, allocations: 7.938 kB / 246.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.475e-05/0.002711, allocations: 24.64 kB / 246.3 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.005748, allocations: 16.34 kB / 246.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.006035, allocations: 124.2 kB / 246.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.006306, allocations: 269.5 kB / 246.7 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.006513, allocations: 127.5 kB / 246.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.006638, allocations: 131.7 kB / 247 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.006755, allocations: 72.27 kB / 247.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.006785, allocations: 25.22 kB / 247.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.006847, allocations: 31.88 kB / 247.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.006897, allocations: 47.86 kB / 247.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.006958, allocations: 54.78 kB / 247.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.007157, allocations: 147.4 kB / 247.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.007168, allocations: 3.984 kB / 247.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007169, allocations: 0 / 247.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.007181, allocations: 0 / 247.4 MB, free: 14.02 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0004878/0.007669, allocations: 383.4 kB / 247.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.007701, allocations: 12.03 kB / 247.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.007763, allocations: 63.58 kB / 247.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.007967, allocations: 122 kB / 247.9 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.008135, allocations: 151.1 kB / 248.1 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.008165, allocations: 20.88 kB / 248.1 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.008194, allocations: 28.36 kB / 248.1 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.008435, allocations: 188 kB / 248.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.008448, allocations: 5 kB / 248.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.008464, allocations: 12.36 kB / 248.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.008474, allocations: 12.12 kB / 248.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.466e-05/0.008568, allocations: 57.56 kB / 248.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.0122, allocations: 0.5073 MB / 248.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.01237, allocations: 114.4 kB / 249 MB, free: 12.24 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01247, allocations: 40.84 kB / 249.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.01249, allocations: 4.688 kB / 249.1 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.01261, allocations: 95.78 kB / 249.2 MB, free: 12.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.01261, allocations: 0 / 249.2 MB, free: 12.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0001862/0.01279, allocations: 133.4 kB / 249.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.01283, allocations: 55.41 kB / 249.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.01292, allocations: 162.4 kB / 249.5 MB, free: 11.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.01294, allocations: 38.45 kB / 249.5 MB, free: 11.67 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.013, allocations: 124.9 kB / 249.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.01305, allocations: 71.06 kB / 249.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.01312, allocations: 81.91 kB / 249.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.01321, allocations: 326.8 kB / 250.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.01325, allocations: 24.64 kB / 250.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.01333, allocations: 100.1 kB / 250.3 MB, free: 10.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.01345, allocations: 123.4 kB / 250.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01345, allocations: 5.562 kB / 250.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001852/0.01364, allocations: 166.1 kB / 250.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.01365, allocations: 4.219 kB / 250.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01366, allocations: 8 kB / 250.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01367, allocations: 3.938 kB / 250.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.01379, allocations: 43.86 kB / 250.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.0138, allocations: 4 kB / 250.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.01387, allocations: 31.77 kB / 250.6 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01388, allocations: 12 kB / 250.6 MB, free: 10.5 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,step.active,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,transition1.condition,transition2.condition,stateGraphRoot.suspend,stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.01397, allocations: 133.7 kB / 250.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.01399, allocations: 19.98 kB / 250.8 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.01414, allocations: 16.94 kB / 250.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.01414, allocations: 11.94 kB / 250.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01415, allocations: 3.984 kB / 250.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01415, allocations: 3.984 kB / 250.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.01752, allocations: 375.5 kB / 251.2 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01752, allocations: 0 / 251.2 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.01759, allocations: 19.98 kB / 251.2 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01759, allocations: 0 / 251.2 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.0176, allocations: 8 kB / 251.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0176, allocations: 0 / 251.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0176, allocations: 0 / 251.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.01774, allocations: 219 kB / 251.4 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.01776, allocations: 15.84 kB / 251.5 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.01777, allocations: 4 kB / 251.5 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.01784, allocations: 11.98 kB / 251.5 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.01788, allocations: 15.97 kB / 251.5 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01789, allocations: 8 kB / 251.5 MB, free: 9.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.01791, allocations: 24.2 kB / 251.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01791, allocations: 0 / 251.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01814, allocations: 43.95 kB / 251.6 MB, free: 9.523 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (transition2.enableFire,step.active,transition1.enableFire,initialStep.active,$whenCondition2,$whenCondition1,initialStep.localActive,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.localActive,step.newActive,step.oldActive,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.01833, allocations: 0.5485 MB / 252.1 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.0185, allocations: 124.5 kB / 252.2 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.0185, allocations: 0 / 252.2 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.01857, allocations: 57.59 kB / 252.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01875, allocations: 27.92 kB / 252.3 MB, free: 8.746 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01982, allocations: 1.136 MB / 253.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.072e-05/0.01987, allocations: 79.98 kB / 253.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.01993, allocations: 25.94 kB / 253.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.02005, allocations: 115.3 kB / 253.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of SimCode: time 3.21e-07/0.02005, allocations: 3.938 kB / 253.7 MB, free: 7.289 MB / 250.7 MB Notification: FMU-only work: backend 0.0001151, simCode 0.000589, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0998/0.1199, allocations: 6.105 MB / 259.8 MB, free: 1.41 MB / 250.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.659/2.778, allocations: 20.41 kB / 259.8 MB, free: 1.395 MB / 250.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_fmu --startTime=0 --stopTime=5.5 --stepSize=0.00109737 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_StateGraph_Examples_FirstExample.fmu) > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5.5 --stepSize=0.00109737 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5.5 --stepSize=0.00109737 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv --output-variables transition1.enableFire transition2.enableFire --start-time 0 --stop-time 5.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00109737 ../Modelica_trunk_Modelica_StateGraph_Examples_FirstExample.fmu) > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv: Error: Error opening file: Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result: filterSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.ref.mat: "" (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5.5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.00109737 ../Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transition1.enableFire in file Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable transition1.enableFire from file Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable transition2.enableFire in file Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable transition2.enableFire from file Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result:time,stateGraphRoot.subgraphStatePort.activeSteps,stateGraphRoot.subgraphStatePort.activeStepsDummy,transition1.t,transition2.t filterSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.diff.mat", vars={"transition2.enableFire", "transition1.enableFire"}, removeDescription=false) [Timeout 660] "Error: Could not read variable transition2.enableFire in file Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"transition2.enableFire", "transition1.enableFire"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.398753254674375]