Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001085/0.001085, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.002831, allocations: 449.8 kB / 10.44 MB, free: 252 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.001119/0.001119, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001645/0.002763, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9397/0.9397, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07424/1.014, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.494e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004364/0.004379, allocations: 5.007 MB / 249.7 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005348/0.004914, allocations: 0.6462 MB / 250.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.004956, allocations: 4 kB / 250.3 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.005086, allocations: 23.84 kB / 250.4 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009912/0.006077, allocations: 0.6028 MB / 251 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.006236, allocations: 94.59 kB / 251.1 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.006418, allocations: 187.1 kB / 251.2 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.967e-05/0.006448, allocations: 7.984 kB / 251.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006742/0.007122, allocations: 0.6121 MB / 251.9 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.007191, allocations: 39.84 kB / 251.9 MB, free: 6.988 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.007208, allocations: 4 kB / 251.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.008037, allocations: 0.8305 MB / 252.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.008083, allocations: 11.94 kB / 252.8 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.008117, allocations: 28 kB / 252.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.008394, allocations: 219.3 kB / 253 MB, free: 5.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.008402, allocations: 0 / 253 MB, free: 5.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.008403, allocations: 0 / 253 MB, free: 5.898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.008411, allocations: 8 kB / 253 MB, free: 5.891 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.0003603/0.008771, allocations: 363.8 kB / 253.4 MB, free: 5.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.008797, allocations: 8.031 kB / 253.4 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.009082, allocations: 141.8 kB / 253.5 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.009219, allocations: 133.6 kB / 253.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.009228, allocations: 8.375 kB / 253.6 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.009243, allocations: 8.375 kB / 253.6 MB, free: 5.176 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.00939, allocations: 197.2 kB / 253.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.009396, allocations: 0 / 253.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.009409, allocations: 15.98 kB / 253.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.009414, allocations: 0 / 253.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.009488, allocations: 69.03 kB / 253.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.009828, allocations: 490.2 kB / 254.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.009899, allocations: 62.47 kB / 254.5 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.009923, allocations: 24.86 kB / 254.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.01006, allocations: 59.92 kB / 254.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01008, allocations: 42.81 kB / 254.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.01008, allocations: 0 / 254.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001212/0.01021, allocations: 81.66 kB / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.01023, allocations: 51.41 kB / 254.7 MB, free: 4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.01029, allocations: 122.6 kB / 254.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.0103, allocations: 25.7 kB / 254.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.01034, allocations: 111.8 kB / 255 MB, free: 3.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.01036, allocations: 47.58 kB / 255 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.0104, allocations: 37.69 kB / 255.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.01046, allocations: 318.8 kB / 255.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.01048, allocations: 16 kB / 255.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.01052, allocations: 65.11 kB / 255.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.01058, allocations: 83.75 kB / 255.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01059, allocations: 4 kB / 255.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.813e-05/0.01067, allocations: 97.53 kB / 255.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.01068, allocations: 8.156 kB / 255.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01069, allocations: 4 kB / 255.6 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.0107, allocations: 3.938 kB / 255.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.01078, allocations: 43.91 kB / 255.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01078, allocations: 7.984 kB / 255.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.01081, allocations: 11.95 kB / 255.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01082, allocations: 4 kB / 255.7 MB, free: 2.93 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 5.437e-05/0.01088, allocations: 128.5 kB / 255.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.0109, allocations: 11.98 kB / 255.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.01103, allocations: 102.3 kB / 255.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01103, allocations: 0 / 255.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.01103, allocations: 4 kB / 256 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01104, allocations: 0 / 256 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.01123, allocations: 254.5 kB / 256.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01123, allocations: 4 kB / 256.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.01128, allocations: 31.92 kB / 256.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.0113, allocations: 23.88 kB / 256.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.0113, allocations: 0 / 256.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.01131, allocations: 8 kB / 256.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01131, allocations: 7.984 kB / 256.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01131, allocations: 0 / 256.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.09e-05/0.01139, allocations: 170.1 kB / 256.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.0114, allocations: 4 kB / 256.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.01145, allocations: 3.984 kB / 256.4 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.01146, allocations: 11.98 kB / 256.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.01147, allocations: 4 kB / 256.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.417e-05/0.01149, allocations: 12.84 kB / 256.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01149, allocations: 4 kB / 256.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01166, allocations: 59.88 kB / 256.5 MB, free: 2.043 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.0001815/0.01184, allocations: 168 kB / 256.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.01193, allocations: 53.2 kB / 256.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.01194, allocations: 8.031 kB / 256.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.01197, allocations: 48.78 kB / 256.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01219, allocations: 93.36 kB / 256.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.01367, allocations: 223.5 kB / 257.1 MB, free: 1.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.0137, allocations: 67.78 kB / 257.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.528e-05/0.01377, allocations: 36.88 kB / 257.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01388, allocations: 91.33 kB / 257.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01388, allocations: 0 / 257.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of Templates: time 0.003991/0.01787, allocations: 3.026 MB / 260.3 MB, free: 14.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.465437020175159]