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.0008409/0.0008409, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.002005, allocations: 453.8 kB / 10.46 MB, free: 236 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.0006934/0.0006934, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.001649, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.135/1.135, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2272/1.363, allocations: 49.5 MB / 220.7 MB, free: 1.363 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 2.475e-06/2.475e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.387e-05, allocations: 6.25 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005392/0.005426, allocations: 3.036 MB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.008245, allocations: 1.208 MB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.00857, allocations: 7.938 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.00914, allocations: 167 kB / 226.4 MB, free: 11.62 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.009731, allocations: 190.8 kB / 226.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.01021, allocations: 151.5 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.0109, allocations: 453.8 kB / 227.2 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.01109, allocations: 74.58 kB / 227.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.01159, allocations: 306.5 kB / 227.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.0119, allocations: 151.6 kB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.01196, allocations: 28 kB / 227.7 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.01214, allocations: 71.88 kB / 227.8 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.01224, allocations: 67.73 kB / 227.9 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.0124, allocations: 107.8 kB / 228 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.01294, allocations: 302.8 kB / 228.3 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-05/0.01296, allocations: 0 / 228.3 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01296, allocations: 0 / 228.3 MB, free: 9.762 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.01298, allocations: 3.938 kB / 228.3 MB, free: 9.758 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.001233/0.01421, allocations: 0.6717 MB / 228.9 MB, free: 9.062 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.01426, allocations: 12.03 kB / 228.9 MB, free: 9.051 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.01438, allocations: 52.89 kB / 229 MB, free: 9 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.01477, allocations: 225.7 kB / 229.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.01481, allocations: 16.88 kB / 229.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.01488, allocations: 36.33 kB / 229.3 MB, free: 8.703 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.01548, allocations: 477.5 kB / 229.7 MB, free: 8.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.0155, allocations: 3.938 kB / 229.7 MB, free: 8.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.01553, allocations: 12 kB / 229.7 MB, free: 8.133 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.01554, allocations: 8 kB / 229.8 MB, free: 8.125 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.0157, allocations: 78.27 kB / 229.8 MB, free: 8.051 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.01676, allocations: 0.5451 MB / 230.4 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.01714, allocations: 202.5 kB / 230.6 MB, free: 7.27 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.01722, allocations: 49.41 kB / 230.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.01725, allocations: 4.281 kB / 230.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.01752, allocations: 234.4 kB / 230.9 MB, free: 6.949 MB / 234.7 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.01752, allocations: 4 kB / 230.9 MB, free: 6.945 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.002014/0.01954, allocations: 0.8408 MB / 231.7 MB, free: 6.047 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.01958, allocations: 59.34 kB / 231.8 MB, free: 5.977 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.01986, allocations: 296.6 kB / 232 MB, free: 5.672 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.01989, allocations: 33.7 kB / 232.1 MB, free: 5.633 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01999, allocations: 157.3 kB / 232.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02011, allocations: 154.6 kB / 232.4 MB, free: 5.324 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.02021, allocations: 82.11 kB / 232.5 MB, free: 5.238 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.02033, allocations: 350.7 kB / 232.8 MB, free: 4.887 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.02041, allocations: 39.81 kB / 232.8 MB, free: 4.844 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.02059, allocations: 250.4 kB / 233.1 MB, free: 4.535 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.02081, allocations: 164.9 kB / 233.3 MB, free: 4.359 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.02081, allocations: 0 / 233.3 MB, free: 4.359 MB / 234.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003046/0.02111, allocations: 206 kB / 233.5 MB, free: 4.148 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.02113, allocations: 12.12 kB / 233.5 MB, free: 4.137 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.02114, allocations: 0 / 233.5 MB, free: 4.137 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.791e-05/0.02122, allocations: 12.86 kB / 233.5 MB, free: 4.121 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.0216, allocations: 123.7 kB / 233.6 MB, free: 4 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.02286, allocations: 1.151 MB / 234.7 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.02301, allocations: 15.95 kB / 234.8 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.02303, allocations: 11.98 kB / 234.8 MB, free: 2.73 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.0001498/0.02318, allocations: 148.5 kB / 234.9 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.02323, allocations: 39.97 kB / 235 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.02355, allocations: 201.9 kB / 235.2 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.02356, allocations: 4 kB / 235.2 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.02356, allocations: 4.062 kB / 235.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003587/0.02392, allocations: 0.5358 MB / 235.7 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007231/0.02464, allocations: 0.5488 MB / 236.2 MB, free: 1.094 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.02465, allocations: 4 kB / 236.3 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.02498, allocations: 103.8 kB / 236.4 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.02508, allocations: 47.73 kB / 236.4 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.02509, allocations: 4.125 kB / 236.4 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.02511, allocations: 11.94 kB / 236.4 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.02511, allocations: 4 kB / 236.4 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.02511, allocations: 0 / 236.4 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.02557, allocations: 423.4 kB / 236.8 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.02562, allocations: 8 kB / 236.8 MB, free: 484 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.02578, allocations: 19.94 kB / 236.9 MB, free: 464 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.02583, allocations: 23.94 kB / 236.9 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.02586, allocations: 12 kB / 236.9 MB, free: 428 kB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.02599, allocations: 123.4 kB / 237 MB, free: 300 kB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02599, allocations: 0 / 237 MB, free: 300 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.000377/0.02637, allocations: 99.88 kB / 237.1 MB, free: 200 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.001696/0.02806, allocations: 0.5636 MB / 237.7 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.02851, allocations: 295.7 kB / 238 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/0.02853, allocations: 8.312 kB / 238 MB, free: 15.35 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.02866, allocations: 120.7 kB / 238.1 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.0293, allocations: 0.817 MB / 238.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.03258, allocations: 0.7796 MB / 239.7 MB, free: 13.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.025e-05/0.03266, allocations: 109.7 kB / 239.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.03279, allocations: 47.25 kB / 239.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.03302, allocations: 165.3 kB / 240 MB, free: 13.09 MB / 250.7 MB Notification: Performance of SimCode: time 1.513e-06/0.03302, allocations: 0 / 240 MB, free: 13.09 MB / 250.7 MB Notification: Performance of Templates: time 0.009404/0.04243, allocations: 6.798 MB / 246.8 MB, free: 6.289 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.222852715291083]