Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001377, allocations: 113.4 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 188.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 51.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09937, allocations: 46.61 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3693/0.4687, allocations: 151 MB / 0.5138 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4715, allocations: 2.097 MB / 0.5158 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4716, allocations: 0 / 0.5158 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.4721, allocations: 55.66 kB / 0.5159 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.4738, allocations: 0.6027 MB / 0.5165 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.4742, allocations: 116.3 kB / 0.5166 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.4746, allocations: 255 kB / 0.5168 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.4747, allocations: 7.984 kB / 0.5168 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.475, allocations: 135 kB / 0.517 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.4752, allocations: 91.69 kB / 0.5171 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.4753, allocations: 8 kB / 0.5171 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.4769, allocations: 0.83 MB / 0.5179 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.477, allocations: 91.7 kB / 0.518 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.4771, allocations: 87.66 kB / 0.518 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.4783, allocations: 0.6447 MB / 0.5187 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4783, allocations: 0 / 0.5187 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4783, allocations: 0 / 0.5187 GB, free: 3.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4783, allocations: 0 / 0.5187 GB, free: 3.137 MB / 446.1 MB 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.0008756/0.4792, allocations: 0.5038 MB / 0.5192 GB, free: 2.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4793, allocations: 11.89 kB / 0.5192 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.4813, allocations: 268.4 kB / 0.5194 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.4819, allocations: 284 kB / 0.5197 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4819, allocations: 12.89 kB / 0.5197 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.482, allocations: 19.94 kB / 0.5197 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.4829, allocations: 0.5006 MB / 0.5202 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4829, allocations: 0 / 0.5202 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.483, allocations: 8 kB / 0.5202 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.483, allocations: 8 kB / 0.5202 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.4839, allocations: 0.5894 MB / 0.5208 GB, free: 0.8477 MB / 446.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.002415/0.4863, allocations: 1.016 MB / 0.5218 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.4868, allocations: 245 kB / 0.522 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.487, allocations: 181.6 kB / 0.5222 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/0.4878, allocations: 282 kB / 0.5225 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4879, allocations: 34.56 kB / 0.5225 GB, free: 14.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.4879, allocations: 4 kB / 0.5225 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001951/0.4898, allocations: 0.5991 MB / 0.5231 GB, free: 14.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.4899, allocations: 81.09 kB / 0.5232 GB, free: 14.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.49, allocations: 125.8 kB / 0.5233 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.4901, allocations: 33.7 kB / 0.5233 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.4902, allocations: 112.3 kB / 0.5234 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/0.4903, allocations: 106.5 kB / 0.5235 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.4904, allocations: 69.69 kB / 0.5236 GB, free: 13.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4906, allocations: 326.8 kB / 0.5239 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.491, allocations: 183.9 kB / 0.5241 GB, free: 13.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.4914, allocations: 292.5 kB / 0.5244 GB, free: 12.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.4922, allocations: 488.6 kB / 0.5248 GB, free: 12.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4922, allocations: 0 / 0.5248 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009744/0.4932, allocations: 0.5207 MB / 0.5254 GB, free: 11.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4932, allocations: 8 kB / 0.5254 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4932, allocations: 7.938 kB / 0.5254 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4933, allocations: 8.859 kB / 0.5254 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.4938, allocations: 83.83 kB / 0.5255 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.4938, allocations: 8 kB / 0.5255 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.4942, allocations: 35.67 kB / 0.5255 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.4943, allocations: 16 kB / 0.5255 GB, free: 11.75 MB / 462.1 MB 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.0001558/0.4945, allocations: 145.9 kB / 0.5257 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4946, allocations: 23.73 kB / 0.5257 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.4956, allocations: 493.8 kB / 0.5261 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4956, allocations: 4 kB / 0.5262 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4956, allocations: 2.312 kB / 0.5262 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4956, allocations: 0 / 0.5262 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.4964, allocations: 462.1 kB / 0.5266 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.4964, allocations: 7.875 kB / 0.5266 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.4969, allocations: 55.95 kB / 0.5267 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.497, allocations: 0 / 0.5267 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.497, allocations: 12 kB / 0.5267 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.497, allocations: 7.984 kB / 0.5267 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.497, allocations: 0 / 0.5267 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4982, allocations: 0.6907 MB / 0.5273 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.4983, allocations: 92.86 kB / 0.5274 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.4983, allocations: 12 kB / 0.5274 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.4989, allocations: 19.97 kB / 0.5275 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.4989, allocations: 15.98 kB / 0.5275 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.499, allocations: 19.98 kB / 0.5275 GB, free: 9.621 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.218e-05/0.4991, allocations: 100.6 kB / 0.5276 GB, free: 9.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4991, allocations: 0 / 0.5276 GB, free: 9.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008734/0.5, allocations: 159.9 kB / 0.5278 GB, free: 9.367 MB / 462.1 MB 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.000946/0.5009, allocations: 334.9 kB / 0.5281 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008699/0.5018, allocations: 451.5 kB / 0.5285 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5018, allocations: 0 / 0.5285 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.5022, allocations: 217.2 kB / 0.5287 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.503, allocations: 101.8 kB / 0.5288 GB, free: 8.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5045, allocations: 0.8781 MB / 0.5297 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.5049, allocations: 0.7403 MB / 0.5304 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.5054, allocations: 117.8 kB / 0.5305 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5055, allocations: 23.44 kB / 0.5305 GB, free: 6.477 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5056, allocations: 3.938 kB / 0.5305 GB, free: 6.473 MB / 462.1 MB Notification: Performance of Templates: time 0.01459/0.5201, allocations: 8.212 MB / 0.5385 GB, free: 14.26 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches