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.001936/0.001936, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002544/0.002544, allocations: 156.9 kB / 24.27 MB, free: 172 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.461/1.461, allocations: 177 MB / 204.4 MB, free: 5.625 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.663e-06/1.663e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.712e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007764/0.007791, allocations: 4.626 MB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.008735, allocations: 0.5723 MB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.008784, allocations: 0 / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.008998, allocations: 31.75 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.01055, allocations: 0.6302 MB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.0108, allocations: 83.86 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.01108, allocations: 191.1 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.01111, allocations: 4 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.01234, allocations: 0.6586 MB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.01244, allocations: 47.83 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.01246, allocations: 4 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.01403, allocations: 0.9084 MB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.0141, allocations: 23.92 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.01417, allocations: 35.91 kB / 280 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.01466, allocations: 267.2 kB / 280.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01467, allocations: 0 / 280.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01467, allocations: 0 / 280.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.01467, allocations: 0 / 280.2 MB, free: 9.719 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.0005932/0.01526, allocations: 365.5 kB / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.01531, allocations: 11.98 kB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/0.01579, allocations: 52.73 kB / 280.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.01604, allocations: 133.7 kB / 280.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.01605, allocations: 8.375 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.01608, allocations: 16.31 kB / 280.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.01641, allocations: 210.5 kB / 281 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.01641, allocations: 0 / 281 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01643, allocations: 8 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01644, allocations: 3.984 kB / 281 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.01665, allocations: 115.9 kB / 281.1 MB, free: 8.723 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.01745, allocations: 0.5476 MB / 281.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01762, allocations: 78.55 kB / 281.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.01769, allocations: 36.84 kB / 281.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.01798, allocations: 55.95 kB / 281.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.01802, allocations: 34.56 kB / 281.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.01802, allocations: 0 / 281.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003514/0.01837, allocations: 141.7 kB / 282 MB, free: 7.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.01842, allocations: 55.41 kB / 282.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.01857, allocations: 117.8 kB / 282.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.01859, allocations: 25.7 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.01868, allocations: 115.7 kB / 282.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.01889, allocations: 43.58 kB / 282.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.01895, allocations: 37.7 kB / 282.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01914, allocations: 326.8 kB / 282.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.0192, allocations: 27.98 kB / 282.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.0193, allocations: 65.08 kB / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.01948, allocations: 113.1 kB / 282.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01948, allocations: 0 / 282.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002447/0.01972, allocations: 141.5 kB / 283.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.01974, allocations: 8 kB / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01975, allocations: 0 / 283.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01977, allocations: 4 kB / 283.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01991, allocations: 36.08 kB / 283.1 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01991, allocations: 4 kB / 283.1 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.01998, allocations: 11.89 kB / 283.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.02001, allocations: 15.94 kB / 283.2 MB, free: 6.555 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.000114/0.02012, allocations: 117.8 kB / 283.3 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.02017, allocations: 19.89 kB / 283.3 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.02048, allocations: 130.4 kB / 283.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.02049, allocations: 3.984 kB / 283.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02049, allocations: 4 kB / 283.4 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.0205, allocations: 3.984 kB / 283.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.02098, allocations: 337.6 kB / 283.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02098, allocations: 0 / 283.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.02106, allocations: 20 kB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.02106, allocations: 0 / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.02108, allocations: 7.984 kB / 283.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02108, allocations: 4 kB / 283.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.02108, allocations: 3.938 kB / 283.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.02135, allocations: 207.4 kB / 284 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.02139, allocations: 19.94 kB / 284 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.02141, allocations: 4 kB / 284 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.02151, allocations: 4 kB / 284 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.02154, allocations: 15.91 kB / 284 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.02156, allocations: 15.94 kB / 284.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.464e-05/0.02164, allocations: 91.27 kB / 284.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02164, allocations: 0 / 284.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.02198, allocations: 55.88 kB / 284.2 MB, free: 5.445 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.0003459/0.02233, allocations: 163.1 kB / 284.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.02252, allocations: 83.83 kB / 284.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02252, allocations: 0 / 284.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.02257, allocations: 35.98 kB / 284.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.02302, allocations: 52.41 kB / 284.5 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.02351, allocations: 212.7 kB / 284.7 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.02361, allocations: 80.08 kB / 284.8 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.02372, allocations: 28.89 kB / 284.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.02378, allocations: 24.48 kB / 284.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02378, allocations: 0 / 284.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of Templates: time 0.006871/0.03065, allocations: 2.615 MB / 287.5 MB, free: 2.152 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] 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.272650335100479]