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.001081/0.001081, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002643, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001128/0.001128, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002558, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9112/0.9112, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07896/0.9901, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.787e-05, allocations: 5.125 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003542/0.003559, allocations: 3.056 MB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.005587, allocations: 1.414 MB / 249 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.005736, allocations: 7.938 kB / 249 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.006089, allocations: 143.1 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.006529, allocations: 230.4 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.006807, allocations: 135.5 kB / 249.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.007268, allocations: 457.9 kB / 249.9 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.007428, allocations: 74.89 kB / 250 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.00777, allocations: 306.5 kB / 250.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.007975, allocations: 151.5 kB / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.008016, allocations: 28 kB / 250.5 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.008136, allocations: 59.92 kB / 250.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.008211, allocations: 59.75 kB / 250.6 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.00833, allocations: 107.8 kB / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.008715, allocations: 290.9 kB / 251 MB, free: 7.809 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.619e-05/0.008731, allocations: 0 / 251 MB, free: 7.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008733, allocations: 0 / 251 MB, free: 7.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.00875, allocations: 4 kB / 251 MB, free: 7.805 MB / 250.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.000854/0.009604, allocations: 0.6717 MB / 251.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.009642, allocations: 12.03 kB / 251.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.009719, allocations: 52.83 kB / 251.7 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.01001, allocations: 225.6 kB / 251.9 MB, free: 6.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.01003, allocations: 20.88 kB / 252 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.01008, allocations: 40.3 kB / 252 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.01046, allocations: 473.5 kB / 252.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.01048, allocations: 11.89 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.0105, allocations: 12 kB / 252.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01051, allocations: 4 kB / 252.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.01064, allocations: 86.2 kB / 252.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.01146, allocations: 0.5373 MB / 253.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.01176, allocations: 202.4 kB / 253.3 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.01183, allocations: 49.97 kB / 253.4 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.01185, allocations: 4.281 kB / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.01206, allocations: 232.9 kB / 253.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.01206, allocations: 0 / 253.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001351/0.01341, allocations: 0.8212 MB / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.01344, allocations: 67.34 kB / 254.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.01366, allocations: 292.6 kB / 254.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01368, allocations: 37.7 kB / 254.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.01376, allocations: 153.4 kB / 255 MB, free: 3.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.99e-05/0.01385, allocations: 146.7 kB / 255.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.01393, allocations: 74.16 kB / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01404, allocations: 350.7 kB / 255.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.0141, allocations: 35.81 kB / 255.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.01425, allocations: 258.3 kB / 255.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.01443, allocations: 160.9 kB / 256 MB, free: 2.434 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01443, allocations: 0 / 256 MB, free: 2.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000261/0.01469, allocations: 216.4 kB / 256.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01471, allocations: 8 kB / 256.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01471, allocations: 0 / 256.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.568e-05/0.01477, allocations: 12.86 kB / 256.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.01509, allocations: 123.9 kB / 256.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006808/0.01577, allocations: 1.154 MB / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01589, allocations: 19.94 kB / 257.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.0159, allocations: 8.125 kB / 257.5 MB, free: 0.793 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.0001105/0.01601, allocations: 151.3 kB / 257.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.01605, allocations: 31.97 kB / 257.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.01631, allocations: 206.1 kB / 257.9 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01631, allocations: 4 kB / 257.9 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01631, allocations: 0 / 257.9 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003008/0.01662, allocations: 0.5398 MB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.01722, allocations: 0.5488 MB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01722, allocations: 0 / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.01751, allocations: 99.94 kB / 259.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.0176, allocations: 47.75 kB / 259.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.0176, allocations: 0 / 259.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.01762, allocations: 11.94 kB / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.01762, allocations: 4 kB / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01762, allocations: 0 / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.01797, allocations: 418.6 kB / 259.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.01801, allocations: 11.98 kB / 259.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.01815, allocations: 19.94 kB / 259.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.01819, allocations: 27.95 kB / 259.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.01822, allocations: 11.98 kB / 259.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01833, allocations: 111.5 kB / 259.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01833, allocations: 0 / 259.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.01864, allocations: 99.98 kB / 259.8 MB, free: 14.28 MB / 266.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.001426/0.02006, allocations: 0.5695 MB / 260.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.0204, allocations: 283.8 kB / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.02042, allocations: 8 kB / 260.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.02053, allocations: 101.2 kB / 260.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.02092, allocations: 132 kB / 260.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.02504, allocations: 0.775 MB / 261.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.02512, allocations: 109.8 kB / 261.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.02526, allocations: 51.23 kB / 261.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.02551, allocations: 165.3 kB / 262 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02551, allocations: 0 / 262 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.009773/0.03528, allocations: 6.696 MB / 268.7 MB, free: 5.766 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.6326724672690034]