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.0007812/0.0007812, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001875, allocations: 445.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.001404/0.001404, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002846, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 1.007/1.007, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1537/1.161, allocations: 49.49 MB / 220.6 MB, free: 1.457 MB / 218.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 3.006e-06/3.006e-06, allocations: 0 / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.152e-05, allocations: 2.312 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005283/0.005315, allocations: 3.032 MB / 224.9 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.007983, allocations: 1.208 MB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.008256, allocations: 11.94 kB / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.008764, allocations: 163.1 kB / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.009291, allocations: 190.7 kB / 226.4 MB, free: 11.56 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.009748, allocations: 147.6 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006543/0.0104, allocations: 449.8 kB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.01061, allocations: 78.56 kB / 227.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.01112, allocations: 306.5 kB / 227.4 MB, free: 10.6 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.01144, allocations: 159.5 kB / 227.5 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.01149, allocations: 28 kB / 227.6 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.01168, allocations: 67.92 kB / 227.6 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.01178, allocations: 63.75 kB / 227.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.01193, allocations: 107.8 kB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.01247, allocations: 302.8 kB / 228.1 MB, free: 9.883 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.31e-05/0.01249, allocations: 0 / 228.1 MB, free: 9.883 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.01249, allocations: 0 / 228.1 MB, free: 9.883 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.01252, allocations: 0 / 228.1 MB, free: 9.883 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.00107/0.01359, allocations: 0.6794 MB / 228.8 MB, free: 9.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01362, allocations: 12.03 kB / 228.8 MB, free: 9.168 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.01372, allocations: 52.89 kB / 228.8 MB, free: 9.117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.01408, allocations: 221.7 kB / 229 MB, free: 8.871 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.01411, allocations: 16.88 kB / 229.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.01416, allocations: 36.33 kB / 229.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.01458, allocations: 481.5 kB / 229.6 MB, free: 8.266 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.01459, allocations: 3.938 kB / 229.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.01462, allocations: 12 kB / 229.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01463, allocations: 4 kB / 229.6 MB, free: 8.246 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.01478, allocations: 86.27 kB / 229.7 MB, free: 8.16 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.01565, allocations: 0.5412 MB / 230.2 MB, free: 7.59 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.01596, allocations: 198.5 kB / 230.4 MB, free: 7.387 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.01603, allocations: 49.41 kB / 230.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.01606, allocations: 8.281 kB / 230.5 MB, free: 7.328 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.01629, allocations: 238.4 kB / 230.7 MB, free: 7.059 MB / 234.7 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.01629, allocations: 0 / 230.7 MB, free: 7.059 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.001502/0.0178, allocations: 0.8138 MB / 231.5 MB, free: 6.188 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.01784, allocations: 59.34 kB / 231.6 MB, free: 6.117 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.01809, allocations: 292.6 kB / 231.9 MB, free: 5.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.01812, allocations: 37.7 kB / 231.9 MB, free: 5.777 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.0182, allocations: 153.3 kB / 232 MB, free: 5.625 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.0183, allocations: 150.7 kB / 232.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.01842, allocations: 78.12 kB / 232.3 MB, free: 5.395 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.01853, allocations: 354.7 kB / 232.6 MB, free: 5.039 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.0186, allocations: 35.81 kB / 232.6 MB, free: 5.004 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.01876, allocations: 254.3 kB / 232.9 MB, free: 4.691 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.01902, allocations: 160.9 kB / 233.1 MB, free: 4.52 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01902, allocations: 0 / 233.1 MB, free: 4.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002888/0.01931, allocations: 216.7 kB / 233.3 MB, free: 4.297 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01933, allocations: 7.938 kB / 233.3 MB, free: 4.289 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01933, allocations: 4 kB / 233.3 MB, free: 4.285 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.869e-05/0.01939, allocations: 20.83 kB / 233.3 MB, free: 4.262 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.01974, allocations: 115.8 kB / 233.4 MB, free: 4.148 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007606/0.0205, allocations: 1.147 MB / 234.6 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.02063, allocations: 15.95 kB / 234.6 MB, free: 2.895 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.02065, allocations: 19.97 kB / 234.6 MB, free: 2.875 MB / 234.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.0001191/0.02077, allocations: 144.4 kB / 234.7 MB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.02082, allocations: 35.97 kB / 234.8 MB, free: 2.688 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.02123, allocations: 206 kB / 235 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.02123, allocations: 7.984 kB / 235 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.02124, allocations: 4.062 kB / 235 MB, free: 2.465 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003101/0.02155, allocations: 0.5357 MB / 235.5 MB, free: 1.824 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.0222, allocations: 0.545 MB / 236.1 MB, free: 1.242 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.02221, allocations: 0 / 236.1 MB, free: 1.242 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.02253, allocations: 99.88 kB / 236.2 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.02262, allocations: 43.75 kB / 236.2 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.02262, allocations: 4.125 kB / 236.2 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.02264, allocations: 15.94 kB / 236.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.02265, allocations: 7.938 kB / 236.2 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02265, allocations: 0 / 236.2 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.02304, allocations: 411.7 kB / 236.6 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.02308, allocations: 12 kB / 236.6 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.02324, allocations: 19.92 kB / 236.7 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.02329, allocations: 31.89 kB / 236.7 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.02332, allocations: 16 kB / 236.7 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.02345, allocations: 119.4 kB / 236.8 MB, free: 456 kB / 234.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.02345, allocations: 0 / 236.8 MB, free: 456 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.0238, allocations: 95.94 kB / 236.9 MB, free: 360 kB / 234.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.001595/0.0254, allocations: 0.5589 MB / 237.5 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.02581, allocations: 287.9 kB / 237.8 MB, free: 15.53 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/0.02583, allocations: 16.05 kB / 237.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.02596, allocations: 92.64 kB / 237.9 MB, free: 15.42 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.0264, allocations: 129 kB / 238 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.03133, allocations: 0.7825 MB / 238.8 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.03142, allocations: 113.7 kB / 238.9 MB, free: 14.33 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.0316, allocations: 43.27 kB / 238.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.03188, allocations: 165.3 kB / 239.1 MB, free: 14.13 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03188, allocations: 0 / 239.1 MB, free: 14.13 MB / 250.7 MB Notification: Performance of Templates: time 0.01192/0.04381, allocations: 6.667 MB / 245.8 MB, free: 7.453 MB / 250.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 -ignoreHideResult -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: 2.8620439330115914]