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.00198/0.00198, allocations: 89.22 kB / 20.68 MB, free: 1.02 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.002374/0.002374, allocations: 158.6 kB / 23.95 MB, free: 4.152 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.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 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.951e-05, allocations: 2.281 kB / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007644/0.007663, allocations: 4.636 MB / 329.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.008609, allocations: 0.5704 MB / 330.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.008659, allocations: 3.938 kB / 330.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.008917, allocations: 28.94 kB / 330.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.0108, allocations: 0.6225 MB / 330.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.0111, allocations: 107 kB / 331 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.01141, allocations: 182.3 kB / 331.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.01145, allocations: 6.531 kB / 331.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.01268, allocations: 0.6508 MB / 331.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.01278, allocations: 45.61 kB / 331.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.0128, allocations: 9.688 kB / 331.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.01447, allocations: 0.9048 MB / 332.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.01453, allocations: 21.44 kB / 332.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.01459, allocations: 33.08 kB / 332.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.01508, allocations: 269.9 kB / 333.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01508, allocations: 4.938 kB / 333.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01508, allocations: 0 / 333.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.01509, allocations: 0 / 333.1 MB, free: 11.59 MB / 302.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.0005592/0.01565, allocations: 355.3 kB / 333.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.01569, allocations: 12.98 kB / 333.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.0161, allocations: 36.14 kB / 333.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.01638, allocations: 136 kB / 333.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.01639, allocations: 3.062 kB / 333.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.01641, allocations: 10.12 kB / 333.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.01675, allocations: 229.2 kB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.01676, allocations: 0 / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01678, allocations: 1.219 kB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.01678, allocations: 2.531 kB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.01697, allocations: 108.5 kB / 333.9 MB, free: 10.81 MB / 302.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.0007643/0.01774, allocations: 0.5528 MB / 334.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.01789, allocations: 78.77 kB / 334.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.01796, allocations: 32.12 kB / 334.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.01823, allocations: 59.3 kB / 334.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.01826, allocations: 37.5 kB / 334.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01826, allocations: 0 / 334.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003266/0.01859, allocations: 128 kB / 334.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.01864, allocations: 56.78 kB / 334.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.01875, allocations: 123 kB / 335 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.01878, allocations: 26.61 kB / 335 MB, free: 9.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.01887, allocations: 102.4 kB / 335.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01891, allocations: 46.02 kB / 335.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.01897, allocations: 38.17 kB / 335.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.01912, allocations: 324.8 kB / 335.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.01918, allocations: 30.58 kB / 335.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.01927, allocations: 63.27 kB / 335.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.01943, allocations: 107.5 kB / 335.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01943, allocations: 0 / 335.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002387/0.01967, allocations: 143.9 kB / 335.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01968, allocations: 9.719 kB / 335.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01969, allocations: 1.375 kB / 335.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.0197, allocations: 1.312 kB / 335.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.01984, allocations: 33.39 kB / 335.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01985, allocations: 2.438 kB / 335.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.67e-05/0.01991, allocations: 15.77 kB / 335.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.01994, allocations: 11.34 kB / 335.9 MB, free: 9.078 MB / 302.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.0001115/0.02005, allocations: 127.1 kB / 336.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.02009, allocations: 11.31 kB / 336.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.02039, allocations: 137.2 kB / 336.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02039, allocations: 1.156 kB / 336.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.0204, allocations: 1.125 kB / 336.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0204, allocations: 0 / 336.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.02086, allocations: 340.7 kB / 336.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.02086, allocations: 1.062 kB / 336.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.678e-05/0.02095, allocations: 26.27 kB / 336.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.02095, allocations: 0 / 336.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.02096, allocations: 6.281 kB / 336.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02096, allocations: 1.062 kB / 336.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.02097, allocations: 3.938 kB / 336.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.0212, allocations: 203.1 kB / 336.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.02125, allocations: 21.5 kB / 336.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.02126, allocations: 1.156 kB / 336.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.02137, allocations: 9.359 kB / 336.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.0214, allocations: 11.42 kB / 336.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.02142, allocations: 5.219 kB / 336.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.288e-05/0.02148, allocations: 90.86 kB / 336.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02148, allocations: 0.9375 kB / 336.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.02183, allocations: 69.53 kB / 337 MB, free: 8.23 MB / 302.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.000308/0.02214, allocations: 167.5 kB / 337.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.02233, allocations: 83.66 kB / 337.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02233, allocations: 0 / 337.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.02239, allocations: 38.58 kB / 337.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.02283, allocations: 36.16 kB / 337.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.02326, allocations: 216.7 kB / 337.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.02334, allocations: 80.55 kB / 337.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.02347, allocations: 38.91 kB / 337.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.02352, allocations: 21.41 kB / 337.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02352, allocations: 0 / 337.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Templates: time 0.006819/0.03034, allocations: 2.52 MB / 340.2 MB, free: 5.582 MB / 302.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/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.392080590128899]