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.0009572/0.0009572, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001618/0.001618, allocations: 160.5 kB / 24.55 MB, free: 16 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.9236/0.9236, allocations: 177 MB / 204.8 MB, free: 5.574 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.333e-06/1.333e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.537e-05, allocations: 9.125 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003117/0.003132, allocations: 3.034 MB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.004731, allocations: 1.386 MB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.004873, allocations: 7.938 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.005294, allocations: 139.1 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.005722, allocations: 230.5 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.005988, allocations: 147.4 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.006344, allocations: 449.9 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.00648, allocations: 84.17 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.00669, allocations: 247.4 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006871, allocations: 151.5 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.00691, allocations: 32 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.007015, allocations: 55.94 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.007096, allocations: 87.67 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.007203, allocations: 127.7 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.007535, allocations: 318.7 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007538, allocations: 0 / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007538, allocations: 0 / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.007543, allocations: 4 kB / 279.3 MB, free: 10.96 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.000699/0.008242, allocations: 0.7149 MB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.008275, allocations: 15.98 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.008361, allocations: 68.66 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.008611, allocations: 264.3 kB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.008632, allocations: 16.88 kB / 280.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.008924, allocations: 32.38 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.00929, allocations: 0.4919 MB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.009303, allocations: 192 / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.009324, allocations: 12.38 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.009332, allocations: 7.938 kB / 281 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.009491, allocations: 114.9 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.01028, allocations: 0.7305 MB / 281.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.01058, allocations: 205.6 kB / 282 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.01066, allocations: 64.22 kB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.01068, allocations: 8.281 kB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.01087, allocations: 238.3 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.01087, allocations: 0 / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001273/0.01214, allocations: 0.9691 MB / 283.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.0122, allocations: 191.9 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.01242, allocations: 350.3 kB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01245, allocations: 41.64 kB / 283.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01255, allocations: 247.4 kB / 284.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.01261, allocations: 130.8 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.01268, allocations: 79.84 kB / 284.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.0128, allocations: 0.5235 MB / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.01288, allocations: 52.97 kB / 284.9 MB, free: 5.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.01304, allocations: 290.7 kB / 285.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.01324, allocations: 200.3 kB / 285.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01324, allocations: 0 / 285.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002961/0.01353, allocations: 301.3 kB / 285.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01355, allocations: 11.12 kB / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01355, allocations: 0 / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.334e-05/0.01362, allocations: 23.61 kB / 285.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.01382, allocations: 99.89 kB / 285.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009079/0.01472, allocations: 1.724 MB / 287.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.01482, allocations: 16 kB / 287.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01484, allocations: 12 kB / 287.5 MB, free: 2.141 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.0001038/0.01494, allocations: 185.3 kB / 287.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.01499, allocations: 59.69 kB / 287.8 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.01529, allocations: 281.1 kB / 288 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01529, allocations: 4 kB / 288 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01529, allocations: 0 / 288 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003073/0.0156, allocations: 0.6021 MB / 288.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.01622, allocations: 0.7347 MB / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01622, allocations: 0 / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.0164, allocations: 87.88 kB / 289.5 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.0164, allocations: 4.125 kB / 289.5 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01642, allocations: 8 kB / 289.5 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01642, allocations: 4 kB / 289.5 MB, free: 0 / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.01643, allocations: 208 / 289.5 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.01683, allocations: 0.5301 MB / 290 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.0169, allocations: 63.72 kB / 290.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.01693, allocations: 8 kB / 290.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.01704, allocations: 19.98 kB / 290.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.01708, allocations: 23.89 kB / 290.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.01711, allocations: 24.06 kB / 290.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01723, allocations: 246.9 kB / 290.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01723, allocations: 0 / 290.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01747, allocations: 91.94 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.0007277/0.0182, allocations: 397.1 kB / 290.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.01857, allocations: 374.7 kB / 291.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01857, allocations: 0 / 291.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.01869, allocations: 119.3 kB / 291.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01903, allocations: 104 kB / 291.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.02021, allocations: 0.8983 MB / 292.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.927e-05/0.02027, allocations: 109.8 kB / 292.5 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.632e-05/0.02037, allocations: 43.27 kB / 292.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.02043, allocations: 32.5 kB / 292.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02043, allocations: 0 / 292.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of Templates: time 0.00746/0.02789, allocations: 5.888 MB / 298.4 MB, free: 7.145 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: 2.7965783029794693]