Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.0009067/0.0009067, allocations: 87.88 kB / 21.19 MB, free: 3.406 MB / 18.57 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.000957/0.000957, allocations: 141.1 kB / 24.54 MB, free: 60 kB / 18.57 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 0.9337/0.9337, allocations: 173.4 MB / 201.2 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.45e-05, allocations: 2.312 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004411/0.004425, allocations: 4.9 MB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.004954, allocations: 0.6308 MB / 273.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.004994, allocations: 0 / 273.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.005207, allocations: 35.78 kB / 273.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.006246, allocations: 0.6107 MB / 274.1 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.006392, allocations: 99.78 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.006585, allocations: 191.1 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.006614, allocations: 4 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.007557, allocations: 0.647 MB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.007619, allocations: 47.88 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.007634, allocations: 8 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.008438, allocations: 0.8733 MB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.008483, allocations: 27.91 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.008524, allocations: 39.91 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.008818, allocations: 231.3 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.008821, allocations: 3.984 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008822, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.008825, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003674/0.009192, allocations: 440.1 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.009222, allocations: 8.922 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.009482, allocations: 64.62 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.009617, allocations: 140.5 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.009627, allocations: 12.38 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.009641, allocations: 8.375 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.00982, allocations: 213.7 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.009828, allocations: 4 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.009842, allocations: 7.938 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.009848, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.009944, allocations: 71.86 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.01041, allocations: 0.719 MB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.01051, allocations: 82.83 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.01055, allocations: 35.67 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.01071, allocations: 63.92 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.01073, allocations: 37.39 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.41e-07/0.01073, allocations: 0 / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001859/0.01092, allocations: 113.9 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.01094, allocations: 51.41 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.01102, allocations: 185.7 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.01103, allocations: 33.7 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.01108, allocations: 154.5 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.01111, allocations: 55.58 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.01114, allocations: 39.36 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.01124, allocations: 0.4922 MB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.01126, allocations: 19.98 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.01131, allocations: 77.06 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.0114, allocations: 109.9 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.0114, allocations: 0 / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001283/0.01153, allocations: 137.4 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.01154, allocations: 8 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.01155, allocations: 0 / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01156, allocations: 4 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.01163, allocations: 31.98 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01163, allocations: 7.984 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.01167, allocations: 11.95 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01168, allocations: 4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.01174, allocations: 176.5 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.01176, allocations: 15.95 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.01193, allocations: 118.4 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.01193, allocations: 0 / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01193, allocations: 3.938 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01194, allocations: 4 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.01219, allocations: 381.3 kB / 280.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01219, allocations: 0 / 280.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.01224, allocations: 27.92 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01224, allocations: 4 kB / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.01224, allocations: 0 / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.01225, allocations: 0 / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01225, allocations: 3.938 kB / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.01237, allocations: 251.4 kB / 280.7 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.0124, allocations: 31.84 kB / 280.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.01241, allocations: 4 kB / 280.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.01246, allocations: 0 / 280.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.01248, allocations: 11.92 kB / 280.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01249, allocations: 12 kB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.401e-05/0.01252, allocations: 131.2 kB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 3.938 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.01273, allocations: 59.88 kB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.000171/0.0129, allocations: 163.1 kB / 281.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.01302, allocations: 71.59 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01302, allocations: 0 / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.01305, allocations: 47.59 kB / 281.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.0133, allocations: 48.27 kB / 281.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.01384, allocations: 218.3 kB / 281.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.01388, allocations: 67.84 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.052e-05/0.01396, allocations: 37.05 kB / 281.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.014, allocations: 20.5 kB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.014, allocations: 7.938 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of Templates: time 0.00427/0.01827, allocations: 2.836 MB / 284.4 MB, free: 5.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.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.705481497105211]