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.001792/0.001792, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001344/0.001344, allocations: 184.2 kB / 23.71 MB, free: 4.695 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.405/1.405, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.002416/0.002416, allocations: 47.91 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2601, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005026/0.2652, allocations: 3.04 MB / 426.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2678, allocations: 1.274 MB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.2681, allocations: 15.88 kB / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.2687, allocations: 143.2 kB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.2693, allocations: 182.8 kB / 427.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.2698, allocations: 175.5 kB / 427.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000607/0.2704, allocations: 434.1 kB / 428.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.2706, allocations: 71.95 kB / 428.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.2709, allocations: 183.3 kB / 428.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.2712, allocations: 183.2 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.2712, allocations: 28 kB / 428.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2714, allocations: 63.97 kB / 428.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.2715, allocations: 83.64 kB / 429 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.2718, allocations: 183 kB / 429.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2724, allocations: 451.3 kB / 429.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2724, allocations: 0 / 429.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2724, allocations: 4 kB / 429.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2724, allocations: 4 kB / 429.6 MB, free: 8.184 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.001186/0.2736, allocations: 0.6111 MB / 430.2 MB, free: 7.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2736, allocations: 8.031 kB / 430.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2737, allocations: 48.66 kB / 430.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.2743, allocations: 254.9 kB / 430.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.2743, allocations: 20.88 kB / 430.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.2744, allocations: 32.08 kB / 430.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.275, allocations: 294.1 kB / 430.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.275, allocations: 12 kB / 430.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.275, allocations: 8 kB / 430.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.275, allocations: 8 kB / 430.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.2754, allocations: 173.9 kB / 431 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2767, allocations: 0.8043 MB / 431.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.2773, allocations: 247.3 kB / 432.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.2775, allocations: 94.22 kB / 432.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.2776, allocations: 4.281 kB / 432.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.2779, allocations: 161.8 kB / 432.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.2779, allocations: 3.938 kB / 432.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002298/0.2802, allocations: 1.091 MB / 433.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.2803, allocations: 187.9 kB / 433.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.2807, allocations: 324.5 kB / 433.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.2807, allocations: 33.7 kB / 434 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.2809, allocations: 188.7 kB / 434.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.281, allocations: 142.7 kB / 434.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2811, allocations: 78.08 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2813, allocations: 346.8 kB / 434.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2815, allocations: 96.83 kB / 434.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.2817, allocations: 173.3 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.2822, allocations: 250.2 kB / 435.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2822, allocations: 0 / 435.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005896/0.2827, allocations: 358.4 kB / 435.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2828, allocations: 10.5 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2828, allocations: 128 / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-05/0.2829, allocations: 24.84 kB / 435.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.2832, allocations: 91.89 kB / 435.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.2843, allocations: 1.283 MB / 437 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.2845, allocations: 16.02 kB / 437 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.2846, allocations: 15.98 kB / 437 MB, free: 300 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.0002031/0.2848, allocations: 169.7 kB / 437.2 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.2848, allocations: 43.86 kB / 437.2 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.2855, allocations: 326.3 kB / 437.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2855, allocations: 4 kB / 437.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2855, allocations: 3.938 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006655/0.2861, allocations: 0.6615 MB / 438.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.2873, allocations: 0.8139 MB / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2873, allocations: 0 / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.2877, allocations: 79.89 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.2877, allocations: 7.984 kB / 439.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.2877, allocations: 8 kB / 439.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2877, allocations: 0 / 439.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.2877, allocations: 7.938 kB / 439.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.2885, allocations: 0.5428 MB / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.2886, allocations: 63.78 kB / 439.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.2887, allocations: 8 kB / 439.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.2889, allocations: 19.94 kB / 439.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.2889, allocations: 27.89 kB / 439.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.289, allocations: 19.98 kB / 439.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.2892, allocations: 235.1 kB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2892, allocations: 0 / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.2896, allocations: 95.88 kB / 440.1 MB, free: 12.96 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.001561/0.2912, allocations: 428.6 kB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.2918, allocations: 359 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2918, allocations: 0 / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.2921, allocations: 127.6 kB / 441 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.2926, allocations: 96.92 kB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2944, allocations: 1.031 MB / 442.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.2948, allocations: 0.8001 MB / 442.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.295, allocations: 51.23 kB / 443 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.2951, allocations: 31.44 kB / 443 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2951, allocations: 0 / 443 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01124/0.3063, allocations: 5.55 MB / 448.6 MB, free: 4.668 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.670703988522291]