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.001829/0.001829, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.002214/0.002214, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.44/1.44, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001488/0.001488, allocations: 43.92 kB / 368.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2416, allocations: 52.15 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004433/0.2461, allocations: 3.043 MB / 423.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2482, allocations: 1.278 MB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2483, allocations: 8 kB / 425.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.2487, allocations: 135.2 kB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.2492, allocations: 178.9 kB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.2496, allocations: 183.5 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.2501, allocations: 430.1 kB / 426.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2502, allocations: 75.47 kB / 426.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2505, allocations: 179.3 kB / 426.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.2507, allocations: 187.2 kB / 426.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.2508, allocations: 28 kB / 426.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.2509, allocations: 63.92 kB / 426.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.251, allocations: 83.69 kB / 426.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.2512, allocations: 183 kB / 426.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.2518, allocations: 447.4 kB / 427.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2518, allocations: 0 / 427.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2518, allocations: 0 / 427.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2518, allocations: 4 kB / 427.3 MB, free: 8.645 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.001083/0.2529, allocations: 0.6896 MB / 428 MB, free: 7.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2529, allocations: 11.97 kB / 428 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.253, allocations: 48.64 kB / 428.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.2534, allocations: 328.1 kB / 428.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.2535, allocations: 16.94 kB / 428.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.2535, allocations: 36.08 kB / 428.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.2541, allocations: 295.1 kB / 428.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2541, allocations: 0 / 428.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.2541, allocations: 12 kB / 428.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2541, allocations: 4 kB / 428.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.2545, allocations: 182.1 kB / 428.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2558, allocations: 0.8329 MB / 429.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.2564, allocations: 243.4 kB / 430 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2566, allocations: 89.39 kB / 430.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.2566, allocations: 8.266 kB / 430.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.2569, allocations: 170.3 kB / 430.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.2569, allocations: 0 / 430.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002389/0.2593, allocations: 1.31 MB / 431.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.2594, allocations: 183.9 kB / 431.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.2598, allocations: 332.5 kB / 432.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.2598, allocations: 41.7 kB / 432.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.26, allocations: 188.7 kB / 432.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2601, allocations: 142.8 kB / 432.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.2602, allocations: 70.14 kB / 432.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2604, allocations: 350.8 kB / 432.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2606, allocations: 84.83 kB / 432.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.2608, allocations: 181.3 kB / 433.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.2612, allocations: 250.2 kB / 433.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2613, allocations: 8.047 kB / 433.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005793/0.2618, allocations: 354.4 kB / 433.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2618, allocations: 4 kB / 433.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2619, allocations: 4 kB / 433.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.262, allocations: 20.84 kB / 433.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.2623, allocations: 95.83 kB / 433.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.2635, allocations: 1.394 MB / 435.2 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.2637, allocations: 12 kB / 435.2 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.2637, allocations: 8 kB / 435.2 MB, free: 144 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.0002055/0.2639, allocations: 170.2 kB / 435.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.264, allocations: 43.75 kB / 435.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.2646, allocations: 338.5 kB / 435.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2646, allocations: 4 kB / 435.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2646, allocations: 15.88 kB / 435.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006755/0.2653, allocations: 0.6531 MB / 436.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.2665, allocations: 0.8336 MB / 437.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2665, allocations: 4 kB / 437.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.2669, allocations: 83.97 kB / 437.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2669, allocations: 0 / 437.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.2669, allocations: 8 kB / 437.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.2669, allocations: 7.984 kB / 437.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2669, allocations: 0 / 437.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.2677, allocations: 0.5432 MB / 437.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.2679, allocations: 140.8 kB / 438.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.2679, allocations: 12.12 kB / 438.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.2681, allocations: 19.98 kB / 438.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.2682, allocations: 19.97 kB / 438.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.2682, allocations: 16 kB / 438.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.2685, allocations: 243 kB / 438.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2685, allocations: 3.938 kB / 438.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.2689, allocations: 99.83 kB / 438.5 MB, free: 12.67 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.001528/0.2704, allocations: 418.6 kB / 438.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.2711, allocations: 358.3 kB / 439.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2711, allocations: 256 / 439.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.2713, allocations: 131.6 kB / 439.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.2719, allocations: 92.97 kB / 439.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.2737, allocations: 1.038 MB / 440.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.2741, allocations: 0.804 MB / 441.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.2743, allocations: 47.27 kB / 441.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.2744, allocations: 39.42 kB / 441.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2744, allocations: 0 / 441.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Templates: time 0.01547/0.2898, allocations: 5.441 MB / 446.8 MB, free: 4.473 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/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: 4.60295307636261]