Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001524/0.001524, allocations: 117 kB / 21.85 MB, free: 72 kB / 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.001777/0.001777, allocations: 213.1 kB / 25.13 MB, free: 3.582 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.456/1.456, allocations: 230.4 MB / 258.7 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.233/0.233, allocations: 46.93 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 80.14 kB / 0.4978 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3515, allocations: 66.09 MB / 0.5623 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1924/0.5439, allocations: 151 MB / 0.7097 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.5469, allocations: 2.18 MB / 0.7119 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.5469, allocations: 0 / 0.7119 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.5473, allocations: 55.7 kB / 0.7119 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.549, allocations: 0.6453 MB / 0.7126 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.5494, allocations: 111.8 kB / 0.7127 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.5498, allocations: 263 kB / 0.7129 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.5498, allocations: 8 kB / 0.7129 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.5501, allocations: 151.4 kB / 0.7131 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.5504, allocations: 95.64 kB / 0.7132 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.5504, allocations: 8 kB / 0.7132 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.5519, allocations: 0.7754 MB / 0.7139 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.5521, allocations: 91.75 kB / 0.714 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.5522, allocations: 95.59 kB / 0.7141 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.5533, allocations: 0.6453 MB / 0.7147 GB, free: 7.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5533, allocations: 4 kB / 0.7147 GB, free: 7.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5533, allocations: 3.938 kB / 0.7147 GB, free: 7.602 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5533, allocations: 0 / 0.7147 GB, free: 7.602 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.0008409/0.5541, allocations: 445.4 kB / 0.7152 GB, free: 7.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5542, allocations: 11.97 kB / 0.7152 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.5561, allocations: 276.5 kB / 0.7154 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.5566, allocations: 226 kB / 0.7157 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5566, allocations: 8.328 kB / 0.7157 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.5567, allocations: 20 kB / 0.7157 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000902/0.5576, allocations: 0.6435 MB / 0.7163 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5576, allocations: 0 / 0.7163 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.5577, allocations: 4 kB / 0.7163 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.5577, allocations: 8 kB / 0.7163 GB, free: 5.879 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.5586, allocations: 0.5894 MB / 0.7169 GB, free: 5.289 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.002331/0.561, allocations: 0.9871 MB / 0.7179 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.5614, allocations: 241 kB / 0.7181 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.5617, allocations: 181.6 kB / 0.7183 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008805/0.5626, allocations: 151.8 kB / 0.7184 GB, free: 3.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5626, allocations: 42.56 kB / 0.7185 GB, free: 3.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.5626, allocations: 0 / 0.7185 GB, free: 3.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001979/0.5646, allocations: 0.5979 MB / 0.719 GB, free: 3.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.5646, allocations: 85.05 kB / 0.7191 GB, free: 2.914 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5648, allocations: 129.8 kB / 0.7192 GB, free: 2.777 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.5648, allocations: 33.7 kB / 0.7193 GB, free: 2.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.5649, allocations: 116.5 kB / 0.7194 GB, free: 2.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.565, allocations: 115 kB / 0.7195 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5652, allocations: 69.47 kB / 0.7196 GB, free: 2.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5653, allocations: 326.8 kB / 0.7199 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.5657, allocations: 179.9 kB / 0.72 GB, free: 1.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.5661, allocations: 292.5 kB / 0.7203 GB, free: 1.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.567, allocations: 496.5 kB / 0.7208 GB, free: 1.066 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.567, allocations: 0 / 0.7208 GB, free: 1.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001029/0.568, allocations: 0.5228 MB / 0.7213 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.568, allocations: 6.344 kB / 0.7213 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.568, allocations: 4 kB / 0.7213 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5681, allocations: 8 kB / 0.7213 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.5686, allocations: 83.81 kB / 0.7214 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5686, allocations: 7.938 kB / 0.7214 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.569, allocations: 39.77 kB / 0.7214 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.569, allocations: 20.28 kB / 0.7215 GB, free: 384 kB / 0.545 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.0001817/0.5692, allocations: 145.7 kB / 0.7216 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5693, allocations: 19.91 kB / 0.7216 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.5704, allocations: 490.3 kB / 0.7221 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5704, allocations: 4 kB / 0.7221 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5704, allocations: 3.938 kB / 0.7221 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5704, allocations: 4 kB / 0.7221 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.5712, allocations: 433 kB / 0.7225 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5712, allocations: 0 / 0.7225 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.5717, allocations: 63.95 kB / 0.7226 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5717, allocations: 4 kB / 0.7226 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.5717, allocations: 8 kB / 0.7226 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5717, allocations: 0 / 0.7226 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5717, allocations: 7.938 kB / 0.7226 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.5729, allocations: 0.681 MB / 0.7233 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.573, allocations: 23.83 kB / 0.7233 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.573, allocations: 12 kB / 0.7233 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.5735, allocations: 27.95 kB / 0.7233 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.5736, allocations: 11.97 kB / 0.7233 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.5736, allocations: 19.98 kB / 0.7234 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.5737, allocations: 95.27 kB / 0.7234 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5737, allocations: 0 / 0.7234 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006806/0.5744, allocations: 171.6 kB / 0.7236 GB, free: 14.11 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.0008019/0.5752, allocations: 346.6 kB / 0.7239 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008437/0.576, allocations: 418.5 kB / 0.7243 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.576, allocations: 0 / 0.7243 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.5764, allocations: 212.6 kB / 0.7245 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.5772, allocations: 92.39 kB / 0.7246 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.5786, allocations: 0.8878 MB / 0.7255 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.579, allocations: 0.7288 MB / 0.7262 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004423/0.5795, allocations: 113.8 kB / 0.7263 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.5796, allocations: 31.42 kB / 0.7263 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.5796, allocations: 0 / 0.7263 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.01476/0.5944, allocations: 8.281 MB / 0.7344 GB, free: 2.996 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.720911944983527]