Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 86.41 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 159.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.773e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004483/0.00451, allocations: 2.82 MB / 327.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.007023, allocations: 1.342 MB / 329.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.007176, allocations: 7.531 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.007653, allocations: 152.3 kB / 329.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.008208, allocations: 218.3 kB / 329.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.008569, allocations: 144.6 kB / 329.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000584/0.009153, allocations: 460 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.009347, allocations: 79.33 kB / 330.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.009712, allocations: 250.2 kB / 330.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.009982, allocations: 149.9 kB / 330.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.01004, allocations: 29.31 kB / 330.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.01019, allocations: 57.7 kB / 330.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.01032, allocations: 84.28 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.01049, allocations: 125.6 kB / 330.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.01109, allocations: 460.3 kB / 331.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.0111, allocations: 1.094 kB / 331.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0111, allocations: 0 / 331.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.0111, allocations: 4 kB / 331.3 MB, free: 12.57 MB / 302.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.001141/0.01225, allocations: 0.6131 MB / 331.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.01229, allocations: 13.73 kB / 332 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.01239, allocations: 46.34 kB / 332 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.01288, allocations: 258.5 kB / 332.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.01291, allocations: 23.66 kB / 332.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.01297, allocations: 28.66 kB / 332.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.01364, allocations: 0.5095 MB / 332.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.01366, allocations: 1.406 kB / 332.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.01369, allocations: 15.91 kB / 332.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.0137, allocations: 10.31 kB / 332.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.01405, allocations: 179.6 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.0154, allocations: 0.7091 MB / 333.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.016, allocations: 248.9 kB / 334 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.01618, allocations: 91.86 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.0162, allocations: 7.875 kB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.01659, allocations: 266.2 kB / 334.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.01659, allocations: 0 / 334.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002445/0.01904, allocations: 1.106 MB / 335.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.01917, allocations: 197.2 kB / 335.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.01955, allocations: 338 kB / 336 MB, free: 9.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.0196, allocations: 32.14 kB / 336 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.01976, allocations: 190.4 kB / 336.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.01989, allocations: 143.6 kB / 336.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.02001, allocations: 75.38 kB / 336.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.02018, allocations: 352 kB / 336.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.02039, allocations: 89.09 kB / 336.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.02074, allocations: 314.8 kB / 337.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.02119, allocations: 246.9 kB / 337.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.02119, allocations: 0 / 337.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006164/0.02181, allocations: 358 kB / 337.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.02182, allocations: 9.719 kB / 337.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02183, allocations: 5.078 kB / 337.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.76e-05/0.02192, allocations: 18.11 kB / 337.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.02228, allocations: 94.61 kB / 337.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.02353, allocations: 1.262 MB / 339.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.02373, allocations: 13.31 kB / 339.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.02376, allocations: 15 kB / 339.1 MB, free: 6.312 MB / 302.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.0002162/0.02398, allocations: 161.8 kB / 339.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.02405, allocations: 42.8 kB / 339.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.02473, allocations: 346 kB / 339.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.02473, allocations: 4 kB / 339.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.02473, allocations: 0 / 339.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007738/0.02551, allocations: 0.6724 MB / 340.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.02675, allocations: 0.7434 MB / 341.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.02675, allocations: 4.062 kB / 341.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.02712, allocations: 79.89 kB / 341.2 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.02712, allocations: 4 kB / 341.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.02715, allocations: 8 kB / 341.2 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.02715, allocations: 4 kB / 341.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.02716, allocations: 3.938 kB / 341.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.02804, allocations: 0.5543 MB / 341.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.02818, allocations: 59.8 kB / 341.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.02823, allocations: 8 kB / 341.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.02848, allocations: 23.94 kB / 341.8 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.02855, allocations: 31.83 kB / 341.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.02858, allocations: 12 kB / 341.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.02885, allocations: 243 kB / 342.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02885, allocations: 0 / 342.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.02929, allocations: 96 kB / 342.2 MB, free: 3.125 MB / 302.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 (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.001682/0.03098, allocations: 443.2 kB / 342.6 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.03168, allocations: 362.8 kB / 343 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.03169, allocations: 4 kB / 343 MB, free: 2.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.03194, allocations: 124.2 kB / 343.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.03255, allocations: 96.53 kB / 343.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.03421, allocations: 0.9003 MB / 344.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.03443, allocations: 203.5 kB / 344.3 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.03459, allocations: 51.19 kB / 344.4 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.03469, allocations: 44.48 kB / 344.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.03469, allocations: 0 / 344.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of Templates: time 0.01235/0.04704, allocations: 5.529 MB / 349.9 MB, free: 11.59 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.499373622238636]