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.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.0009881/0.0009881, allocations: 85.95 kB / 23 MB, free: 1.5 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.001058/0.001058, allocations: 180.7 kB / 26.4 MB, free: 7.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 158.6 MB / 188.3 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.051e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005522/0.005552, allocations: 2.965 MB / 255.2 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.007298, allocations: 1.166 MB / 256.4 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.007489, allocations: 7.938 kB / 256.4 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.008027, allocations: 163 kB / 256.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.008572, allocations: 198.7 kB / 256.7 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.008917, allocations: 151.5 kB / 256.9 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.009398, allocations: 449.8 kB / 257.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.009565, allocations: 67.95 kB / 257.4 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.009857, allocations: 263.3 kB / 257.6 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.01007, allocations: 155.5 kB / 257.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.01011, allocations: 32 kB / 257.8 MB, free: 1.637 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.01024, allocations: 63.98 kB / 257.9 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.01032, allocations: 83.69 kB / 258 MB, free: 1.488 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.01043, allocations: 131.6 kB / 258.1 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.01081, allocations: 326.8 kB / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01082, allocations: 0 / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01082, allocations: 0 / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.01083, allocations: 0 / 258.4 MB, free: 1.039 MB / 234.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.0008619/0.01169, allocations: 0.7419 MB / 259.2 MB, free: 268 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.01173, allocations: 15.98 kB / 259.2 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.01182, allocations: 68.66 kB / 259.2 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.01214, allocations: 256.6 kB / 259.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.01217, allocations: 16.88 kB / 259.5 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.01221, allocations: 28.38 kB / 259.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.0126, allocations: 491.6 kB / 260 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.01262, allocations: 11.92 kB / 260 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.01264, allocations: 8 kB / 260 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.01265, allocations: 8 kB / 260 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.01307, allocations: 87.39 kB / 260.1 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.0139, allocations: 0.6919 MB / 260.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.01417, allocations: 172.4 kB / 261 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.01423, allocations: 56.22 kB / 261 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.01425, allocations: 8.266 kB / 261.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.01444, allocations: 233.3 kB / 261.3 MB, free: 13.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.01444, allocations: 4 kB / 261.3 MB, free: 13.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001162/0.0156, allocations: 0.8491 MB / 262.1 MB, free: 13.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.01567, allocations: 183.9 kB / 262.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01587, allocations: 354.1 kB / 262.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.0159, allocations: 37.7 kB / 262.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.01602, allocations: 247.4 kB / 262.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.01611, allocations: 142.8 kB / 263.1 MB, free: 12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.01619, allocations: 83.78 kB / 263.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.01634, allocations: 0.5273 MB / 263.7 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.0164, allocations: 40.95 kB / 263.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.01656, allocations: 286.6 kB / 264 MB, free: 10.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.01672, allocations: 168.3 kB / 264.2 MB, free: 10.79 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01672, allocations: 4 kB / 264.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003389/0.01706, allocations: 273.6 kB / 264.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.01708, allocations: 7.938 kB / 264.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01708, allocations: 0 / 264.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.054e-05/0.01715, allocations: 23.62 kB / 264.5 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.01735, allocations: 87.89 kB / 264.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.01821, allocations: 1.717 MB / 266.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.01833, allocations: 15.94 kB / 266.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.01834, allocations: 12 kB / 266.3 MB, free: 8.527 MB / 250.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.0001316/0.01848, allocations: 184.4 kB / 266.5 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.01854, allocations: 59.66 kB / 266.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.01884, allocations: 260.6 kB / 266.8 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01885, allocations: 8.094 kB / 266.8 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01885, allocations: 0 / 266.8 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006002/0.01945, allocations: 0.5904 MB / 267.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.02011, allocations: 0.6725 MB / 268.1 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.02011, allocations: 4 kB / 268.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.0203, allocations: 75.89 kB / 268.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.02031, allocations: 0 / 268.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.02032, allocations: 16.12 kB / 268.2 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.02033, allocations: 4 kB / 268.2 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.02033, allocations: 7.938 kB / 268.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.02074, allocations: 499.7 kB / 268.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.02084, allocations: 63.67 kB / 268.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.02088, allocations: 11.98 kB / 268.7 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.02099, allocations: 12 kB / 268.7 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.02105, allocations: 35.83 kB / 268.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.02107, allocations: 11.98 kB / 268.8 MB, free: 5.816 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.02121, allocations: 238.9 kB / 269 MB, free: 5.586 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02121, allocations: 0 / 269 MB, free: 5.586 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.02152, allocations: 92 kB / 269.1 MB, free: 5.496 MB / 250.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.0008455/0.02237, allocations: 408.1 kB / 269.5 MB, free: 5.145 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.02283, allocations: 353.8 kB / 269.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.02284, allocations: 0 / 269.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.02295, allocations: 103.4 kB / 270 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.02334, allocations: 101.5 kB / 270.1 MB, free: 4.574 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.02479, allocations: 0.8867 MB / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.02487, allocations: 109.8 kB / 271.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000156/0.02502, allocations: 43.25 kB / 271.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.02527, allocations: 198.1 kB / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of SimCode: time 1.453e-06/0.02527, allocations: 0 / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of Templates: time 0.009244/0.03452, allocations: 6.127 MB / 277.4 MB, free: 13.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.985845875926316]