Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9486/0.9486, allocations: 173.4 MB / 201.1 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.506e-05, allocations: 6.25 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003502/0.003527, allocations: 3.006 MB / 271 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.00557, allocations: 1.258 MB / 272.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.00574, allocations: 7.938 kB / 272.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.006219, allocations: 143.1 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.006715, allocations: 178.8 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.007158, allocations: 175.4 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006034/0.007762, allocations: 449.8 kB / 273.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.007969, allocations: 67.95 kB / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.008321, allocations: 263.3 kB / 273.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.008586, allocations: 139.6 kB / 273.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.008635, allocations: 32 kB / 273.7 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.008779, allocations: 55.98 kB / 273.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.00888, allocations: 83.67 kB / 273.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.009012, allocations: 123.7 kB / 273.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.009478, allocations: 314.7 kB / 274.2 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.009482, allocations: 4 kB / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009483, allocations: 0 / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.009489, allocations: 0 / 274.2 MB, free: 188 kB / 250.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.0008828/0.01037, allocations: 0.7187 MB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.01041, allocations: 8.922 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.01052, allocations: 64.7 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.01082, allocations: 256.5 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.01085, allocations: 20.88 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.01089, allocations: 32.38 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.01129, allocations: 499.7 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.01131, allocations: 7.938 kB / 275.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.01133, allocations: 12 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01134, allocations: 8 kB / 275.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.0115, allocations: 110.9 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.01237, allocations: 0.7343 MB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.01271, allocations: 197 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.0128, allocations: 68.16 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01282, allocations: 8.281 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.01303, allocations: 238.3 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.01303, allocations: 0 / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001393/0.01442, allocations: 0.9727 MB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.0145, allocations: 187.9 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01474, allocations: 346.3 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.01477, allocations: 33.7 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01489, allocations: 235.5 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.01497, allocations: 150.7 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.01505, allocations: 75.86 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01519, allocations: 0.5196 MB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.01527, allocations: 56.95 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.01546, allocations: 298.6 kB / 280 MB, free: 9.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.01567, allocations: 192.3 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01567, allocations: 0 / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003257/0.01599, allocations: 301.3 kB / 280.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01601, allocations: 4 kB / 280.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01602, allocations: 12.06 kB / 280.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.137e-05/0.0161, allocations: 15.69 kB / 280.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.0163, allocations: 91.95 kB / 280.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008336/0.01713, allocations: 1.724 MB / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01724, allocations: 16.06 kB / 282.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.01726, allocations: 20 kB / 282.4 MB, free: 7.375 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.0001195/0.01737, allocations: 184.4 kB / 282.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.01742, allocations: 55.77 kB / 282.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.01774, allocations: 280.5 kB / 282.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01774, allocations: 4 kB / 282.9 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01775, allocations: 3.984 kB / 282.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003457/0.01809, allocations: 0.6058 MB / 283.5 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.01877, allocations: 0.738 MB / 284.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01877, allocations: 4 kB / 284.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.01896, allocations: 75.91 kB / 284.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01896, allocations: 0 / 284.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01897, allocations: 8 kB / 284.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.01898, allocations: 11.92 kB / 284.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.01898, allocations: 7.938 kB / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.0194, allocations: 0.5116 MB / 284.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.01948, allocations: 59.72 kB / 284.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.01951, allocations: 12 kB / 284.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01962, allocations: 23.86 kB / 285 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.01967, allocations: 27.89 kB / 285 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.01969, allocations: 20.06 kB / 285 MB, free: 4.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.01983, allocations: 235 kB / 285.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01983, allocations: 0 / 285.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.02011, allocations: 96 kB / 285.3 MB, free: 4.211 MB / 266.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.0008535/0.02096, allocations: 397 kB / 285.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.0214, allocations: 367.1 kB / 286.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.0214, allocations: 4 kB / 286.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.02152, allocations: 122.9 kB / 286.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.02187, allocations: 103.2 kB / 286.3 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02327, allocations: 0.8833 MB / 287.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.02333, allocations: 109.8 kB / 287.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.02345, allocations: 47.25 kB / 287.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.02351, allocations: 32.5 kB / 287.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02351, allocations: 4 kB / 287.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of Templates: time 0.1034/0.1269, allocations: 5.855 MB / 293.2 MB, free: 29.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9193764007650316]