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: 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_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_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.002544/0.002544, allocations: 185.2 kB / 19.33 MB, free: 3.762 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.854/1.854, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001499/0.001499, allocations: 47.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1179, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.007753/0.1257, allocations: 2.984 MB / 378.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.1294, allocations: 1.197 MB / 380 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.13, allocations: 7.938 kB / 380 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.131, allocations: 171.1 kB / 380.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.1321, allocations: 182.9 kB / 380.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3134/0.4455, allocations: 143.6 kB / 380.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009581/0.4465, allocations: 448.1 kB / 380.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.4468, allocations: 105.1 kB / 381 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.4472, allocations: 178.3 kB / 381.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.4475, allocations: 201.6 kB / 381.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.4476, allocations: 30.97 kB / 381.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.4479, allocations: 70.58 kB / 381.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.4481, allocations: 84.52 kB / 381.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.4484, allocations: 185.2 kB / 381.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.4493, allocations: 465 kB / 382.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4493, allocations: 1.984 kB / 382.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4493, allocations: 0 / 382.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.4493, allocations: 0 / 382.2 MB, free: 9.586 MB / 318.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.001491/0.4508, allocations: 0.6812 MB / 382.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/0.4509, allocations: 10.84 kB / 382.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.4511, allocations: 47.41 kB / 382.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.4518, allocations: 324.2 kB / 383.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.4519, allocations: 22.16 kB / 383.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.452, allocations: 25.5 kB / 383.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.4528, allocations: 296.3 kB / 383.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.4529, allocations: 4.031 kB / 383.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.4529, allocations: 11.28 kB / 383.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.4529, allocations: 11.17 kB / 383.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.4535, allocations: 182.8 kB / 383.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.4555, allocations: 0.829 MB / 384.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.4564, allocations: 257.4 kB / 384.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.4567, allocations: 101 kB / 385 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.4568, allocations: 5.25 kB / 385 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.4573, allocations: 165.7 kB / 385.1 MB, free: 8.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 4.929e-06/0.4573, allocations: 4 kB / 385.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.003868/0.4612, allocations: 1.316 MB / 386.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.4613, allocations: 194.9 kB / 386.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.4622, allocations: 347.4 kB / 387 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.4623, allocations: 37.22 kB / 387 MB, free: 7.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.4625, allocations: 186.4 kB / 387.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.4627, allocations: 138.6 kB / 387.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.4629, allocations: 73.11 kB / 387.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4631, allocations: 347.6 kB / 387.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.4634, allocations: 87.95 kB / 387.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.4638, allocations: 185.7 kB / 388 MB, free: 6.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.4645, allocations: 246.4 kB / 388.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4646, allocations: 0 / 388.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001164/0.4657, allocations: 359.2 kB / 388.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.4658, allocations: 5.406 kB / 388.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4658, allocations: 4.875 kB / 388.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.466, allocations: 21.7 kB / 388.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.4666, allocations: 92.41 kB / 388.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.4681, allocations: 1.386 MB / 390.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.4685, allocations: 22.95 kB / 390.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.4686, allocations: 13.56 kB / 390.2 MB, free: 4.523 MB / 318.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.0003665/0.469, allocations: 173.8 kB / 390.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4691, allocations: 35.98 kB / 390.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.4693, allocations: 46.75 kB / 390.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4693, allocations: 7.312 kB / 390.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4693, allocations: 4.828 kB / 390.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009197/0.4702, allocations: 0.6667 MB / 391.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.4724, allocations: 0.8472 MB / 391.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4724, allocations: 2 kB / 391.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.473, allocations: 83.67 kB / 392 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.4731, allocations: 2.844 kB / 392 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.4731, allocations: 8.906 kB / 392 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.4731, allocations: 3.406 kB / 392 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4732, allocations: 1.312 kB / 392 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4745, allocations: 0.5562 MB / 392.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.4748, allocations: 134.3 kB / 392.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.475, allocations: 13.08 kB / 392.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.4755, allocations: 18.34 kB / 392.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.4756, allocations: 29.58 kB / 392.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.4757, allocations: 9.406 kB / 392.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005443/0.4763, allocations: 259.6 kB / 393 MB, free: 2.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4763, allocations: 0 / 393 MB, free: 2.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000985/0.4773, allocations: 94.97 kB / 393.1 MB, free: 2.547 MB / 318.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.00164/0.4789, allocations: 418.6 kB / 393.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.4802, allocations: 376.3 kB / 393.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.4802, allocations: 5.594 kB / 393.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.4807, allocations: 134.5 kB / 394.1 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4818, allocations: 103.7 kB / 394.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.4848, allocations: 1.061 MB / 395.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.4854, allocations: 0.814 MB / 396 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.4856, allocations: 39.55 kB / 396.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4856, allocations: 0 / 396.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of Templates: time 0.01855/0.5042, allocations: 5.76 MB / 401.8 MB, free: 15.38 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches