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.001356/0.001356, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001508/0.001508, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.00164/0.00164, allocations: 48.06 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2403, allocations: 53.37 MB / 432.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004814/0.2451, allocations: 2.828 MB / 435.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.2478, allocations: 1.336 MB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.2479, allocations: 7.938 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.2484, allocations: 147.1 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.249, allocations: 214.8 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2494, allocations: 139.6 kB / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006039/0.25, allocations: 442 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.2502, allocations: 83.97 kB / 437.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2504, allocations: 183.3 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.2507, allocations: 163.2 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.2508, allocations: 32 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2509, allocations: 59.92 kB / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.251, allocations: 83.67 kB / 438 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2512, allocations: 155.2 kB / 438.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.2518, allocations: 462.1 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2518, allocations: 0 / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2518, allocations: 3.938 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2518, allocations: 0 / 438.6 MB, free: 0.5547 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.001105/0.2529, allocations: 0.615 MB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2529, allocations: 12.03 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.253, allocations: 44.66 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.2535, allocations: 262.3 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2536, allocations: 20.88 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.2536, allocations: 28.12 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.2543, allocations: 0.5131 MB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2543, allocations: 8 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2544, allocations: 12 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2544, allocations: 4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.2547, allocations: 173.9 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.2561, allocations: 0.7113 MB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.2567, allocations: 247.8 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.2569, allocations: 90.23 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2569, allocations: 4.281 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/0.2573, allocations: 268.6 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.2573, allocations: 0 / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002422/0.2597, allocations: 1.115 MB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.2598, allocations: 183.9 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.2602, allocations: 344.4 kB / 443.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2603, allocations: 29.7 kB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2605, allocations: 196.7 kB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2606, allocations: 142.8 kB / 443.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2607, allocations: 74.12 kB / 443.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2609, allocations: 350.7 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2611, allocations: 92.84 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.2614, allocations: 313.8 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.2619, allocations: 246.2 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2619, allocations: 0 / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006454/0.2625, allocations: 366.5 kB / 445 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2625, allocations: 4 kB / 445 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2625, allocations: 64 / 445 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.92e-05/0.2626, allocations: 24.86 kB / 445 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.263, allocations: 87.89 kB / 445.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2642, allocations: 1.26 MB / 446.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2644, allocations: 20.12 kB / 446.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.2645, allocations: 15.94 kB / 446.4 MB, free: 8.199 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.0002103/0.2647, allocations: 172.5 kB / 446.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.2647, allocations: 39.77 kB / 446.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.2654, allocations: 341.9 kB / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2654, allocations: 4 kB / 447 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2654, allocations: 4 kB / 447 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007253/0.2661, allocations: 0.6721 MB / 447.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.2674, allocations: 0.7281 MB / 448.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2674, allocations: 0 / 448.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.2677, allocations: 87.83 kB / 448.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2677, allocations: 0 / 448.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2678, allocations: 11.94 kB / 448.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2678, allocations: 4 kB / 448.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2678, allocations: 0 / 448.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.2686, allocations: 0.5589 MB / 449 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2688, allocations: 63.73 kB / 449.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.2689, allocations: 11.98 kB / 449.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2691, allocations: 20.06 kB / 449.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.2692, allocations: 23.95 kB / 449.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.2692, allocations: 19.98 kB / 449.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.2695, allocations: 239.1 kB / 449.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2695, allocations: 0 / 449.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.2699, allocations: 99.88 kB / 449.5 MB, free: 4.922 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 (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.001661/0.2715, allocations: 456.8 kB / 449.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.2723, allocations: 358.3 kB / 450.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2723, allocations: 0 / 450.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2725, allocations: 128.4 kB / 450.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.2731, allocations: 105.3 kB / 450.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.2751, allocations: 1.072 MB / 451.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2754, allocations: 199.7 kB / 451.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.2755, allocations: 39.44 kB / 451.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of SimCode: time 5.52e-07/0.2755, allocations: 0 / 451.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Templates: time 0.009739/0.2852, allocations: 5.939 MB / 457.8 MB, free: 12.78 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/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: 8.024178074207157]