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.00244/0.00244, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002827/0.002827, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.142e-06/1.142e-06, allocations: 0 / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.278e-05, allocations: 2.312 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007928/0.00795, allocations: 4.909 MB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.009033, allocations: 0.6424 MB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.009074, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.009284, allocations: 31.78 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.0108, allocations: 0.6185 MB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.01104, allocations: 95.83 kB / 278.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.01131, allocations: 191.1 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.01134, allocations: 4 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.01263, allocations: 0.6469 MB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.01272, allocations: 51.83 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.01274, allocations: 4 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.01442, allocations: 0.9123 MB / 280.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.01448, allocations: 23.92 kB / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.01454, allocations: 35.92 kB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.01504, allocations: 271.2 kB / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01504, allocations: 0 / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01504, allocations: 0 / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.01505, allocations: 0 / 280.6 MB, free: 9.379 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.0006976/0.01574, allocations: 459.5 kB / 281 MB, free: 8.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.01578, allocations: 11.98 kB / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.01622, allocations: 56.73 kB / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.01643, allocations: 140.5 kB / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.01645, allocations: 12.31 kB / 281.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.01647, allocations: 12.38 kB / 281.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.01679, allocations: 213.8 kB / 281.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.0168, allocations: 3.984 kB / 281.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01682, allocations: 4 kB / 281.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.01682, allocations: 4 kB / 281.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.01702, allocations: 83.86 kB / 281.6 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.01789, allocations: 0.7384 MB / 282.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.01806, allocations: 90.91 kB / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.01813, allocations: 35.67 kB / 282.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.0184, allocations: 63.95 kB / 282.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.01843, allocations: 33.39 kB / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.01844, allocations: 0 / 282.5 MB, free: 7.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003281/0.01876, allocations: 137.8 kB / 282.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.01881, allocations: 51.41 kB / 282.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.01896, allocations: 181.9 kB / 282.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.01898, allocations: 25.7 kB / 282.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01909, allocations: 158.5 kB / 283.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.01914, allocations: 51.52 kB / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.01921, allocations: 43.38 kB / 283.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.01947, allocations: 0.4961 MB / 283.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.01953, allocations: 27.98 kB / 283.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.01965, allocations: 82.05 kB / 283.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.01982, allocations: 118 kB / 283.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01983, allocations: 0 / 283.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002486/0.02007, allocations: 149.5 kB / 284 MB, free: 5.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.02009, allocations: 8 kB / 284 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.02009, allocations: 0 / 284 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.02011, allocations: 4 kB / 284 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.02024, allocations: 35.92 kB / 284.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.02024, allocations: 0 / 284.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.0203, allocations: 11.89 kB / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.02032, allocations: 8 kB / 284.1 MB, free: 5.574 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.0001308/0.02046, allocations: 172.6 kB / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.02051, allocations: 19.94 kB / 284.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.02082, allocations: 138 kB / 284.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.02082, allocations: 4 kB / 284.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.02083, allocations: 0 / 284.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02083, allocations: 3.984 kB / 284.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.02135, allocations: 401.2 kB / 284.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.02135, allocations: 0 / 284.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.02143, allocations: 16 kB / 284.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.02143, allocations: 8 kB / 284.8 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.02145, allocations: 3.984 kB / 284.8 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.02145, allocations: 0 / 284.8 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.02146, allocations: 7.922 kB / 284.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.02174, allocations: 267.8 kB / 285.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.02179, allocations: 15.94 kB / 285.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.0218, allocations: 0 / 285.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.0219, allocations: 8 kB / 285.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.02193, allocations: 11.92 kB / 285.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.02195, allocations: 7.984 kB / 285.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.02204, allocations: 135.1 kB / 285.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02204, allocations: 4 kB / 285.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.02237, allocations: 67.86 kB / 285.4 MB, free: 4.234 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.0002818/0.02265, allocations: 159.1 kB / 285.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.02285, allocations: 99.52 kB / 285.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02285, allocations: 0 / 285.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.02293, allocations: 43.61 kB / 285.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.02336, allocations: 43.39 kB / 285.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.02379, allocations: 222.3 kB / 285.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.887e-05/0.02388, allocations: 80.08 kB / 286 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.024, allocations: 37.11 kB / 286 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.02405, allocations: 20.5 kB / 286.1 MB, free: 3.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02405, allocations: 0 / 286.1 MB, free: 3.48 MB / 266.7 MB Notification: Performance of Templates: time 0.006967/0.03102, allocations: 2.617 MB / 288.7 MB, free: 0.9023 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.4934619379928336]