Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001874/0.001874, allocations: 119.6 kB / 20.44 MB, free: 1.297 MB / 14.72 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.002218/0.002218, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 47.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2457, allocations: 53.37 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004735/0.2504, allocations: 3.048 MB / 434.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.2529, allocations: 1.441 MB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2531, allocations: 7.938 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.2535, allocations: 143.1 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.2541, allocations: 218.7 kB / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.2544, allocations: 135.6 kB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.2549, allocations: 442.1 kB / 437 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2551, allocations: 81.02 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.2554, allocations: 187.3 kB / 437.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.2556, allocations: 195.1 kB / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.2557, allocations: 28 kB / 437.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2558, allocations: 59.98 kB / 437.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.2559, allocations: 79.7 kB / 437.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.2561, allocations: 190.9 kB / 437.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.2567, allocations: 455.3 kB / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2567, allocations: 0 / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2567, allocations: 0 / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2567, allocations: 0 / 438.3 MB, free: 244 kB / 334.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.001071/0.2578, allocations: 0.6197 MB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2578, allocations: 8.031 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.2579, allocations: 56.53 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.2584, allocations: 266.9 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.2584, allocations: 20.81 kB / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.2585, allocations: 35.38 kB / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.259, allocations: 290.1 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.259, allocations: 0 / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.259, allocations: 12 kB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.259, allocations: 8 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.2594, allocations: 177.9 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.2608, allocations: 0.8082 MB / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.2613, allocations: 245 kB / 440.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.2615, allocations: 85.39 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.2616, allocations: 4.281 kB / 440.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.2619, allocations: 170.6 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.744e-06/0.2619, allocations: 0 / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002364/0.2642, allocations: 1.103 MB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.2644, allocations: 187.9 kB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.2647, allocations: 328.6 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.2648, allocations: 41.7 kB / 442.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2649, allocations: 184.8 kB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2651, allocations: 150.8 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2652, allocations: 70.14 kB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2653, allocations: 350.7 kB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2655, allocations: 88.83 kB / 443.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.2658, allocations: 181.3 kB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.2662, allocations: 250.2 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2662, allocations: 0 / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006002/0.2668, allocations: 354.6 kB / 444.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2669, allocations: 4 kB / 444.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2669, allocations: 0 / 444.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.252e-05/0.267, allocations: 20.84 kB / 444.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.2673, allocations: 95.83 kB / 444.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.2686, allocations: 1.295 MB / 445.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.2687, allocations: 16.02 kB / 445.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.2688, allocations: 12 kB / 445.7 MB, free: 8.309 MB / 350.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.0002045/0.269, allocations: 172.1 kB / 445.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.269, allocations: 43.7 kB / 446 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006255/0.2697, allocations: 342.1 kB / 446.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2697, allocations: 4 kB / 446.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2697, allocations: 4.062 kB / 446.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007267/0.2704, allocations: 0.6615 MB / 447 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.2717, allocations: 0.8219 MB / 447.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.2717, allocations: 0 / 447.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.272, allocations: 80.02 kB / 447.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.272, allocations: 8 kB / 447.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.2721, allocations: 8 kB / 447.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2721, allocations: 0 / 447.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2721, allocations: 4 kB / 447.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.2729, allocations: 0.5427 MB / 448.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.273, allocations: 63.78 kB / 448.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.2731, allocations: 8 kB / 448.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.2733, allocations: 19.98 kB / 448.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.2734, allocations: 23.89 kB / 448.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.2734, allocations: 16 kB / 448.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.2737, allocations: 239 kB / 448.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2737, allocations: 4 kB / 448.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.2741, allocations: 103.9 kB / 448.9 MB, free: 4.953 MB / 350.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 (40): * Single equations (assignments): 38 * 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.001593/0.2757, allocations: 431.1 kB / 449.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006718/0.2763, allocations: 359.3 kB / 449.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2764, allocations: 256 / 449.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.2766, allocations: 127.7 kB / 449.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.2771, allocations: 81.05 kB / 449.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.2789, allocations: 1.04 MB / 450.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.2794, allocations: 0.8078 MB / 451.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.2795, allocations: 47.25 kB / 451.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2796, allocations: 39.42 kB / 451.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2796, allocations: 0 / 451.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Templates: time 0.01185/0.2915, allocations: 5.592 MB / 457.4 MB, free: 12.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.650573696941137]