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.001411/0.001411, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001608/0.001608, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.439/1.439, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 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 0.002033/0.002033, allocations: 63.89 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.249, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007497/0.2565, allocations: 4.644 MB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2575, allocations: 0.5686 MB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.2576, allocations: 0 / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2578, allocations: 27.78 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.2596, allocations: 0.6112 MB / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.2599, allocations: 99.09 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.2601, allocations: 179.3 kB / 438.5 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.2602, allocations: 4 kB / 438.5 MB, free: 364 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.2613, allocations: 0.6304 MB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.2614, allocations: 51.77 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.2614, allocations: 4 kB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.263, allocations: 0.9048 MB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.2631, allocations: 27.89 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.2631, allocations: 35.88 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.2636, allocations: 254.9 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2636, allocations: 0 / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2636, allocations: 0 / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2636, allocations: 0 / 440.4 MB, free: 14.46 MB / 350.1 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.0005427/0.2641, allocations: 353.6 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2642, allocations: 11.98 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.2646, allocations: 40.86 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.2648, allocations: 134.4 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2649, allocations: 8.375 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.2649, allocations: 11.94 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.2652, allocations: 225 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2652, allocations: 0 / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2652, allocations: 8 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2652, allocations: 0 / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.2654, allocations: 110.5 kB / 441.3 MB, free: 13.49 MB / 350.1 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.0007573/0.2662, allocations: 0.5438 MB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2663, allocations: 78.48 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.2664, allocations: 36.84 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.2667, allocations: 59.95 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2667, allocations: 30.56 kB / 442 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2667, allocations: 0 / 442 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003104/0.267, allocations: 133.9 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.267, allocations: 55.34 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2672, allocations: 125.7 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2672, allocations: 29.7 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.2672, allocations: 100 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.2673, allocations: 47.53 kB / 442.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.2673, allocations: 37.7 kB / 442.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2675, allocations: 314.8 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.2675, allocations: 28.36 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.2676, allocations: 73.12 kB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2678, allocations: 101.1 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2678, allocations: 3.938 kB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002352/0.268, allocations: 148.5 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.268, allocations: 4 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.268, allocations: 4 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2681, allocations: 3.938 kB / 443.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2682, allocations: 31.98 kB / 443.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2682, allocations: 7.922 kB / 443.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.2683, allocations: 15.89 kB / 443.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2683, allocations: 8 kB / 443.3 MB, free: 11.34 MB / 350.1 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.0001047/0.2684, allocations: 117.8 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.2684, allocations: 11.95 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.2687, allocations: 138.1 kB / 443.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.2687, allocations: 7.938 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2687, allocations: 4 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2687, allocations: 0 / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.2692, allocations: 330 kB / 443.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2692, allocations: 0 / 443.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.2693, allocations: 27.92 kB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.2693, allocations: 7.922 kB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2693, allocations: 8 kB / 443.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2693, allocations: 0 / 443.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2693, allocations: 0 / 443.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.2695, allocations: 203.5 kB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.2696, allocations: 19.92 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2696, allocations: 7.938 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.2697, allocations: 0 / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.2697, allocations: 11.98 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2697, allocations: 4 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.792e-05/0.2698, allocations: 91.27 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2698, allocations: 0 / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.2702, allocations: 75.8 kB / 444.3 MB, free: 10.23 MB / 350.1 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.0002866/0.2704, allocations: 159.2 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.2706, allocations: 75.59 kB / 444.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2706, allocations: 7.938 kB / 444.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.688e-05/0.2707, allocations: 35.92 kB / 444.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2711, allocations: 39.94 kB / 444.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.2716, allocations: 274.1 kB / 444.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.2717, allocations: 79.75 kB / 445 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.2718, allocations: 27.42 kB / 445 MB, free: 9.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2718, allocations: 0 / 445 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Templates: time 0.004798/0.2766, allocations: 2.256 MB / 447.2 MB, free: 7.238 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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: 7.280828095972538]