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.00131/0.00131, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001815/0.001815, allocations: 171.7 kB / 24.82 MB, free: 9.273 MB / 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 0.9676/0.9676, allocations: 177.2 MB / 205.3 MB, free: 5.484 MB / 186.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.643e-06/1.643e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.591e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01239/0.01242, allocations: 4.909 MB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.01325, allocations: 0.6385 MB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.01334, allocations: 7.938 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.01364, allocations: 23.84 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.01526, allocations: 0.6263 MB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.01544, allocations: 99.72 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.01565, allocations: 179.2 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.01568, allocations: 4 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.01683, allocations: 0.6548 MB / 280.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.01691, allocations: 43.84 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.01693, allocations: 4 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.01794, allocations: 0.924 MB / 281.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.01799, allocations: 15.92 kB / 281.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.01803, allocations: 43.91 kB / 281.5 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.01838, allocations: 239.3 kB / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01838, allocations: 0 / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01838, allocations: 0 / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.01839, allocations: 0 / 281.8 MB, free: 8.867 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.0004246/0.01881, allocations: 451.9 kB / 282.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.01885, allocations: 16.02 kB / 282.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.01914, allocations: 48.69 kB / 282.3 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.01929, allocations: 148.5 kB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.0193, allocations: 8.375 kB / 282.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.01931, allocations: 4.375 kB / 282.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.01948, allocations: 205.1 kB / 282.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.0195, allocations: 3.938 kB / 282.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.01951, allocations: 0 / 282.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.01951, allocations: 4 kB / 282.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.01959, allocations: 62.42 kB / 282.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.02008, allocations: 0.7117 MB / 283.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.02017, allocations: 75.02 kB / 283.5 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.0202, allocations: 35.23 kB / 283.5 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.02038, allocations: 67.88 kB / 283.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.0204, allocations: 41.38 kB / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.0204, allocations: 0 / 283.6 MB, free: 6.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001796/0.02058, allocations: 105.9 kB / 283.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.02061, allocations: 51.41 kB / 283.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.02068, allocations: 173.8 kB / 283.9 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.02069, allocations: 25.7 kB / 284 MB, free: 6.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.02075, allocations: 162.6 kB / 284.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.02077, allocations: 47.52 kB / 284.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.02081, allocations: 43.34 kB / 284.2 MB, free: 6.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.02092, allocations: 0.4922 MB / 284.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.02095, allocations: 15.98 kB / 284.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.02099, allocations: 74.08 kB / 284.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.02107, allocations: 98.05 kB / 284.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02107, allocations: 7.938 kB / 284.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001261/0.0212, allocations: 121.5 kB / 285 MB, free: 5.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.02121, allocations: 4 kB / 285 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02122, allocations: 7.984 kB / 285 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.02123, allocations: 7.984 kB / 285 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.02131, allocations: 35.92 kB / 285.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.02131, allocations: 0 / 285.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.02135, allocations: 16.05 kB / 285.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.02136, allocations: 12 kB / 285.1 MB, free: 5.242 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 7.539e-05/0.02144, allocations: 168.4 kB / 285.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.02146, allocations: 15.95 kB / 285.3 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.02164, allocations: 118.2 kB / 285.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02164, allocations: 7.984 kB / 285.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02164, allocations: 0 / 285.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02165, allocations: 0 / 285.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.02193, allocations: 349.9 kB / 285.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02193, allocations: 0 / 285.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.02197, allocations: 23.98 kB / 285.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.02197, allocations: 4 kB / 285.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.02198, allocations: 0 / 285.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.02198, allocations: 3.938 kB / 285.8 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02198, allocations: 0 / 285.8 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.02212, allocations: 247.8 kB / 286 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.02214, allocations: 19.94 kB / 286 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.02215, allocations: 0 / 286 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-05/0.02221, allocations: 8 kB / 286.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.02222, allocations: 11.98 kB / 286.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.02223, allocations: 4 kB / 286.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.02228, allocations: 131.2 kB / 286.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02228, allocations: 0 / 286.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.02252, allocations: 79.69 kB / 286.3 MB, free: 4.008 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.0002201/0.02274, allocations: 170.9 kB / 286.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.02285, allocations: 75.56 kB / 286.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.02285, allocations: 0 / 286.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.02288, allocations: 35.61 kB / 286.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.02315, allocations: 56.48 kB / 286.6 MB, free: 3.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.02371, allocations: 214.5 kB / 286.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.02375, allocations: 59.86 kB / 286.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.02384, allocations: 32.88 kB / 286.9 MB, free: 3.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.02395, allocations: 122.1 kB / 287 MB, free: 3.191 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02395, allocations: 0 / 287 MB, free: 3.191 MB / 266.7 MB Notification: Performance of Templates: time 0.004812/0.02876, allocations: 2.997 MB / 290 MB, free: 248 kB / 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","",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.836462671868503]