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.001504/0.001504, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001215/0.001215, allocations: 167.9 kB / 25.33 MB, free: 8.711 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.9784/0.9784, allocations: 158.6 MB / 187.2 MB, free: 2.934 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.502e-06/1.502e-06, allocations: 3.938 kB / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.516e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007793/0.007818, allocations: 7.778 MB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.008458, allocations: 0.6464 MB / 259.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.008513, allocations: 0 / 259.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.008787, allocations: 31.72 kB / 259.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01009, allocations: 0.6185 MB / 260.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.01027, allocations: 87.84 kB / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.01049, allocations: 187.2 kB / 260.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.01053, allocations: 8 kB / 260.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008562/0.01139, allocations: 0.6509 MB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.01146, allocations: 43.84 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.01148, allocations: 4 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.01249, allocations: 0.8811 MB / 262 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.01255, allocations: 23.91 kB / 262 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.0126, allocations: 31.92 kB / 262 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.01297, allocations: 231.3 kB / 262.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01297, allocations: 0 / 262.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01297, allocations: 4 kB / 262.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.01298, allocations: 3.984 kB / 262.2 MB, free: 12.26 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.000477/0.01346, allocations: 448 kB / 262.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.0135, allocations: 11.98 kB / 262.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.01382, allocations: 60.67 kB / 262.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.01401, allocations: 140.4 kB / 262.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.01402, allocations: 8.375 kB / 262.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.01404, allocations: 8.375 kB / 262.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.01426, allocations: 210 kB / 263.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01427, allocations: 192 / 263.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.01429, allocations: 8.125 kB / 263.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.0143, allocations: 4 kB / 263.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.01442, allocations: 71.86 kB / 263.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.015, allocations: 0.7345 MB / 263.9 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.01513, allocations: 90.83 kB / 264 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.01517, allocations: 31.67 kB / 264 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.01536, allocations: 55.95 kB / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.01538, allocations: 37.39 kB / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01539, allocations: 0 / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002389/0.01562, allocations: 121.9 kB / 264.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.01566, allocations: 59.34 kB / 264.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.01576, allocations: 177.9 kB / 264.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01577, allocations: 25.7 kB / 264.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.01584, allocations: 158.5 kB / 264.7 MB, free: 9.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.01586, allocations: 39.59 kB / 264.7 MB, free: 9.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.01591, allocations: 47.31 kB / 264.7 MB, free: 9.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01603, allocations: 0.4961 MB / 265.2 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.01606, allocations: 15.98 kB / 265.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.01612, allocations: 82.05 kB / 265.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.01622, allocations: 106 kB / 265.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01622, allocations: 0 / 265.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001616/0.01638, allocations: 133.5 kB / 265.6 MB, free: 8.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.0164, allocations: 7.438 kB / 265.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.01641, allocations: 0 / 265.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.01642, allocations: 4.156 kB / 265.6 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.01651, allocations: 35.98 kB / 265.6 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01652, allocations: 4 kB / 265.6 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.01655, allocations: 11.89 kB / 265.6 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.01657, allocations: 15.94 kB / 265.7 MB, free: 8.543 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 7.685e-05/0.01665, allocations: 160.5 kB / 265.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.01667, allocations: 11.95 kB / 265.8 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.01689, allocations: 138.1 kB / 266 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.0169, allocations: 8 kB / 266 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.0169, allocations: 0 / 266 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01691, allocations: 3.984 kB / 266 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.01723, allocations: 373.3 kB / 266.3 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01724, allocations: 0 / 266.3 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.01728, allocations: 31.92 kB / 266.4 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01729, allocations: 0 / 266.4 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.0173, allocations: 0 / 266.4 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.0173, allocations: 3.984 kB / 266.4 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0173, allocations: 0 / 266.4 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01746, allocations: 247.8 kB / 266.6 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.01749, allocations: 23.94 kB / 266.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.01751, allocations: 0 / 266.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.01757, allocations: 8 kB / 266.6 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.01759, allocations: 7.984 kB / 266.6 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01761, allocations: 11.98 kB / 266.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.16e-05/0.01766, allocations: 135.1 kB / 266.8 MB, free: 7.328 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01766, allocations: 4 kB / 266.8 MB, free: 7.324 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.0179, allocations: 63.86 kB / 266.9 MB, free: 7.262 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.0002426/0.01814, allocations: 163 kB / 267 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01829, allocations: 83.58 kB / 267.1 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01829, allocations: 0 / 267.1 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.01833, allocations: 39.61 kB / 267.1 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.01864, allocations: 56.47 kB / 267.2 MB, free: 6.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.01939, allocations: 225.5 kB / 267.4 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.01943, allocations: 63.8 kB / 267.5 MB, free: 6.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.01953, allocations: 32.89 kB / 267.5 MB, free: 6.547 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.01957, allocations: 20.48 kB / 267.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01957, allocations: 0 / 267.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of Templates: time 0.004788/0.02436, allocations: 2.561 MB / 270.1 MB, free: 3.992 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.965577559079975]