Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001057/0.001057, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.001189/0.001189, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.59e-05, allocations: 6.25 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004748/0.004774, allocations: 2.988 MB / 254.1 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.007095, allocations: 1.162 MB / 255.3 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.007305, allocations: 7.938 kB / 255.3 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.007919, allocations: 175 kB / 255.4 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.008467, allocations: 190.7 kB / 255.6 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.008913, allocations: 147.5 kB / 255.8 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.009536, allocations: 457.8 kB / 256.2 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.009772, allocations: 71.95 kB / 256.3 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00038/0.01015, allocations: 259.3 kB / 256.5 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.01047, allocations: 155.6 kB / 256.7 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.01053, allocations: 28 kB / 256.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.01069, allocations: 67.97 kB / 256.8 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.01081, allocations: 83.69 kB / 256.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.01097, allocations: 131.6 kB / 257 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.01149, allocations: 318.8 kB / 257.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.0115, allocations: 4 kB / 257.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.0115, allocations: 0 / 257.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.01151, allocations: 0 / 257.3 MB, free: 1.562 MB / 234.7 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.001149/0.01266, allocations: 0.742 MB / 258 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.01271, allocations: 11.98 kB / 258.1 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.01286, allocations: 60.66 kB / 258.1 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.0133, allocations: 264.3 kB / 258.4 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.01335, allocations: 24.86 kB / 258.4 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.01341, allocations: 32.38 kB / 258.4 MB, free: 380 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.01402, allocations: 0.4919 MB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.01405, allocations: 3.938 kB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.01408, allocations: 12 kB / 258.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.0141, allocations: 8 kB / 258.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.0144, allocations: 114.8 kB / 259.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.01584, allocations: 0.7344 MB / 259.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.01636, allocations: 188.4 kB / 260 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.01652, allocations: 72.2 kB / 260 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.01655, allocations: 4.281 kB / 260.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.01688, allocations: 249.3 kB / 260.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 3.647e-06/0.01689, allocations: 0 / 260.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002336/0.01922, allocations: 0.9697 MB / 261.3 MB, free: 13.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.01932, allocations: 187.9 kB / 261.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.01971, allocations: 358.3 kB / 261.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.01975, allocations: 37.69 kB / 261.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.01994, allocations: 243.5 kB / 262.1 MB, free: 12.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.02006, allocations: 134.8 kB / 262.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.02018, allocations: 79.84 kB / 262.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.02038, allocations: 0.5235 MB / 262.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.02052, allocations: 52.97 kB / 262.9 MB, free: 11.6 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.0208, allocations: 298.6 kB / 263.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.02115, allocations: 200.3 kB / 263.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02115, allocations: 0 / 263.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005546/0.02171, allocations: 301.5 kB / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.02173, allocations: 4 kB / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.02174, allocations: 12.06 kB / 263.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.02185, allocations: 19.67 kB / 263.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.02219, allocations: 87.89 kB / 263.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.02354, allocations: 1.724 MB / 265.5 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.02372, allocations: 12.12 kB / 265.5 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.02375, allocations: 19.94 kB / 265.5 MB, free: 8.711 MB / 250.7 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.0001749/0.02392, allocations: 184.4 kB / 265.7 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.02401, allocations: 59.75 kB / 265.8 MB, free: 8.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.02457, allocations: 284.6 kB / 266 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.02457, allocations: 4 kB / 266 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.02458, allocations: 3.984 kB / 266 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005741/0.02515, allocations: 0.606 MB / 266.6 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/0.026, allocations: 0.7462 MB / 267.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.026, allocations: 4 kB / 267.4 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.02621, allocations: 75.95 kB / 267.5 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.02622, allocations: 4 kB / 267.5 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.02623, allocations: 12 kB / 267.5 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.02624, allocations: 7.938 kB / 267.5 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.02624, allocations: 7.938 kB / 267.5 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.02668, allocations: 0.5233 MB / 268 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.02676, allocations: 59.72 kB / 268.1 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.0268, allocations: 16 kB / 268.1 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.02692, allocations: 15.92 kB / 268.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.02697, allocations: 31.89 kB / 268.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.02699, allocations: 16 kB / 268.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.02713, allocations: 243 kB / 268.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02713, allocations: 0 / 268.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.02741, allocations: 92 kB / 268.5 MB, free: 5.512 MB / 250.7 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.0008943/0.02831, allocations: 399.3 kB / 268.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.02874, allocations: 374 kB / 269.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02874, allocations: 0 / 269.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.02886, allocations: 119.4 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.02924, allocations: 97 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.03078, allocations: 0.8948 MB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.03086, allocations: 113.8 kB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.03099, allocations: 43.27 kB / 270.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.03106, allocations: 36.48 kB / 270.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of SimCode: time 1.814e-06/0.03106, allocations: 0 / 270.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of Templates: time 0.007952/0.03901, allocations: 5.555 MB / 276.1 MB, free: 13.85 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0396656561642885]