Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002607/0.002607, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003235/0.003235, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.703/1.703, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.425e-05, allocations: 6.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004989/0.005014, allocations: 3.002 MB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.007766, allocations: 1.371 MB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.007916, allocations: 11.94 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.008381, allocations: 135.1 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007818/0.009162, allocations: 226.5 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.009505, allocations: 147.4 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.0101, allocations: 457.8 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.01028, allocations: 76.3 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.01064, allocations: 251.4 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.01091, allocations: 147.6 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.01097, allocations: 32 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.01112, allocations: 63.86 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.01124, allocations: 83.67 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01142, allocations: 131.6 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.01207, allocations: 458.4 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01208, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01208, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.01208, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.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.001223/0.01331, allocations: 0.7341 MB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01334, allocations: 12.03 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.01348, allocations: 64.66 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.01393, allocations: 268.4 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.01397, allocations: 16.88 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.01402, allocations: 32.31 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.01475, allocations: 0.5381 MB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.01478, allocations: 7.938 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.01481, allocations: 12 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.01482, allocations: 4 kB / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.01518, allocations: 169.9 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.01674, allocations: 0.8241 MB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.01735, allocations: 260.4 kB / 281.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.01755, allocations: 93.06 kB / 281.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.01759, allocations: 8.281 kB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.01799, allocations: 274.2 kB / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.01799, allocations: 0 / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002598/0.02059, allocations: 1.126 MB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.02073, allocations: 191.9 kB / 283.4 MB, free: 6.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/0.02146, allocations: 414.3 kB / 283.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.0215, allocations: 29.7 kB / 283.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.02173, allocations: 255.5 kB / 284.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.02189, allocations: 150.8 kB / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.02203, allocations: 87.84 kB / 284.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003393/0.02237, allocations: 0.5391 MB / 284.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.02257, allocations: 84.97 kB / 285 MB, free: 4.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.02299, allocations: 338.7 kB / 285.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.02348, allocations: 280.3 kB / 285.6 MB, free: 4.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.02349, allocations: 0 / 285.6 MB, free: 4.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006926/0.02418, allocations: 373.3 kB / 286 MB, free: 3.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.0242, allocations: 4 kB / 286 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.02421, allocations: 7.938 kB / 286 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.02431, allocations: 23.67 kB / 286 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.02468, allocations: 91.91 kB / 286.1 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.02639, allocations: 1.798 MB / 287.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.02658, allocations: 12 kB / 287.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.02661, allocations: 12 kB / 287.9 MB, free: 1.59 MB / 266.7 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.0002323/0.02685, allocations: 204.5 kB / 288.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.02694, allocations: 55.7 kB / 288.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.02764, allocations: 344.8 kB / 288.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.02764, allocations: 8 kB / 288.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.02764, allocations: 0 / 288.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008039/0.02845, allocations: 0.6567 MB / 289.2 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.02989, allocations: 0.8555 MB / 290 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0299, allocations: 0 / 290 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.03027, allocations: 75.91 kB / 290.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.03027, allocations: 4 kB / 290.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.0303, allocations: 12.11 kB / 290.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.03031, allocations: 11.94 kB / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.03031, allocations: 0 / 290.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.03129, allocations: 0.6246 MB / 290.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.03165, allocations: 59.73 kB / 290.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.0317, allocations: 15.98 kB / 290.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.03194, allocations: 19.94 kB / 290.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.03201, allocations: 19.95 kB / 290.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.03205, allocations: 19.98 kB / 290.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000333/0.03238, allocations: 275 kB / 291.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03238, allocations: 4 kB / 291.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.0328, allocations: 95.94 kB / 291.2 MB, free: 14.03 MB / 282.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) * Number of clocked states: 0 () * 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 (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.002994/0.03579, allocations: 454.8 kB / 291.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007925/0.03658, allocations: 446.8 kB / 292.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.03659, allocations: 4 kB / 292.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.03687, allocations: 147.9 kB / 292.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.03748, allocations: 104.9 kB / 292.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.03917, allocations: 0.9101 MB / 293.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.0394, allocations: 199.7 kB / 293.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.03957, allocations: 47.27 kB / 293.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.03966, allocations: 44.48 kB / 293.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.03966, allocations: 0 / 293.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01307/0.05274, allocations: 5.564 MB / 299.1 MB, free: 6.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8597367339534685]