Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 93.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.736e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.459, allocations: 81.22 MB / 443.5 MB, free: 5.078 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4593, allocations: 75.95 kB / 443.6 MB, free: 5.004 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0439/0.5032, allocations: 9.466 MB / 453.1 MB, free: 11.57 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5032, allocations: 0 / 453.1 MB, free: 11.57 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.51e-05/0.5033, allocations: 11.98 kB / 453.1 MB, free: 11.56 MB / 347.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.001133/0.5044, allocations: 0.5882 MB / 453.7 MB, free: 10.93 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5045, allocations: 12.03 kB / 453.7 MB, free: 10.92 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.5046, allocations: 47.48 kB / 453.7 MB, free: 10.88 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.5053, allocations: 316.3 kB / 454 MB, free: 10.52 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.5054, allocations: 8 kB / 454.1 MB, free: 10.51 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.5054, allocations: 20.22 kB / 454.1 MB, free: 10.49 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004764/0.5059, allocations: 157 kB / 454.2 MB, free: 10.34 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.5065, allocations: 250 kB / 454.5 MB, free: 10.07 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5065, allocations: 6.141 kB / 454.5 MB, free: 10.07 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.5066, allocations: 3.984 kB / 454.5 MB, free: 10.06 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5066, allocations: 11.95 kB / 454.5 MB, free: 10.05 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.5085, allocations: 0.8009 MB / 455.3 MB, free: 9.195 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.5092, allocations: 240 kB / 455.5 MB, free: 8.953 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.5095, allocations: 89.41 kB / 455.6 MB, free: 8.863 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.5095, allocations: 4.281 kB / 455.6 MB, free: 8.859 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.5099, allocations: 141.6 kB / 455.8 MB, free: 8.711 MB / 347.1 MB Notification: Performance of pre-optimization done (n=34): time 2.435e-06/0.5099, allocations: 4 kB / 455.8 MB, free: 8.707 MB / 347.1 MB Notification: Performance of matching and sorting (n=40): time 0.002623/0.5125, allocations: 1.052 MB / 456.8 MB, free: 7.559 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.5127, allocations: 183.9 kB / 457 MB, free: 7.336 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.5132, allocations: 293.1 kB / 457.3 MB, free: 7.043 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.5132, allocations: 25.7 kB / 457.3 MB, free: 7.012 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.5134, allocations: 247.2 kB / 457.6 MB, free: 6.77 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5136, allocations: 130 kB / 457.7 MB, free: 6.641 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.5136, allocations: 0 / 457.7 MB, free: 6.641 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5137, allocations: 330.8 kB / 458 MB, free: 6.309 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.514, allocations: 84.81 kB / 458.1 MB, free: 6.227 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.5143, allocations: 164.4 kB / 458.2 MB, free: 6.031 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.5146, allocations: 101.6 kB / 458.3 MB, free: 5.934 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5146, allocations: 4 kB / 458.3 MB, free: 5.93 MB / 347.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000767/0.5154, allocations: 303 kB / 458.6 MB, free: 5.625 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5154, allocations: 10.28 kB / 458.7 MB, free: 5.617 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.5155, allocations: 0 / 458.7 MB, free: 5.617 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.5156, allocations: 20.84 kB / 458.7 MB, free: 5.594 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.5162, allocations: 83.91 kB / 458.8 MB, free: 5.512 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.5174, allocations: 1.245 MB / 460 MB, free: 4.152 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.5177, allocations: 7.938 kB / 460 MB, free: 4.145 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.5178, allocations: 12 kB / 460 MB, free: 4.133 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cylinder1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.518, allocations: 122.6 kB / 460.1 MB, free: 4.008 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/0.5181, allocations: 38.06 kB / 460.2 MB, free: 3.973 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.5189, allocations: 310.4 kB / 460.5 MB, free: 3.66 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5189, allocations: 8 kB / 460.5 MB, free: 3.652 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.5189, allocations: 3.938 kB / 460.5 MB, free: 3.648 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007569/0.5197, allocations: 0.6332 MB / 461.1 MB, free: 2.91 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.5214, allocations: 0.79 MB / 461.9 MB, free: 2.066 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5214, allocations: 7.984 kB / 461.9 MB, free: 2.059 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.522, allocations: 75.91 kB / 462 MB, free: 1.984 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.522, allocations: 4 kB / 462 MB, free: 1.98 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.5221, allocations: 7.953 kB / 462 MB, free: 1.973 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.5221, allocations: 0 / 462 MB, free: 1.973 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5221, allocations: 4 kB / 462 MB, free: 1.969 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.5231, allocations: 0.5793 MB / 462.6 MB, free: 1.336 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.5234, allocations: 144.8 kB / 462.7 MB, free: 1.176 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.5235, allocations: 8 kB / 462.7 MB, free: 1.168 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.5238, allocations: 4 kB / 462.7 MB, free: 1.164 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.5239, allocations: 31.91 kB / 462.8 MB, free: 1.133 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.5239, allocations: 12 kB / 462.8 MB, free: 1.121 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.5243, allocations: 236.6 kB / 463 MB, free: 0.8867 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5243, allocations: 4 kB / 463 MB, free: 0.8828 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.5249, allocations: 88.56 kB / 463.1 MB, free: 0.7969 MB / 347.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.526, allocations: 373.6 kB / 463.5 MB, free: 492 kB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.5268, allocations: 333.6 kB / 463.8 MB, free: 148 kB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5268, allocations: 0 / 463.8 MB, free: 148 kB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.5271, allocations: 123.9 kB / 463.9 MB, free: 24 kB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.5278, allocations: 65.69 kB / 464 MB, free: 15.96 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.5298, allocations: 0.836 MB / 464.8 MB, free: 15.07 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.5303, allocations: 0.8236 MB / 465.6 MB, free: 14.22 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5304, allocations: 31.44 kB / 465.7 MB, free: 14.19 MB / 363.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5304, allocations: 0 / 465.7 MB, free: 14.19 MB / 363.1 MB Notification: Performance of Templates: time 0.01283/0.5433, allocations: 5.646 MB / 471.3 MB, free: 8.562 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches