Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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.001585/0.001585, allocations: 109 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.001897/0.001897, allocations: 213.7 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.408/1.408, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.88 MB / 361.3 MB, free: 4.438 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas")
translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 80.16 kB / 0.497 GB, free: 7.594 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3866, allocations: 66.02 MB / 0.5615 GB, free: 4.758 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1928/0.5793, allocations: 153.1 MB / 0.711 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.002955/0.5823, allocations: 2.204 MB / 0.7131 GB, free: 8.879 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.5824, allocations: 0 / 0.7131 GB, free: 8.879 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.5827, allocations: 67.58 kB / 0.7132 GB, free: 8.812 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.001648/0.5844, allocations: 0.6376 MB / 0.7138 GB, free: 8.176 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.5847, allocations: 119 kB / 0.7139 GB, free: 8.062 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003741/0.5851, allocations: 259.1 kB / 0.7142 GB, free: 7.809 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.5851, allocations: 7.984 kB / 0.7142 GB, free: 7.801 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.5854, allocations: 151.4 kB / 0.7143 GB, free: 7.652 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.5856, allocations: 95.7 kB / 0.7144 GB, free: 7.559 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.5856, allocations: 8 kB / 0.7144 GB, free: 7.551 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.5873, allocations: 0.8923 MB / 0.7153 GB, free: 6.656 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.5875, allocations: 99.69 kB / 0.7154 GB, free: 6.559 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.5876, allocations: 91.61 kB / 0.7155 GB, free: 6.469 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001126/0.5887, allocations: 0.6574 MB / 0.7161 GB, free: 5.812 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5887, allocations: 0 / 0.7161 GB, free: 5.812 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.5887, allocations: 0 / 0.7161 GB, free: 5.812 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.195e-05/0.5887, allocations: 0 / 0.7161 GB, free: 5.812 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 43
 * Number of variables: 43
