Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007668/0.0007669, allocations: 93.25 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007717/0.0007719, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 8 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09078, allocations: 47.58 MB / 329 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002898/0.09371, allocations: 2.663 MB / 331.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.09534, allocations: 1.096 MB / 332.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.0955, allocations: 4 kB / 332.8 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.09596, allocations: 147.4 kB / 333 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.09634, allocations: 167.1 kB / 333.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.09667, allocations: 123.8 kB / 333.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.0971, allocations: 418.1 kB / 333.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.09728, allocations: 103 kB / 333.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.09747, allocations: 155.3 kB / 333.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.09769, allocations: 183.2 kB / 334.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.09774, allocations: 20 kB / 334.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.09787, allocations: 55.98 kB / 334.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.09797, allocations: 79.61 kB / 334.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.09814, allocations: 196.7 kB / 334.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.09858, allocations: 438.3 kB / 334.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09859, allocations: 0 / 334.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0986, allocations: 0 / 334.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.09861, allocations: 0 / 334.9 MB, free: 13.83 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009043/0.09952, allocations: 0.6167 MB / 335.5 MB, free: 13.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.09957, allocations: 12.03 kB / 335.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.09972, allocations: 71.19 kB / 335.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.09981, allocations: 44.47 kB / 335.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.1002, allocations: 328.3 kB / 335.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.1003, allocations: 20.94 kB / 335.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.1003, allocations: 39.92 kB / 336 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.1008, allocations: 299.1 kB / 336.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1008, allocations: 11.88 kB / 336.3 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.1009, allocations: 12 kB / 336.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1009, allocations: 8 kB / 336.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.1012, allocations: 186.1 kB / 336.5 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1025, allocations: 0.8794 MB / 337.4 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.103, allocations: 267.7 kB / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1032, allocations: 97.39 kB / 337.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1032, allocations: 4.281 kB / 337.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.1035, allocations: 172.8 kB / 337.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.1036, allocations: 0 / 337.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002247/0.1058, allocations: 1.323 MB / 339.2 MB, free: 9.145 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.1059, allocations: 183.9 kB / 339.4 MB, free: 8.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.1063, allocations: 352.5 kB / 339.7 MB, free: 8.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1063, allocations: 41.7 kB / 339.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1065, allocations: 188.6 kB / 340 MB, free: 8.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.1066, allocations: 141.9 kB / 340.1 MB, free: 8.195 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.1066, allocations: 37.7 kB / 340.1 MB, free: 8.152 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1068, allocations: 354.7 kB / 340.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1069, allocations: 88.83 kB / 340.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1072, allocations: 181.3 kB / 340.7 MB, free: 7.496 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.1075, allocations: 242.2 kB / 341 MB, free: 7.246 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1076, allocations: 7.938 kB / 341 MB, free: 7.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005438/0.1081, allocations: 354.3 kB / 341.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1081, allocations: 4 kB / 341.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1081, allocations: 0 / 341.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-05/0.1082, allocations: 24.84 kB / 341.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.1086, allocations: 91.83 kB / 341.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009372/0.1095, allocations: 1.292 MB / 342.7 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.1097, allocations: 12 kB / 342.8 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1097, allocations: 24.14 kB / 342.8 MB, free: 5.301 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.1099, allocations: 157.8 kB / 342.9 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.11, allocations: 43.53 kB / 343 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.645e-05/0.1101, allocations: 47.94 kB / 343 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1101, allocations: 11.92 kB / 343 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1101, allocations: 3.938 kB / 343 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005977/0.1107, allocations: 0.657 MB / 343.7 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1118, allocations: 0.8602 MB / 344.6 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1118, allocations: 0 / 344.6 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1121, allocations: 79.97 kB / 344.6 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1121, allocations: 4 kB / 344.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1122, allocations: 12.12 kB / 344.7 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.1122, allocations: 7.984 kB / 344.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1122, allocations: 0 / 344.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.1129, allocations: 0.5457 MB / 345.2 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.113, allocations: 140.7 kB / 345.3 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1131, allocations: 8 kB / 345.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.1133, allocations: 20 kB / 345.4 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1134, allocations: 27.95 kB / 345.4 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1134, allocations: 8 kB / 345.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.1136, allocations: 259 kB / 345.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1136, allocations: 0 / 345.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000369/0.114, allocations: 100 kB / 345.8 MB, free: 2.09 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00181/0.1158, allocations: 1.392 MB / 347.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.1165, allocations: 374.2 kB / 347.5 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.1165, allocations: 4 kB / 347.5 MB, free: 296 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1167, allocations: 135.8 kB / 347.6 MB, free: 160 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1173, allocations: 105.6 kB / 347.8 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.1222, allocations: 3.953 MB / 351.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.1227, allocations: 0.8079 MB / 352.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.1229, allocations: 51.09 kB / 352.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.1231, allocations: 131.4 kB / 352.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.213e-06/0.1231, allocations: 0 / 352.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1449, allocations: 8.629 MB / 361.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.1452, allocations: 269.3 kB / 361.6 MB, free: 1.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.102, allocations: 0 / 361.6 MB, free: 1.93 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches