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.001014/0.001014, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002388, 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.0009018/0.0009018, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001944, 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.198/1.198, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1796/1.377, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.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.493e-06/1.493e-06, allocations: 0 / 222 MB, free: 88 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.194e-05, allocations: 5.406 kB / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01858/0.01861, allocations: 7.825 MB / 229.8 MB, free: 8.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.01938, allocations: 0.6501 MB / 230.4 MB, free: 7.559 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.01944, allocations: 3.938 kB / 230.5 MB, free: 7.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.01963, allocations: 27.83 kB / 230.5 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.02109, allocations: 0.5951 MB / 231.1 MB, free: 6.93 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.0213, allocations: 95.83 kB / 231.2 MB, free: 6.836 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.02157, allocations: 183.2 kB / 231.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.02163, allocations: 7.938 kB / 231.4 MB, free: 6.648 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009135/0.02254, allocations: 0.612 MB / 232 MB, free: 6.035 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.02262, allocations: 39.83 kB / 232 MB, free: 5.996 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.02263, allocations: 4 kB / 232 MB, free: 5.992 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.02371, allocations: 0.7994 MB / 232.8 MB, free: 5.191 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.02376, allocations: 11.94 kB / 232.8 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.02381, allocations: 24 kB / 232.8 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.02421, allocations: 211.3 kB / 233.1 MB, free: 4.949 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.02422, allocations: 0 / 233.1 MB, free: 4.949 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.02422, allocations: 0 / 233.1 MB, free: 4.949 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.02423, allocations: 0 / 233.1 MB, free: 4.949 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004962/0.02473, allocations: 359.9 kB / 233.4 MB, free: 4.574 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.02477, allocations: 16.03 kB / 233.4 MB, free: 4.559 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.02513, allocations: 141.8 kB / 233.6 MB, free: 4.402 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.02531, allocations: 137.6 kB / 233.7 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.02532, allocations: 8.312 kB / 233.7 MB, free: 4.234 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.02534, allocations: 8.375 kB / 233.7 MB, free: 4.227 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.02551, allocations: 193.4 kB / 233.9 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.02552, allocations: 4.188 kB / 233.9 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.02553, allocations: 12.12 kB / 233.9 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.02554, allocations: 4 kB / 233.9 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.02562, allocations: 62.7 kB / 234 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.02607, allocations: 0.4904 MB / 234.5 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.02617, allocations: 66.42 kB / 234.5 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.02619, allocations: 20.84 kB / 234.6 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.02639, allocations: 63.94 kB / 234.6 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.02641, allocations: 34.56 kB / 234.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.02642, allocations: 0 / 234.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001599/0.02658, allocations: 85.91 kB / 234.7 MB, free: 3.105 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.02661, allocations: 59.34 kB / 234.8 MB, free: 3.035 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.02669, allocations: 122.6 kB / 234.9 MB, free: 2.902 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.02671, allocations: 29.7 kB / 234.9 MB, free: 2.867 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.02677, allocations: 103.8 kB / 235 MB, free: 2.762 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.02681, allocations: 47.62 kB / 235.1 MB, free: 2.715 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.02685, allocations: 37.69 kB / 235.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.02695, allocations: 318.8 kB / 235.4 MB, free: 2.352 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.02698, allocations: 12 kB / 235.4 MB, free: 2.34 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.02703, allocations: 59.62 kB / 235.5 MB, free: 2.266 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.02716, allocations: 94.98 kB / 235.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.02716, allocations: 0 / 235.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001676/0.02733, allocations: 101.4 kB / 235.7 MB, free: 2.051 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.02735, allocations: 4 kB / 235.7 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.02735, allocations: 4 kB / 235.7 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.02737, allocations: 160 / 235.7 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.02747, allocations: 43.97 kB / 235.7 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.02747, allocations: 4 kB / 235.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.02751, allocations: 11.89 kB / 235.8 MB, free: 1.984 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.02753, allocations: 8 kB / 235.8 MB, free: 1.977 MB / 234.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 8.055e-05/0.02761, allocations: 120.6 kB / 235.9 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.02764, allocations: 15.92 kB / 235.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.02781, allocations: 118.1 kB / 236 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02781, allocations: 4 kB / 236 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02782, allocations: 4 kB / 236 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02782, allocations: 0 / 236 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.02811, allocations: 245.1 kB / 236.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02811, allocations: 0 / 236.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.02817, allocations: 31.92 kB / 236.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.02819, allocations: 19.88 kB / 236.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.0282, allocations: 0 / 236.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.0282, allocations: 4 kB / 236.3 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.02821, allocations: 4 kB / 236.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.02821, allocations: 3.984 kB / 236.3 MB, free: 1.379 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.02843, allocations: 171.5 kB / 236.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.02845, allocations: 8 kB / 236.5 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.02851, allocations: 3.984 kB / 236.5 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.02853, allocations: 11.98 kB / 236.5 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.02855, allocations: 4 kB / 236.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.748e-05/0.02857, allocations: 20.77 kB / 236.5 MB, free: 1.145 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02857, allocations: 4 kB / 236.5 MB, free: 1.141 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.0288, allocations: 63.83 kB / 236.6 MB, free: 1.078 MB / 234.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.0002598/0.02906, allocations: 144.2 kB / 236.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.02918, allocations: 68.7 kB / 236.8 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.02918, allocations: 0 / 236.8 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.02922, allocations: 48.61 kB / 236.9 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.0295, allocations: 97.8 kB / 237 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.03107, allocations: 226.5 kB / 237.2 MB, free: 472 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.03111, allocations: 67.84 kB / 237.2 MB, free: 384 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.61e-05/0.0312, allocations: 24.91 kB / 237.3 MB, free: 356 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.03131, allocations: 91.33 kB / 237.4 MB, free: 264 kB / 234.7 MB Notification: Performance of SimCode: time 1.693e-06/0.03131, allocations: 0 / 237.4 MB, free: 264 kB / 234.7 MB Notification: Performance of Templates: time 0.004947/0.03626, allocations: 2.956 MB / 240.3 MB, free: 13.31 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.923634317703545]