Notification: Performance of Generate backend data structure: time 0.0008931/0.5896, allocations: 453.4 kB / 0.7166 GB, free: 5.34 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5897, allocations: 8.031 kB / 0.7166 GB, free: 5.332 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.5917, allocations: 272.5 kB / 0.7168 GB, free: 5.066 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.5923, allocations: 230 kB / 0.7171 GB, free: 4.816 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5923, allocations: 8.328 kB / 0.7171 GB, free: 4.809 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.5924, allocations: 20 kB / 0.7171 GB, free: 4.789 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.5934, allocations: 496.7 kB / 0.7176 GB, free: 4.293 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5934, allocations: 0 / 0.7176 GB, free: 4.293 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.5934, allocations: 8 kB / 0.7176 GB, free: 4.285 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.5935, allocations: 11.98 kB / 0.7176 GB, free: 4.273 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.5945, allocations: 0.5894 MB / 0.7182 GB, free: 3.684 MB / 0.545 GB
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.002446/0.5969, allocations: 0.9872 MB / 0.7191 GB, free: 2.648 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.5974, allocations: 237.1 kB / 0.7193 GB, free: 2.398 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.5976, allocations: 181.6 kB / 0.7195 GB, free: 2.215 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/0.5985, allocations: 152 kB / 0.7197 GB, free: 2.066 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5985, allocations: 42.55 kB / 0.7197 GB, free: 2.016 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.5985, allocations: 0 / 0.7197 GB, free: 2.016 MB / 0.545 GB
Notification: Performance of matching and sorting (n=28): time 0.002115/0.6006, allocations: 0.5942 MB / 0.7203 GB, free: 1.418 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.6007, allocations: 85.11 kB / 0.7204 GB, free: 1.316 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.6009, allocations: 125.8 kB / 0.7205 GB, free: 1.184 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.6009, allocations: 33.7 kB / 0.7205 GB, free: 1.145 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.601, allocations: 116.5 kB / 0.7206 GB, free: 1.027 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.6011, allocations: 111 kB / 0.7207 GB, free: 0.918 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.6013, allocations: 73.47 kB / 0.7208 GB, free: 0.8398 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001478/0.6014, allocations: 322.8 kB / 0.7211 GB, free: 0.5156 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.6018, allocations: 191.8 kB / 0.7213 GB, free: 336 kB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.6022, allocations: 288.5 kB / 0.7216 GB, free: 0 / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.6031, allocations: 499.1 kB / 0.722 GB, free: 15.47 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6031, allocations: 0 / 0.722 GB, free: 15.47 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.001028/0.6041, allocations: 0.5205 MB / 0.7225 GB, free: 14.94 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6041, allocations: 10.19 kB / 0.7226 GB, free: 14.93 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6041, allocations: 4 kB / 0.7226 GB, free: 14.93 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6042, allocations: 8.344 kB / 0.7226 GB, free: 14.92 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.6047, allocations: 87.83 kB / 0.7227 GB, free: 14.84 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.6047, allocations: 7.984 kB / 0.7227 GB, free: 14.83 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.6051, allocations: 35.77 kB / 0.7227 GB, free: 14.79 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.6052, allocations: 20 kB / 0.7227 GB, free: 14.77 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (41):
 * Single equations (assignments): 41
 * 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.0001953/0.6054, allocations: 143 kB / 0.7229 GB, free: 14.62 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6055, allocations: 19.91 kB / 0.7229 GB, free: 14.61 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.6066, allocations: 490.5 kB / 0.7233 GB, free: 14.12 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6066, allocations: 0 / 0.7233 GB, free: 14.12 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6066, allocations: 4 kB / 0.7233 GB, free: 14.12 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6066, allocations: 7.984 kB / 0.7234 GB, free: 14.11 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.6074, allocations: 428.9 kB / 0.7238 GB, free: 13.65 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6074, allocations: 4 kB / 0.7238 GB, free: 13.64 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.6079, allocations: 55.91 kB / 0.7238 GB, free: 13.59 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.6079, allocations: 4 kB / 0.7238 GB, free: 13.59 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.6079, allocations: 15.98 kB / 0.7238 GB, free: 13.57 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6079, allocations: 0 / 0.7238 GB, free: 13.57 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6079, allocations: 4 kB / 0.7238 GB, free: 13.57 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.6092, allocations: 0.6942 MB / 0.7245 GB, free: 12.86 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.6092, allocations: 23.83 kB / 0.7245 GB, free: 12.84 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.6093, allocations: 7.984 kB / 0.7245 GB, free: 12.83 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.6098, allocations: 19.98 kB / 0.7246 GB, free: 12.81 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.6098, allocations: 19.95 kB / 0.7246 GB, free: 12.79 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.6099, allocations: 15.98 kB / 0.7246 GB, free: 12.77 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 7.826e-05/0.6099, allocations: 103.3 kB / 0.7247 GB, free: 12.67 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 8e-08/0.6099, allocations: 0 / 0.7247 GB, free: 12.67 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0007222/0.6107, allocations: 167.6 kB / 0.7249 GB, free: 12.51 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T)
 * 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 (28):
 * Single equations (assignments): 28
 * 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.0009463/0.6116, allocations: 347.4 kB / 0.7252 GB, free: 12.16 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0008469/0.6125, allocations: 408.4 kB / 0.7256 GB, free: 11.76 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6125, allocations: 4.062 kB / 0.7256 GB, free: 11.75 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.6128, allocations: 211.8 kB / 0.7258 GB, free: 11.55 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.6136, allocations: 92.36 kB / 0.7259 GB, free: 11.46 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.6151, allocations: 0.8838 MB / 0.7267 GB, free: 10.54 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.6155, allocations: 0.7404 MB / 0.7275 GB, free: 9.773 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0004493/0.616, allocations: 109.8 kB / 0.7276 GB, free: 9.668 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.6161, allocations: 23.44 kB / 0.7276 GB, free: 9.645 MB / 0.5606 GB
Notification: Performance of SimCode: time 3.71e-07/0.6161, allocations: 3.938 kB / 0.7276 GB, free: 9.641 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01481/0.6309, allocations: 8.273 MB / 0.7357 GB, free: 1.414 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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: 5.669025096111]