Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.001031/0.001031, allocations: 89.95 kB / 23 MB, free: 1.5 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.001043/0.001043, allocations: 172.1 kB / 26.39 MB, free: 7.754 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.9382/0.9382, allocations: 158.6 MB / 188.3 MB, free: 2.809 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.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.645e-05, allocations: 6.25 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007298/0.007314, allocations: 7.693 MB / 259.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005788/0.007893, allocations: 0.6347 MB / 260.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.007941, allocations: 0 / 260.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.008156, allocations: 35.69 kB / 260.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.009578, allocations: 0.6146 MB / 261.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.009735, allocations: 91.84 kB / 261.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.009922, allocations: 183.2 kB / 261.5 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.009953, allocations: 4 kB / 261.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.01069, allocations: 0.6626 MB / 262.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.01076, allocations: 43.83 kB / 262.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.01078, allocations: 4 kB / 262.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008559/0.01163, allocations: 0.8811 MB / 263.1 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.01168, allocations: 19.91 kB / 263.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.01172, allocations: 35.92 kB / 263.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.012, allocations: 235.3 kB / 263.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.012, allocations: 0 / 263.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.012, allocations: 0 / 263.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.01201, allocations: 4 kB / 263.4 MB, free: 12.08 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003715/0.01238, allocations: 443.9 kB / 263.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01241, allocations: 15.98 kB / 263.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.01268, allocations: 60.67 kB / 263.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.01281, allocations: 140.4 kB / 264 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.01282, allocations: 4.375 kB / 264 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.01284, allocations: 12.38 kB / 264 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.013, allocations: 198 kB / 264.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.01301, allocations: 4.188 kB / 264.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.01302, allocations: 8.125 kB / 264.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.01303, allocations: 4 kB / 264.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.01311, allocations: 67.77 kB / 264.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.01357, allocations: 0.704 MB / 265 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.01366, allocations: 90.69 kB / 265.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.01369, allocations: 27.67 kB / 265.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.01384, allocations: 59.94 kB / 265.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.01386, allocations: 33.39 kB / 265.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.01386, allocations: 0 / 265.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001663/0.01402, allocations: 108.8 kB / 265.3 MB, free: 9.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.01405, allocations: 59.41 kB / 265.4 MB, free: 9.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.01412, allocations: 177.8 kB / 265.5 MB, free: 9.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01414, allocations: 29.7 kB / 265.6 MB, free: 9.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.01419, allocations: 154.5 kB / 265.7 MB, free: 9.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.01422, allocations: 47.58 kB / 265.8 MB, free: 9.453 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.01426, allocations: 47.3 kB / 265.8 MB, free: 9.398 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01437, allocations: 0.4961 MB / 266.3 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.01439, allocations: 8 kB / 266.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.01444, allocations: 77.67 kB / 266.4 MB, free: 8.785 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.01452, allocations: 106 kB / 266.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01452, allocations: 3.938 kB / 266.5 MB, free: 8.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001154/0.01464, allocations: 113.5 kB / 266.6 MB, free: 8.535 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.01465, allocations: 11.94 kB / 266.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01465, allocations: 0 / 266.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.01466, allocations: 4 kB / 266.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.01473, allocations: 32.14 kB / 266.7 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01473, allocations: 7.984 kB / 266.7 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.01477, allocations: 15.89 kB / 266.7 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.01478, allocations: 4 kB / 266.7 MB, free: 8.461 MB / 250.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.607e-05/0.01485, allocations: 172.5 kB / 266.9 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.01487, allocations: 11.95 kB / 266.9 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.01503, allocations: 126.1 kB / 267 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01503, allocations: 0 / 267 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.01504, allocations: 4 kB / 267 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01504, allocations: 0 / 267 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.01531, allocations: 361.8 kB / 267.4 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01532, allocations: 0 / 267.4 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.01536, allocations: 27.92 kB / 267.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01536, allocations: 0 / 267.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.01537, allocations: 4 kB / 267.4 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.01537, allocations: 0 / 267.4 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01537, allocations: 0 / 267.4 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.01549, allocations: 239.8 kB / 267.6 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.01551, allocations: 15.94 kB / 267.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.01552, allocations: 8 kB / 267.6 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.01557, allocations: 7.984 kB / 267.6 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.01559, allocations: 7.984 kB / 267.7 MB, free: 7.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.0156, allocations: 4 kB / 267.7 MB, free: 7.426 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.799e-05/0.01564, allocations: 143.2 kB / 267.8 MB, free: 7.285 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01564, allocations: 0 / 267.8 MB, free: 7.285 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.01585, allocations: 59.81 kB / 267.9 MB, free: 7.227 MB / 250.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.000429/0.01628, allocations: 167 kB / 268 MB, free: 7.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.797e-05/0.01638, allocations: 71.58 kB / 268.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01638, allocations: 0 / 268.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.0164, allocations: 39.59 kB / 268.1 MB, free: 6.938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01665, allocations: 56.41 kB / 268.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.01713, allocations: 221.5 kB / 268.4 MB, free: 6.641 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.01717, allocations: 63.84 kB / 268.5 MB, free: 6.559 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.137e-05/0.01726, allocations: 28.91 kB / 268.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.01737, allocations: 118.1 kB / 268.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01737, allocations: 0 / 268.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of Templates: time 0.004363/0.02173, allocations: 2.947 MB / 271.6 MB, free: 3.488 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.769924544263631]