Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2775/0.2775, allocations: 46.91 MB / 357.1 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 72.08 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1412, allocations: 65.99 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5315/0.6726, allocations: 153 MB / 0.7053 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00349/0.6761, allocations: 2.191 MB / 0.7074 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.6763, allocations: 0 / 0.7074 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.6768, allocations: 71.66 kB / 0.7075 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.679, allocations: 0.63 MB / 0.7081 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.6794, allocations: 107.7 kB / 0.7082 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000472/0.6799, allocations: 263 kB / 0.7085 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.68, allocations: 7.984 kB / 0.7085 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.6804, allocations: 143.4 kB / 0.7086 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.6807, allocations: 95.64 kB / 0.7087 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.6807, allocations: 8 kB / 0.7087 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.683, allocations: 0.8884 MB / 0.7096 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.6831, allocations: 75.83 kB / 0.7096 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.6833, allocations: 103.5 kB / 0.7097 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.6849, allocations: 0.6587 MB / 0.7104 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6849, allocations: 0 / 0.7104 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6849, allocations: 0 / 0.7104 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6849, allocations: 4 kB / 0.7104 GB, free: 3.02 MB / 0.5137 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.001199/0.6861, allocations: 0.5064 MB / 0.7109 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.6862, allocations: 8.031 kB / 0.7109 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.6885, allocations: 276.2 kB / 0.7111 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.689, allocations: 280.2 kB / 0.7114 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.689, allocations: 16.27 kB / 0.7114 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6891, allocations: 20 kB / 0.7114 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009513/0.6901, allocations: 0.4938 MB / 0.7119 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6901, allocations: 3.984 kB / 0.7119 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.6902, allocations: 8 kB / 0.7119 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.6902, allocations: 14 kB / 0.712 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.6912, allocations: 0.5778 MB / 0.7125 GB, free: 0.7383 MB / 0.5137 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.002813/0.6941, allocations: 1.016 MB / 0.7135 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.6945, allocations: 237 kB / 0.7137 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.6948, allocations: 181.6 kB / 0.7139 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.6959, allocations: 375.2 kB / 0.7143 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.696, allocations: 50.48 kB / 0.7143 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.003e-06/0.696, allocations: 0 / 0.7143 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002257/0.6982, allocations: 0.5968 MB / 0.7149 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.6983, allocations: 81.11 kB / 0.715 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.6985, allocations: 128.6 kB / 0.7151 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.6985, allocations: 37.7 kB / 0.7151 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.6986, allocations: 116.5 kB / 0.7152 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.6988, allocations: 115 kB / 0.7154 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.6989, allocations: 65.48 kB / 0.7154 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.6991, allocations: 326.8 kB / 0.7157 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.6995, allocations: 179.9 kB / 0.7159 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.7, allocations: 300.5 kB / 0.7162 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.7008, allocations: 489.4 kB / 0.7167 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7008, allocations: 0 / 0.7167 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.7019, allocations: 0.5267 MB / 0.7172 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.702, allocations: 4 kB / 0.7172 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.702, allocations: 4 kB / 0.7172 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.702, allocations: 8 kB / 0.7172 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.7026, allocations: 79.89 kB / 0.7173 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.7026, allocations: 11.92 kB / 0.7173 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.703, allocations: 41.05 kB / 0.7173 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.7031, allocations: 20 kB / 0.7173 GB, free: 11.52 MB / 0.5294 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.0002241/0.7033, allocations: 143.9 kB / 0.7175 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.7035, allocations: 19.91 kB / 0.7175 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.7046, allocations: 488.7 kB / 0.718 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7046, allocations: 4 kB / 0.718 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7046, allocations: 5.062 kB / 0.718 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.7046, allocations: 7.984 kB / 0.718 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.7055, allocations: 453.9 kB / 0.7184 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7055, allocations: 0 / 0.7184 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.7061, allocations: 63.91 kB / 0.7185 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7061, allocations: 0 / 0.7185 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.7061, allocations: 15.98 kB / 0.7185 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.7061, allocations: 2.812 kB / 0.7185 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7061, allocations: 0 / 0.7185 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.7075, allocations: 0.6917 MB / 0.7192 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.7075, allocations: 92.95 kB / 0.7192 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.7076, allocations: 11.98 kB / 0.7193 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.7081, allocations: 15.98 kB / 0.7193 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.7082, allocations: 19.97 kB / 0.7193 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.7082, allocations: 15.98 kB / 0.7193 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.7083, allocations: 95.27 kB / 0.7194 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7083, allocations: 3.938 kB / 0.7194 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008047/0.7091, allocations: 175.6 kB / 0.7196 GB, free: 9.133 MB / 0.5294 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.001063/0.7102, allocations: 347.7 kB / 0.7199 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009604/0.7112, allocations: 418 kB / 0.7203 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7112, allocations: 0 / 0.7203 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.7116, allocations: 208.6 kB / 0.7205 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.7124, allocations: 94.72 kB / 0.7206 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.714, allocations: 0.8953 MB / 0.7215 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.7145, allocations: 0.7405 MB / 0.7222 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004729/0.715, allocations: 109.8 kB / 0.7223 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.7151, allocations: 31.42 kB / 0.7223 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of SimCode: time 6.62e-07/0.7151, allocations: 4 kB / 0.7223 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.01562/0.7307, allocations: 8.071 MB / 0.7302 GB, free: 14.22 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.31307989358902]