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.001695/0.001695, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002019/0.002019, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.488/1.488, allocations: 230.3 MB / 258 MB, free: 8.199 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.001876/0.001876, allocations: 68.06 kB / 378.7 MB, free: 2.789 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2324, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007903/0.2403, allocations: 4.992 MB / 437.1 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009905/0.2413, allocations: 0.6192 MB / 437.7 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.2413, allocations: 0 / 437.7 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.2416, allocations: 35.75 kB / 437.7 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00166/0.2432, allocations: 0.615 MB / 438.4 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.2435, allocations: 99.48 kB / 438.5 MB, free: 0.6914 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003001/0.2438, allocations: 183.3 kB / 438.6 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.2438, allocations: 0 / 438.6 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.2451, allocations: 0.6275 MB / 439.3 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.2452, allocations: 47.83 kB / 439.3 MB, free: 15.84 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2452, allocations: 8 kB / 439.3 MB, free: 15.83 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.2468, allocations: 0.9145 MB / 440.2 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.2469, allocations: 19.92 kB / 440.2 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.109e-05/0.247, allocations: 51.72 kB / 440.3 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.2475, allocations: 251 kB / 440.5 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2475, allocations: 0 / 440.5 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.222e-06/0.2475, allocations: 0 / 440.5 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.31e-06/0.2475, allocations: 0 / 440.5 MB, free: 14.6 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.0005761/0.248, allocations: 349.6 kB / 440.9 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2481, allocations: 12.03 kB / 440.9 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.2485, allocations: 32.86 kB / 440.9 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2488, allocations: 138.4 kB / 441.1 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2488, allocations: 12.38 kB / 441.1 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2488, allocations: 11.94 kB / 441.1 MB, free: 14 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2491, allocations: 143.8 kB / 441.2 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2491, allocations: 0 / 441.2 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.2492, allocations: 4 kB / 441.2 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2492, allocations: 4 kB / 441.2 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.2494, allocations: 115.8 kB / 441.3 MB, free: 13.73 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.0008977/0.2503, allocations: 0.6324 MB / 442 MB, free: 13.03 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.2505, allocations: 78.48 kB / 442.1 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.715e-05/0.2505, allocations: 32.84 kB / 442.1 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.2508, allocations: 63.94 kB / 442.2 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2509, allocations: 34.56 kB / 442.2 MB, free: 12.8 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2509, allocations: 0 / 442.2 MB, free: 12.8 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0003427/0.2512, allocations: 133.8 kB / 442.3 MB, free: 12.66 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.2512, allocations: 55.34 kB / 442.4 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2514, allocations: 117.8 kB / 442.5 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2514, allocations: 25.7 kB / 442.5 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.2515, allocations: 108 kB / 442.6 MB, free: 12.33 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.2515, allocations: 51.58 kB / 442.7 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.2516, allocations: 33.67 kB / 442.7 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001513/0.2517, allocations: 318.8 kB / 443 MB, free: 11.92 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.2518, allocations: 27.98 kB / 443 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2519, allocations: 67.58 kB / 443.1 MB, free: 11.81 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2521, allocations: 108.6 kB / 443.2 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2521, allocations: 4 kB / 443.2 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002508/0.2523, allocations: 137.5 kB / 443.3 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2523, allocations: 4 kB / 443.4 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2523, allocations: 4 kB / 443.4 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2524, allocations: 3.938 kB / 443.4 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.2525, allocations: 43.92 kB / 443.4 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2525, allocations: 0 / 443.4 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.2526, allocations: 11.89 kB / 443.4 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.2526, allocations: 15.98 kB / 443.4 MB, free: 11.46 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.0001085/0.2527, allocations: 118 kB / 443.5 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.2527, allocations: 7.953 kB / 443.6 MB, free: 11.33 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.253, allocations: 158.2 kB / 443.7 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.253, allocations: 0 / 443.7 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2531, allocations: 0 / 443.7 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2531, allocations: 0 / 443.7 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.2536, allocations: 373.3 kB / 444.1 MB, free: 10.76 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2536, allocations: 4 kB / 444.1 MB, free: 10.75 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.114e-05/0.2536, allocations: 16 kB / 444.1 MB, free: 10.74 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.2536, allocations: 7.938 kB / 444.1 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2537, allocations: 7.984 kB / 444.1 MB, free: 10.72 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2537, allocations: 0 / 444.1 MB, free: 10.72 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2537, allocations: 0 / 444.1 MB, free: 10.72 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2539, allocations: 207.4 kB / 444.3 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2539, allocations: 15.94 kB / 444.3 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.254, allocations: 8 kB / 444.3 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.2541, allocations: 4 kB / 444.3 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.2541, allocations: 7.984 kB / 444.3 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.2541, allocations: 11.98 kB / 444.4 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 7.367e-05/0.2542, allocations: 91.27 kB / 444.4 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2542, allocations: 0 / 444.4 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003424/0.2545, allocations: 55.88 kB / 444.5 MB, free: 10.31 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.0003032/0.2548, allocations: 159.1 kB / 444.7 MB, free: 10.15 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001932/0.255, allocations: 87.33 kB / 444.7 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.255, allocations: 0 / 444.7 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.2551, allocations: 35.98 kB / 444.8 MB, free: 10.03 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.2555, allocations: 44.44 kB / 444.8 MB, free: 9.988 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.256, allocations: 244.2 kB / 445.1 MB, free: 9.723 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2564, allocations: 0.6966 MB / 445.8 MB, free: 9 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001229/0.2565, allocations: 32.89 kB / 445.8 MB, free: 8.969 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2565, allocations: 19.42 kB / 445.8 MB, free: 8.949 MB / 350.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.2565, allocations: 0 / 445.8 MB, free: 8.949 MB / 350.1 MB
Notification: Performance of Templates: time 0.006504/0.2631, allocations: 2.567 MB / 448.4 MB, free: 6.406 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/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.472702033817768]