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.002216/0.002216, allocations: 103.8 kB / 20.97 MB, free: 3.441 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.002063/0.002063, allocations: 141.5 kB / 24.26 MB, free: 160 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 1.546/1.546, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.884e-06/1.884e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.912e-05/4.101e-05, allocations: 10.25 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01306/0.0131, allocations: 4.85 MB / 272.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.01501, allocations: 0.6424 MB / 272.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.01509, allocations: 0 / 272.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.0154, allocations: 23.78 kB / 272.8 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.01819, allocations: 0.6185 MB / 273.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.01861, allocations: 91.8 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.01906, allocations: 183.1 kB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.01911, allocations: 11.98 kB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.02123, allocations: 0.6586 MB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.02139, allocations: 43.89 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.02142, allocations: 4 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.02423, allocations: 0.8772 MB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.02432, allocations: 23.92 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.02443, allocations: 35.91 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.02535, allocations: 255.3 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.02536, allocations: 0 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02536, allocations: 0 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.02536, allocations: 4 kB / 275.6 MB, free: 14.4 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.0008932/0.02626, allocations: 451.6 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.0263, allocations: 8.922 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.02707, allocations: 64.62 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.0274, allocations: 132.5 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.02743, allocations: 8.375 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.02746, allocations: 8.375 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.02795, allocations: 225.7 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.02796, allocations: 0 / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.02799, allocations: 8 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.028, allocations: 4 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.02832, allocations: 83.86 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.02965, allocations: 0.7346 MB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.02993, allocations: 90.16 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.03005, allocations: 35.67 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.03052, allocations: 63.92 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.03057, allocations: 37.39 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.734e-06/0.03057, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005208/0.0311, allocations: 137.8 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.03116, allocations: 55.41 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.03142, allocations: 189.8 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.03146, allocations: 29.7 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.03162, allocations: 154.6 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.03169, allocations: 43.59 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.0318, allocations: 43.36 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003994/0.0322, allocations: 0.4922 MB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.0323, allocations: 27.98 kB / 278.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.03249, allocations: 86.09 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.03281, allocations: 126 kB / 278.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.03282, allocations: 0 / 278.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004524/0.03327, allocations: 144.6 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.03329, allocations: 6.656 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.0333, allocations: 0 / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.03332, allocations: 8.156 kB / 279.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.03355, allocations: 35.92 kB / 279.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.03357, allocations: 4 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.03369, allocations: 15.88 kB / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.03372, allocations: 8 kB / 279.1 MB, free: 10.59 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 0.0002045/0.03393, allocations: 168.5 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.03401, allocations: 7.953 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.03453, allocations: 150.2 kB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.03454, allocations: 4 kB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.03454, allocations: 0 / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.03455, allocations: 0 / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.03557, allocations: 397.3 kB / 279.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.03557, allocations: 0 / 279.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.03572, allocations: 23.98 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.03573, allocations: 0 / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.03574, allocations: 4 kB / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.03575, allocations: 0 / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.03575, allocations: 3.938 kB / 279.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.03623, allocations: 263.8 kB / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.03631, allocations: 31.8 kB / 280.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.03634, allocations: 4 kB / 280.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.03651, allocations: 4 kB / 280.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.03656, allocations: 11.92 kB / 280.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.03658, allocations: 4 kB / 280.2 MB, free: 9.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.03672, allocations: 135.2 kB / 280.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03672, allocations: 0 / 280.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006146/0.03733, allocations: 59.88 kB / 280.4 MB, free: 9.262 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.0004598/0.03779, allocations: 163.1 kB / 280.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.03813, allocations: 91.28 kB / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03814, allocations: 0 / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.03827, allocations: 47.97 kB / 280.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.03901, allocations: 43.95 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007048/0.03971, allocations: 218.4 kB / 280.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.03986, allocations: 79.77 kB / 281 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.04009, allocations: 45.09 kB / 281 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.04017, allocations: 24.48 kB / 281.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04017, allocations: 0 / 281.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of Templates: time 0.01096/0.05113, allocations: 2.528 MB / 283.6 MB, free: 6.027 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.611580898985267]