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.001035/0.001035, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001131/0.001131, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9923/0.9923, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.47e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003588/0.003612, allocations: 3.041 MB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.005769, allocations: 1.378 MB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.005953, allocations: 15.94 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.006475, allocations: 143.1 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.007008, allocations: 222.5 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.007287, allocations: 147.5 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.007694, allocations: 461.5 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.007848, allocations: 76.25 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.008086, allocations: 251.4 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.008287, allocations: 151.5 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.008326, allocations: 28 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.008443, allocations: 59.98 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.00853, allocations: 83.67 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.008643, allocations: 127.6 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.009043, allocations: 318.8 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.009046, allocations: 0 / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.009047, allocations: 4 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.009055, allocations: 0 / 279.3 MB, free: 10.97 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.0008533/0.009908, allocations: 0.7148 MB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.009949, allocations: 11.98 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.01006, allocations: 68.66 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.01041, allocations: 268.4 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.01044, allocations: 20.81 kB / 280.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.0105, allocations: 28.38 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.01103, allocations: 499.8 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.01105, allocations: 4.188 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.01107, allocations: 8.375 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.01109, allocations: 11.94 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.01128, allocations: 114.8 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.01221, allocations: 0.7383 MB / 281.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.01257, allocations: 197.6 kB / 282 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.01266, allocations: 68.16 kB / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.01269, allocations: 8.266 kB / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.01291, allocations: 242.2 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.01292, allocations: 0 / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001468/0.01438, allocations: 0.9613 MB / 283.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.01446, allocations: 191.9 kB / 283.5 MB, free: 6.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.01472, allocations: 354.3 kB / 283.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.01475, allocations: 33.7 kB / 283.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.01488, allocations: 243.4 kB / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.01527, allocations: 142.8 kB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.01536, allocations: 75.86 kB / 284.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.01552, allocations: 0.5274 MB / 284.8 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.01561, allocations: 56.89 kB / 284.9 MB, free: 5.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.0158, allocations: 294.7 kB / 285.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.01601, allocations: 188.3 kB / 285.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01602, allocations: 4 kB / 285.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003368/0.01635, allocations: 309.3 kB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01637, allocations: 7.125 kB / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.01638, allocations: 4 kB / 285.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.467e-05/0.01646, allocations: 15.69 kB / 285.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.01666, allocations: 91.83 kB / 285.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.0178, allocations: 1.728 MB / 287.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01792, allocations: 16 kB / 287.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.01793, allocations: 12 kB / 287.5 MB, free: 2.148 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.0001209/0.01805, allocations: 189.2 kB / 287.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.0181, allocations: 55.7 kB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.01845, allocations: 269 kB / 288 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01846, allocations: 8 kB / 288 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.01846, allocations: 0 / 288 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003723/0.01883, allocations: 0.6177 MB / 288.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.01956, allocations: 0.7308 MB / 289.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.01957, allocations: 0 / 289.4 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.01976, allocations: 75.91 kB / 289.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01977, allocations: 4 kB / 289.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01979, allocations: 11.98 kB / 289.5 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.01979, allocations: 7.938 kB / 289.5 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01979, allocations: 4.062 kB / 289.5 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.02026, allocations: 0.5263 MB / 290 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.02035, allocations: 59.72 kB / 290.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.02038, allocations: 15.94 kB / 290.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02049, allocations: 19.92 kB / 290.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.02054, allocations: 31.89 kB / 290.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.02056, allocations: 16 kB / 290.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.02071, allocations: 239 kB / 290.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02071, allocations: 4 kB / 290.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.02099, allocations: 99.92 kB / 290.5 MB, free: 14.96 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.0008714/0.02186, allocations: 381.5 kB / 290.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.02235, allocations: 370.8 kB / 291.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02235, allocations: 0 / 291.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.02281, allocations: 119.2 kB / 291.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.02321, allocations: 111.9 kB / 291.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.02467, allocations: 0.8945 MB / 292.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.308e-05/0.02474, allocations: 109.8 kB / 292.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02485, allocations: 47.25 kB / 292.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.02492, allocations: 40.48 kB / 292.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02492, allocations: 0 / 292.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of Templates: time 0.008775/0.0337, allocations: 5.562 MB / 298.1 MB, free: 7.48 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3119845460169017]