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.001544/0.001544, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001793/0.001793, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2286/0.2286, allocations: 46.94 MB / 361.6 MB, free: 4.277 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.002042/0.002042, allocations: 67.91 kB / 0.4974 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1822/0.4916, allocations: 153.1 MB / 0.7113 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.4945, allocations: 2.2 MB / 0.7135 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.4946, allocations: 4 kB / 0.7135 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.495, allocations: 63.7 kB / 0.7135 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.4967, allocations: 0.6414 MB / 0.7142 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.497, allocations: 111.8 kB / 0.7143 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.4974, allocations: 263 kB / 0.7145 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.4974, allocations: 4 kB / 0.7145 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.4977, allocations: 151.4 kB / 0.7147 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.4979, allocations: 95.7 kB / 0.7148 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.498, allocations: 8 kB / 0.7148 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.4997, allocations: 0.8963 MB / 0.7157 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4998, allocations: 91.69 kB / 0.7157 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.5, allocations: 91.61 kB / 0.7158 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.5011, allocations: 0.6532 MB / 0.7165 GB, free: 5.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5011, allocations: 0 / 0.7165 GB, free: 5.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5011, allocations: 7.938 kB / 0.7165 GB, free: 5.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.5011, allocations: 7.938 kB / 0.7165 GB, free: 5.465 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.0008475/0.5019, allocations: 441.4 kB / 0.7169 GB, free: 5.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.502, allocations: 12.03 kB / 0.7169 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.504, allocations: 276.5 kB / 0.7172 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.5045, allocations: 226 kB / 0.7174 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5045, allocations: 12.33 kB / 0.7174 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.5046, allocations: 16 kB / 0.7174 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.5054, allocations: 0.489 MB / 0.7179 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5054, allocations: 0 / 0.7179 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.5054, allocations: 4 kB / 0.7179 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.5054, allocations: 11.98 kB / 0.7179 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.5063, allocations: 0.5894 MB / 0.7185 GB, free: 3.344 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.002355/0.5087, allocations: 0.9834 MB / 0.7194 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.5091, allocations: 241 kB / 0.7197 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.5094, allocations: 173.6 kB / 0.7198 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008621/0.5102, allocations: 163.8 kB / 0.72 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.5103, allocations: 34.56 kB / 0.72 GB, free: 1.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.5103, allocations: 4 kB / 0.72 GB, free: 1.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001944/0.5122, allocations: 0.5979 MB / 0.7206 GB, free: 1.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.5123, allocations: 81.11 kB / 0.7207 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5124, allocations: 133.8 kB / 0.7208 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.5125, allocations: 29.7 kB / 0.7209 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.5125, allocations: 116.7 kB / 0.721 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5126, allocations: 115 kB / 0.7211 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.5128, allocations: 69.47 kB / 0.7211 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5129, allocations: 326.8 kB / 0.7215 GB, free: 172 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.5133, allocations: 187.8 kB / 0.7216 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.5137, allocations: 291.5 kB / 0.7219 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.5145, allocations: 492.5 kB / 0.7224 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5145, allocations: 0 / 0.7224 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001049/0.5156, allocations: 0.5309 MB / 0.7229 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5156, allocations: 8 kB / 0.7229 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5156, allocations: 4 kB / 0.7229 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.5156, allocations: 4 kB / 0.7229 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.5162, allocations: 79.83 kB / 0.723 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5162, allocations: 8 kB / 0.723 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.5166, allocations: 39.77 kB / 0.723 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.5166, allocations: 19.92 kB / 0.7231 GB, free: 14.43 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.0001916/0.5168, allocations: 157.8 kB / 0.7232 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5169, allocations: 15.91 kB / 0.7232 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.5179, allocations: 482.1 kB / 0.7237 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5179, allocations: 4 kB / 0.7237 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.518, allocations: 0 / 0.7237 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.518, allocations: 3.984 kB / 0.7237 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.5187, allocations: 432.9 kB / 0.7241 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5187, allocations: 0 / 0.7241 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.5192, allocations: 59.89 kB / 0.7242 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5192, allocations: 0 / 0.7242 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.5193, allocations: 19.98 kB / 0.7242 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.5193, allocations: 7.938 kB / 0.7242 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5193, allocations: 0 / 0.7242 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5204, allocations: 0.6784 MB / 0.7248 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.5205, allocations: 19.84 kB / 0.7249 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.5205, allocations: 12 kB / 0.7249 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.521, allocations: 27.97 kB / 0.7249 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.5211, allocations: 15.97 kB / 0.7249 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.5211, allocations: 15.98 kB / 0.7249 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.208e-05/0.5212, allocations: 103.7 kB / 0.725 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5212, allocations: 0 / 0.725 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006838/0.5219, allocations: 163.6 kB / 0.7252 GB, free: 12.18 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.0008667/0.5227, allocations: 350.7 kB / 0.7255 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.5236, allocations: 423.9 kB / 0.7259 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5236, allocations: 0 / 0.7259 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.524, allocations: 207.8 kB / 0.7261 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.5246, allocations: 104.8 kB / 0.7262 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5262, allocations: 0.9128 MB / 0.7271 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.5266, allocations: 0.7366 MB / 0.7278 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5268, allocations: 39.42 kB / 0.7279 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.5268, allocations: 0 / 0.7279 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of Templates: time 0.0114/0.5382, allocations: 6.675 MB / 0.7344 GB, free: 2.68 MB / 0.5606 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/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_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: 8.825818369863555]