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.0009869/0.0009869, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.000975/0.000975, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.8978/0.8978, allocations: 177 MB / 205.2 MB, free: 5.59 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.313e-06/1.313e-06, allocations: 0 / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.295e-05, allocations: 5.266 kB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004706/0.004719, allocations: 4.946 MB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005766/0.005295, allocations: 0.6424 MB / 278.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.005346, allocations: 7.938 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.005549, allocations: 27.78 kB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.006693, allocations: 0.6185 MB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.006857, allocations: 99.77 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.007045, allocations: 179.2 kB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.007077, allocations: 11.94 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.00781, allocations: 0.6509 MB / 280.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.007869, allocations: 39.89 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.007885, allocations: 4 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009845/0.008869, allocations: 0.9162 MB / 281.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.008914, allocations: 19.92 kB / 281.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.008958, allocations: 39.91 kB / 281.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.009268, allocations: 247.2 kB / 281.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00927, allocations: 0 / 281.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.009271, allocations: 4 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.009274, allocations: 0 / 281.4 MB, free: 9.293 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.0003564/0.00963, allocations: 455.9 kB / 281.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.009661, allocations: 11.98 kB / 281.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.009938, allocations: 64.61 kB / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.01008, allocations: 136.5 kB / 282.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.01009, allocations: 8.375 kB / 282.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.01011, allocations: 8.375 kB / 282.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.01028, allocations: 211.1 kB / 282.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.01029, allocations: 0 / 282.3 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.0103, allocations: 12 kB / 282.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.01031, allocations: 0 / 282.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.01041, allocations: 78.52 kB / 282.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.01085, allocations: 0.7229 MB / 283.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.01094, allocations: 78.97 kB / 283.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.01099, allocations: 31.67 kB / 283.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.01113, allocations: 59.95 kB / 283.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.01115, allocations: 41.38 kB / 283.3 MB, free: 7.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.01115, allocations: 0 / 283.3 MB, free: 7.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001841/0.01134, allocations: 113.9 kB / 283.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.01136, allocations: 51.41 kB / 283.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.01143, allocations: 189.8 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.01145, allocations: 25.7 kB / 283.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.01149, allocations: 146.7 kB / 283.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.01151, allocations: 43.58 kB / 283.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.01155, allocations: 43.36 kB / 283.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003392/0.01189, allocations: 0.4922 MB / 284.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.01192, allocations: 15.98 kB / 284.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.01197, allocations: 82.09 kB / 284.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.901e-05/0.01206, allocations: 109.7 kB / 284.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01207, allocations: 0 / 284.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001331/0.0122, allocations: 129.5 kB / 284.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.01221, allocations: 12.09 kB / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.01221, allocations: 0 / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01222, allocations: 4 kB / 284.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.0123, allocations: 31.98 kB / 284.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.0123, allocations: 4 kB / 284.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.01234, allocations: 11.89 kB / 284.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01235, allocations: 11.98 kB / 284.8 MB, free: 5.605 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 6.203e-05/0.01241, allocations: 172.4 kB / 285 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.01243, allocations: 11.95 kB / 285 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.01261, allocations: 134.3 kB / 285.1 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01261, allocations: 4 kB / 285.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.01261, allocations: 4 kB / 285.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01262, allocations: 0 / 285.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.01289, allocations: 377.2 kB / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01289, allocations: 0 / 285.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.01293, allocations: 23.92 kB / 285.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01293, allocations: 4 kB / 285.5 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.01294, allocations: 4 kB / 285.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01294, allocations: 0 / 285.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.01294, allocations: 11.92 kB / 285.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.01307, allocations: 247.9 kB / 285.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.0131, allocations: 19.94 kB / 285.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.01311, allocations: 3.984 kB / 285.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.01316, allocations: 0 / 285.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.01318, allocations: 15.92 kB / 285.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.01319, allocations: 8 kB / 285.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.01323, allocations: 131.2 kB / 285.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 285.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01344, allocations: 63.83 kB / 286 MB, free: 4.316 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.0001675/0.01361, allocations: 171 kB / 286.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.01372, allocations: 79.28 kB / 286.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01372, allocations: 8.312 kB / 286.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.01375, allocations: 43.59 kB / 286.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.014, allocations: 44.17 kB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.01453, allocations: 222.5 kB / 286.6 MB, free: 3.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.285e-05/0.01456, allocations: 63.84 kB / 286.6 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.01464, allocations: 40.83 kB / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.01467, allocations: 16.5 kB / 286.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01467, allocations: 3.938 kB / 286.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of Templates: time 0.003614/0.01828, allocations: 2.615 MB / 289.3 MB, free: 1.004 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.703828673111275]