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.001603/0.001603, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.001546/0.001546, allocations: 189.2 kB / 19.39 MB, free: 3.688 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.558/1.558, allocations: 207.6 MB / 227.8 MB, free: 11.56 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.001814/0.001814, allocations: 55.92 kB / 336.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.345, allocations: 49.12 MB / 385.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2281/0.5732, allocations: 151.4 MB / 0.5247 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.5765, allocations: 2.091 MB / 0.5267 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.5766, allocations: 8 kB / 0.5267 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.5771, allocations: 55.72 kB / 0.5268 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.579, allocations: 0.6183 MB / 0.5274 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.5795, allocations: 99.8 kB / 0.5275 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.5798, allocations: 263 kB / 0.5277 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/0.5799, allocations: 7.984 kB / 0.5278 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.5802, allocations: 139.4 kB / 0.5279 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.5804, allocations: 95.64 kB / 0.528 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.5804, allocations: 8 kB / 0.528 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.5824, allocations: 0.8534 MB / 0.5288 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.5825, allocations: 87.75 kB / 0.5289 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.5827, allocations: 95.59 kB / 0.529 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.584, allocations: 0.6499 MB / 0.5296 GB, free: 7.637 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.584, allocations: 0 / 0.5296 GB, free: 7.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.584, allocations: 0 / 0.5296 GB, free: 7.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.584, allocations: 0 / 0.5296 GB, free: 7.637 MB / 462.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.001156/0.5851, allocations: 0.5025 MB / 0.5301 GB, free: 7.086 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5852, allocations: 15.89 kB / 0.5301 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.5875, allocations: 264.5 kB / 0.5304 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.588, allocations: 284 kB / 0.5307 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.5881, allocations: 16.7 kB / 0.5307 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.5881, allocations: 27.88 kB / 0.5307 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/0.5891, allocations: 0.4928 MB / 0.5312 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5891, allocations: 0 / 0.5312 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.5892, allocations: 12 kB / 0.5312 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.5892, allocations: 8 kB / 0.5312 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5903, allocations: 0.5816 MB / 0.5318 GB, free: 5.348 MB / 462.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.002817/0.5931, allocations: 1.02 MB / 0.5328 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.5936, allocations: 245 kB / 0.533 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.5939, allocations: 185.6 kB / 0.5332 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008967/0.5948, allocations: 282.2 kB / 0.5334 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5948, allocations: 34.56 kB / 0.5335 GB, free: 3.473 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.5948, allocations: 4 kB / 0.5335 GB, free: 3.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002257/0.5971, allocations: 0.5954 MB / 0.5341 GB, free: 2.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.5971, allocations: 81.11 kB / 0.5341 GB, free: 2.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5972, allocations: 129.8 kB / 0.5343 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.5973, allocations: 29.7 kB / 0.5343 GB, free: 2.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5974, allocations: 120.5 kB / 0.5344 GB, free: 2.477 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5975, allocations: 115 kB / 0.5345 GB, free: 2.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.5977, allocations: 65.66 kB / 0.5346 GB, free: 2.293 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5979, allocations: 330.8 kB / 0.5349 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.5983, allocations: 191.8 kB / 0.5351 GB, free: 1.773 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.5988, allocations: 288.5 kB / 0.5354 GB, free: 1.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.5996, allocations: 488.6 kB / 0.5358 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5996, allocations: 4 kB / 0.5358 GB, free: 0.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001225/0.6009, allocations: 0.5166 MB / 0.5363 GB, free: 404 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6009, allocations: 4.406 kB / 0.5363 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.6009, allocations: 8 kB / 0.5363 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.6009, allocations: 4 kB / 0.5363 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.6016, allocations: 95.81 kB / 0.5364 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.6016, allocations: 4 kB / 0.5364 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.6021, allocations: 35.77 kB / 0.5365 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.6021, allocations: 16 kB / 0.5365 GB, free: 236 kB / 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.0001789/0.6023, allocations: 145.8 kB / 0.5366 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.6024, allocations: 19.83 kB / 0.5366 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.6036, allocations: 498.9 kB / 0.5371 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.6036, allocations: 4 kB / 0.5371 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6036, allocations: 0 / 0.5371 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6036, allocations: 0 / 0.5371 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.6045, allocations: 462 kB / 0.5376 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6045, allocations: 0 / 0.5376 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.6051, allocations: 59.95 kB / 0.5376 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.6051, allocations: 0 / 0.5376 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.6052, allocations: 12 kB / 0.5376 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6052, allocations: 3.938 kB / 0.5376 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6052, allocations: 3.938 kB / 0.5376 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.6064, allocations: 0.6949 MB / 0.5383 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.6066, allocations: 96.94 kB / 0.5384 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.6066, allocations: 8 kB / 0.5384 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.6072, allocations: 23.95 kB / 0.5384 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.6072, allocations: 19.98 kB / 0.5385 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.6072, allocations: 15.98 kB / 0.5385 GB, free: 14.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.6073, allocations: 103.3 kB / 0.5386 GB, free: 13.99 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6073, allocations: 0 / 0.5386 GB, free: 13.99 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.6081, allocations: 155.7 kB / 0.5387 GB, free: 13.84 MB / 478.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.0009341/0.6091, allocations: 330.7 kB / 0.539 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008789/0.61, allocations: 431.8 kB / 0.5395 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.61, allocations: 0 / 0.5395 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.6103, allocations: 211.8 kB / 0.5397 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.6111, allocations: 96.73 kB / 0.5397 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.6126, allocations: 0.9148 MB / 0.5406 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.613, allocations: 0.7443 MB / 0.5414 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.6132, allocations: 31.42 kB / 0.5414 GB, free: 11.03 MB / 478.1 MB Notification: Performance of SimCode: time 4e-07/0.6132, allocations: 0 / 0.5414 GB, free: 11.03 MB / 478.1 MB Notification: Performance of Templates: time 0.01092/0.6242, allocations: 6.761 MB / 0.548 GB, free: 4.262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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