Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009519/0.0009521, allocations: 177.6 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.5 MB / 230.3 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 100.9 kB / 281.2 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.534e-05, allocations: 0 / 337 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 50.42 MB / 387.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3066/0.4146, allocations: 82.3 MB / 469.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4149, allocations: 83.94 kB / 469.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.44, allocations: 9.443 MB / 479.3 MB, free: 3.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.44, allocations: 0 / 479.3 MB, free: 3.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.44, allocations: 12 kB / 479.3 MB, free: 3.035 MB / 346.7 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.000807/0.4408, allocations: 0.575 MB / 479.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4409, allocations: 12.25 kB / 479.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.441, allocations: 43.44 kB / 479.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.4415, allocations: 322.7 kB / 480.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4415, allocations: 8 kB / 480.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.4415, allocations: 19.94 kB / 480.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002997/0.4418, allocations: 161 kB / 480.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.4422, allocations: 247.2 kB / 480.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4423, allocations: 4 kB / 480.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4423, allocations: 0 / 480.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4423, allocations: 4 kB / 480.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.4436, allocations: 0.8048 MB / 481.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.444, allocations: 239.2 kB / 481.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4442, allocations: 89.41 kB / 481.8 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.4442, allocations: 4.281 kB / 481.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.4444, allocations: 153.4 kB / 482 MB, free: 188 kB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.4445, allocations: 0 / 482 MB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001704/0.4462, allocations: 1.061 MB / 483 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.4463, allocations: 187.9 kB / 483.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.4466, allocations: 273.1 kB / 483.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.4466, allocations: 25.7 kB / 483.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4468, allocations: 184.8 kB / 483.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.4469, allocations: 138 kB / 483.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.4469, allocations: 0 / 483.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.447, allocations: 354.8 kB / 484.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.4472, allocations: 72.88 kB / 484.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.4473, allocations: 164.4 kB / 484.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.4475, allocations: 113.5 kB / 484.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4475, allocations: 0 / 484.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004761/0.448, allocations: 315 kB / 484.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4481, allocations: 4 kB / 484.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4481, allocations: 0 / 484.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.4482, allocations: 28.97 kB / 484.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.4485, allocations: 91.83 kB / 484.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008942/0.4494, allocations: 1.233 MB / 486.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4496, allocations: 8.188 kB / 486.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.4496, allocations: 15.98 kB / 486.2 MB, free: 11.63 MB / 362.7 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.000158/0.4498, allocations: 118.6 kB / 486.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.4498, allocations: 43.48 kB / 486.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.4504, allocations: 306.3 kB / 486.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4505, allocations: 4 kB / 486.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.4505, allocations: 4 kB / 486.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005129/0.451, allocations: 0.6335 MB / 487.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.452, allocations: 0.7826 MB / 488.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.452, allocations: 8.125 kB / 488.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.4523, allocations: 71.97 kB / 488.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.4524, allocations: 8 kB / 488.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4524, allocations: 8 kB / 488.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4524, allocations: 0 / 488.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4524, allocations: 4 kB / 488.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.453, allocations: 0.5593 MB / 488.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.4532, allocations: 144.7 kB / 488.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.4532, allocations: 4 kB / 488.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4534, allocations: 8 kB / 488.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.4535, allocations: 31.95 kB / 488.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.4535, allocations: 12 kB / 488.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.4538, allocations: 208.6 kB / 489.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4538, allocations: 0 / 489.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.4542, allocations: 96.55 kB / 489.2 MB, free: 8.352 MB / 362.7 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.0008257/0.455, allocations: 369.2 kB / 489.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.4555, allocations: 349.5 kB / 489.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4555, allocations: 0 / 489.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.4557, allocations: 124.2 kB / 490 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.4562, allocations: 81.23 kB / 490.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4574, allocations: 0.7788 MB / 490.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4577, allocations: 0.808 MB / 491.7 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.4579, allocations: 47.27 kB / 491.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.458, allocations: 35.42 kB / 491.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.458, allocations: 0 / 491.8 MB, free: 5.785 MB / 362.7 MB Notification: Performance of Templates: time 0.008524/0.4665, allocations: 4.596 MB / 496.4 MB, free: 1.246 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches