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.0009105/0.0009105, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009204/0.0009204, allocations: 162.7 kB / 25.7 MB, free: 8.406 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 0.9465/0.9465, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.383e-06/1.383e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.554e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003075/0.00309, allocations: 3.028 MB / 254.6 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.004613, allocations: 1.196 MB / 255.8 MB, free: 2.988 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.004745, allocations: 11.94 kB / 255.8 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.00514, allocations: 159.1 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.005462, allocations: 186.8 kB / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.005703, allocations: 155.5 kB / 256.3 MB, free: 2.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.006061, allocations: 457.8 kB / 256.7 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.0062, allocations: 78.52 kB / 256.8 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.006412, allocations: 251.5 kB / 257 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.006604, allocations: 155.6 kB / 257.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.006645, allocations: 28 kB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.006752, allocations: 71.86 kB / 257.3 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.006825, allocations: 87.61 kB / 257.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.006922, allocations: 123.7 kB / 257.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.007479, allocations: 318.8 kB / 257.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.007484, allocations: 4 kB / 257.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007485, allocations: 4 kB / 257.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.007491, allocations: 0 / 257.8 MB, free: 0.9297 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.0007061/0.008197, allocations: 0.5977 MB / 258.4 MB, free: 316 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.008233, allocations: 15.98 kB / 258.4 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.008304, allocations: 48.89 kB / 258.5 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.008588, allocations: 237.7 kB / 258.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.008615, allocations: 20.81 kB / 258.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.008653, allocations: 32.33 kB / 258.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.008994, allocations: 473.5 kB / 259.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.009011, allocations: 7.938 kB / 259.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.00903, allocations: 12 kB / 259.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.009037, allocations: 7.938 kB / 259.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.009149, allocations: 82.27 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.00985, allocations: 0.5334 MB / 259.9 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.0101, allocations: 198.5 kB / 260.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.01016, allocations: 49.39 kB / 260.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.01018, allocations: 4.281 kB / 260.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.01036, allocations: 238.5 kB / 260.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.01036, allocations: 4 kB / 260.4 MB, free: 14.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001156/0.01152, allocations: 0.8098 MB / 261.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.01159, allocations: 195.8 kB / 261.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.01177, allocations: 292.6 kB / 261.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01179, allocations: 33.7 kB / 261.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.01186, allocations: 157.3 kB / 261.8 MB, free: 12.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.01194, allocations: 146.8 kB / 262 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.01202, allocations: 82.05 kB / 262.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.01211, allocations: 350.7 kB / 262.4 MB, free: 12 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.01216, allocations: 35.81 kB / 262.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.01229, allocations: 266.3 kB / 262.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01244, allocations: 152.9 kB / 262.8 MB, free: 11.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01244, allocations: 0 / 262.8 MB, free: 11.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002113/0.01265, allocations: 209 kB / 263 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01267, allocations: 8 kB / 263.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01267, allocations: 8.109 kB / 263.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.192e-05/0.01272, allocations: 12.86 kB / 263.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.01305, allocations: 119.5 kB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/0.01367, allocations: 1.162 MB / 264.4 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.01377, allocations: 15.94 kB / 264.4 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01378, allocations: 8 kB / 264.4 MB, free: 9.855 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.0001094/0.01389, allocations: 140.5 kB / 264.5 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.01393, allocations: 43.89 kB / 264.6 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.01415, allocations: 202 kB / 264.8 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01415, allocations: 4 kB / 264.8 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01416, allocations: 0 / 264.8 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002471/0.0144, allocations: 0.5397 MB / 265.3 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.01491, allocations: 0.5411 MB / 265.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01491, allocations: 0 / 265.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.01513, allocations: 91.88 kB / 265.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.01513, allocations: 7.984 kB / 265.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01515, allocations: 12 kB / 265.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01515, allocations: 8.047 kB / 266 MB, free: 8.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01515, allocations: 8 kB / 266 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01544, allocations: 411.4 kB / 266.4 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.0155, allocations: 47.69 kB / 266.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01553, allocations: 8 kB / 266.4 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.01563, allocations: 23.92 kB / 266.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.01567, allocations: 23.95 kB / 266.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.01569, allocations: 8 kB / 266.5 MB, free: 7.559 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.0158, allocations: 127.4 kB / 266.6 MB, free: 7.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0158, allocations: 4 kB / 266.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01604, allocations: 92 kB / 266.7 MB, free: 7.336 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.001128/0.01717, allocations: 0.5257 MB / 267.2 MB, free: 6.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.01748, allocations: 287.5 kB / 267.5 MB, free: 6.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.01749, allocations: 4 kB / 267.5 MB, free: 6.555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.01758, allocations: 101 kB / 267.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01788, allocations: 92.97 kB / 267.7 MB, free: 6.363 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01904, allocations: 0.8057 MB / 268.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.0191, allocations: 105.8 kB / 268.6 MB, free: 5.387 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.01922, allocations: 51.23 kB / 268.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.01943, allocations: 165.2 kB / 268.8 MB, free: 5.176 MB / 250.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01944, allocations: 0 / 268.8 MB, free: 5.176 MB / 250.7 MB Notification: Performance of Templates: time 0.008124/0.02756, allocations: 6.249 MB / 275.1 MB, free: 14.91 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 -s gbode -gbm=radauIIA3 -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.7524158409796655]