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.001859/0.001859, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001949/0.001949, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.483e-06/1.483e-06, allocations: 0 / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.36e-05, allocations: 2.312 kB / 272.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008456/0.008489, allocations: 4.918 MB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.009557, allocations: 0.6386 MB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.526e-05/0.009602, allocations: 0 / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.009881, allocations: 23.78 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.01171, allocations: 0.6263 MB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.01196, allocations: 87.84 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.01226, allocations: 187.2 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.01229, allocations: 3.984 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.0136, allocations: 0.6508 MB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.01369, allocations: 43.89 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.01372, allocations: 4 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.01544, allocations: 0.9162 MB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.01551, allocations: 31.84 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.01557, allocations: 31.92 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.01609, allocations: 259.3 kB / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.0161, allocations: 0 / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0161, allocations: 0 / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.0161, allocations: 0 / 280.7 MB, free: 9.434 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.0006195/0.01672, allocations: 471.4 kB / 281.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.01676, allocations: 8.031 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004475/0.0172, allocations: 56.73 kB / 281.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.01743, allocations: 136.5 kB / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.01744, allocations: 4.375 kB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.01747, allocations: 12.38 kB / 281.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.01779, allocations: 217.7 kB / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.0178, allocations: 0 / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.01782, allocations: 11.98 kB / 281.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.01783, allocations: 0 / 281.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.01803, allocations: 87.86 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.01895, allocations: 0.7385 MB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.01915, allocations: 86.97 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.01922, allocations: 39.67 kB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.01951, allocations: 55.95 kB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.01955, allocations: 41.39 kB / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01955, allocations: 0 / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003362/0.01988, allocations: 141.5 kB / 282.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.01993, allocations: 55.41 kB / 282.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.02009, allocations: 177.9 kB / 283 MB, free: 6.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.02012, allocations: 29.7 kB / 283 MB, free: 6.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.02024, allocations: 162.5 kB / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.02028, allocations: 43.58 kB / 283.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.02036, allocations: 43.38 kB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002674/0.02062, allocations: 0.4922 MB / 283.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.02068, allocations: 23.98 kB / 283.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.0208, allocations: 90.09 kB / 283.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.02099, allocations: 122 kB / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.02099, allocations: 0 / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002526/0.02124, allocations: 145.5 kB / 284.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.02126, allocations: 4 kB / 284.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.02126, allocations: 4 kB / 284.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.02128, allocations: 0 / 284.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.02141, allocations: 36.08 kB / 284.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.02141, allocations: 7.938 kB / 284.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.02148, allocations: 15.89 kB / 284.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.0215, allocations: 8 kB / 284.2 MB, free: 5.613 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.0001344/0.02163, allocations: 172.5 kB / 284.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.02168, allocations: 11.95 kB / 284.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.02202, allocations: 138.3 kB / 284.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.02202, allocations: 3.984 kB / 284.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.02203, allocations: 4 kB / 284.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.02203, allocations: 0 / 284.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.02256, allocations: 389.3 kB / 284.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02257, allocations: 4 kB / 284.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.02265, allocations: 27.92 kB / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.02266, allocations: 0 / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.02267, allocations: 4 kB / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02267, allocations: 0 / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.02267, allocations: 3.938 kB / 285 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.02297, allocations: 267.8 kB / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.02302, allocations: 19.94 kB / 285.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.02304, allocations: 4 kB / 285.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.02313, allocations: 0 / 285.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.02317, allocations: 23.84 kB / 285.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.02318, allocations: 4 kB / 285.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.02328, allocations: 143.1 kB / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02328, allocations: 0 / 285.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00033/0.02361, allocations: 59.88 kB / 285.5 MB, free: 4.285 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.0003127/0.02392, allocations: 171 kB / 285.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.02412, allocations: 81 kB / 285.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02412, allocations: 0 / 285.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.0242, allocations: 51.61 kB / 285.8 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.02464, allocations: 48.25 kB / 285.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.02509, allocations: 210.4 kB / 286 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.02519, allocations: 88.08 kB / 286.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.02531, allocations: 29.17 kB / 286.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.02536, allocations: 28.47 kB / 286.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02536, allocations: 0 / 286.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of Templates: time 0.007058/0.03242, allocations: 2.617 MB / 288.8 MB, free: 0.9648 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.514585608034395]