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.001567/0.001567, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001664/0.001664, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 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 1.439/1.439, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001602/0.001602, allocations: 51.91 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00477/0.2534, allocations: 3.044 MB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.2557, allocations: 1.278 MB / 428.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.2559, allocations: 7.938 kB / 428.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.2564, allocations: 151.2 kB / 428.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.2569, allocations: 174.9 kB / 428.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.2573, allocations: 169.7 kB / 428.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.2578, allocations: 442 kB / 429.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.258, allocations: 71.95 kB / 429.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.2583, allocations: 179.3 kB / 429.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.2586, allocations: 191.2 kB / 429.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.2586, allocations: 28 kB / 429.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2588, allocations: 55.98 kB / 429.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2589, allocations: 87.62 kB / 429.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.2591, allocations: 183 kB / 429.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.2597, allocations: 455.3 kB / 430.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2597, allocations: 0 / 430.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2597, allocations: 0 / 430.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2597, allocations: 0 / 430.3 MB, free: 8.207 MB / 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.001121/0.2608, allocations: 0.615 MB / 431 MB, free: 7.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2609, allocations: 12.03 kB / 431 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.261, allocations: 44.66 kB / 431 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.2615, allocations: 258.9 kB / 431.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2615, allocations: 16.88 kB / 431.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.2616, allocations: 36.08 kB / 431.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.2621, allocations: 294.1 kB / 431.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2621, allocations: 0 / 431.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.2621, allocations: 12 kB / 431.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2621, allocations: 12 kB / 431.6 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.2625, allocations: 173.9 kB / 431.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2638, allocations: 0.8004 MB / 432.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.2644, allocations: 250.2 kB / 432.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.2646, allocations: 94.22 kB / 432.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2646, allocations: 4.281 kB / 432.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.2649, allocations: 161.8 kB / 433.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.2649, allocations: 4 kB / 433.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002308/0.2672, allocations: 1.087 MB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2674, allocations: 191.9 kB / 434.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.2678, allocations: 332.5 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.2678, allocations: 33.7 kB / 434.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.2679, allocations: 188.7 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2681, allocations: 142.8 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2682, allocations: 70.14 kB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2684, allocations: 350.8 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2686, allocations: 88.83 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2688, allocations: 181.3 kB / 435.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.2693, allocations: 250.2 kB / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2693, allocations: 0 / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005925/0.2698, allocations: 362.4 kB / 436.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2699, allocations: 4 kB / 436.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2699, allocations: 4 kB / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.27, allocations: 16.84 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2703, allocations: 96.02 kB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.2715, allocations: 1.287 MB / 437.7 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2717, allocations: 11.98 kB / 437.7 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2717, allocations: 16 kB / 437.8 MB, free: 320 kB / 334.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.0002077/0.2719, allocations: 172.5 kB / 437.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.272, allocations: 35.77 kB / 438 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/0.2726, allocations: 334.3 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2726, allocations: 4 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2726, allocations: 3.938 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007867/0.2734, allocations: 0.6615 MB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.2748, allocations: 0.8061 MB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2748, allocations: 8.125 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.2751, allocations: 75.89 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2751, allocations: 0 / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.2751, allocations: 16.06 kB / 439.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.2752, allocations: 7.938 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2752, allocations: 0 / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.276, allocations: 0.5388 MB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2761, allocations: 59.78 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2762, allocations: 15.94 kB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2764, allocations: 12 kB / 440.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.2765, allocations: 31.89 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.2765, allocations: 19.98 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002722/0.2768, allocations: 231.1 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2768, allocations: 0 / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.2772, allocations: 107.8 kB / 440.9 MB, free: 12.98 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.001615/0.2789, allocations: 426.5 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.2796, allocations: 355.2 kB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.2796, allocations: 4 kB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.2799, allocations: 131.6 kB / 441.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.2805, allocations: 90.83 kB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2825, allocations: 1.064 MB / 442.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.2829, allocations: 0.8001 MB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.283, allocations: 39.44 kB / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.283, allocations: 0 / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01006/0.2931, allocations: 5.726 MB / 449.5 MB, free: 4.465 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.248974435031414]