Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 160.2 kB / 24.91 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9099/0.9099, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.358e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004699/0.004713, allocations: 4.944 MB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.005279, allocations: 0.654 MB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.005322, allocations: 3.938 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.005519, allocations: 19.84 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.006554, allocations: 0.6302 MB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.006695, allocations: 91.8 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.006866, allocations: 191.1 kB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.006897, allocations: 11.92 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/0.007544, allocations: 0.608 MB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.0076, allocations: 39.89 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.007614, allocations: 8 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.008388, allocations: 0.8694 MB / 281.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.008428, allocations: 23.91 kB / 281.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.008466, allocations: 35.92 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.008741, allocations: 239.3 kB / 281.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008743, allocations: 3.984 kB / 281.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.008744, allocations: 3.938 kB / 281.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.465e-06/0.008746, allocations: 0 / 281.7 MB, free: 8.848 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.0002923/0.009038, allocations: 324.3 kB / 282 MB, free: 8.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.009066, allocations: 11.98 kB / 282 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.009308, allocations: 72.69 kB / 282.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.009431, allocations: 129.7 kB / 282.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.009438, allocations: 384 / 282.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.009455, allocations: 16.31 kB / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.0096, allocations: 189.3 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.009607, allocations: 0 / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.009618, allocations: 8 kB / 282.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.009622, allocations: 0 / 282.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.009696, allocations: 62.69 kB / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.01003, allocations: 0.4904 MB / 283 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.928e-05/0.0101, allocations: 54.55 kB / 283.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.01012, allocations: 28.47 kB / 283.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.01026, allocations: 71.86 kB / 283.2 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.01028, allocations: 34.56 kB / 283.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.01028, allocations: 0 / 283.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001196/0.0104, allocations: 85.86 kB / 283.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.01042, allocations: 51.41 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.01047, allocations: 126.6 kB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01048, allocations: 25.7 kB / 283.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.01052, allocations: 104 kB / 283.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.01054, allocations: 51.56 kB / 283.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.01058, allocations: 29.7 kB / 283.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.01064, allocations: 326.8 kB / 284 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.01066, allocations: 12 kB / 284 MB, free: 6.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.01069, allocations: 55.94 kB / 284 MB, free: 6.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.01076, allocations: 99.8 kB / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01076, allocations: 0 / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.229e-05/0.01084, allocations: 97.53 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.01085, allocations: 4 kB / 284.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01086, allocations: 4 kB / 284.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01087, allocations: 0 / 284.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.01093, allocations: 31.92 kB / 284.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.01094, allocations: 8.156 kB / 284.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.01097, allocations: 15.89 kB / 284.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01098, allocations: 4 kB / 284.3 MB, free: 6.035 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 5.288e-05/0.01103, allocations: 120.6 kB / 284.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.01105, allocations: 19.92 kB / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.01118, allocations: 106.2 kB / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01118, allocations: 0 / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01118, allocations: 4 kB / 284.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.01118, allocations: 4 kB / 284.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.01138, allocations: 246.6 kB / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01139, allocations: 0 / 284.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.01142, allocations: 23.98 kB / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.01142, allocations: 4 kB / 284.8 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.01143, allocations: 4 kB / 284.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01143, allocations: 7.922 kB / 284.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.01143, allocations: 0 / 284.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.52e-05/0.01152, allocations: 179.4 kB / 285 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.01154, allocations: 15.94 kB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.01155, allocations: 8 kB / 285 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.0116, allocations: 0 / 285 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.01161, allocations: 15.97 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01162, allocations: 4 kB / 285 MB, free: 5.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.242e-05/0.01163, allocations: 8.859 kB / 285.1 MB, free: 5.223 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01163, allocations: 4 kB / 285.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01181, allocations: 71.75 kB / 285.1 MB, free: 5.148 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.0001695/0.01198, allocations: 156.1 kB / 285.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.01206, allocations: 56.72 kB / 285.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01207, allocations: 0 / 285.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.01209, allocations: 36.83 kB / 285.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.01228, allocations: 44.55 kB / 285.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.01276, allocations: 231.5 kB / 285.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.278e-05/0.01279, allocations: 63.84 kB / 285.7 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.401e-05/0.01287, allocations: 32.83 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.01296, allocations: 83.34 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01296, allocations: 0 / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of Templates: time 0.003912/0.01687, allocations: 2.996 MB / 288.8 MB, free: 1.449 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6645864290185273]