Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 170.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.6 MB / 222.4 MB, free: 8.852 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 95.5 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3418/0.3418, allocations: 43.67 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 432.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1057, allocations: 58.86 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3253/0.4311, allocations: 139.2 MB / 0.6156 GB, free: 10.95 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.434, allocations: 3.345 MB / 0.6189 GB, free: 7.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.4341, allocations: 0 / 0.6189 GB, free: 7.305 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.4344, allocations: 50.03 kB / 0.6189 GB, free: 7.258 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4357, allocations: 0.5546 MB / 0.6195 GB, free: 6.703 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.436, allocations: 99.8 kB / 0.6196 GB, free: 6.605 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.4364, allocations: 366.9 kB / 0.6199 GB, free: 6.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.4365, allocations: 10.92 kB / 0.6199 GB, free: 6.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.4368, allocations: 131.5 kB / 0.6201 GB, free: 6.109 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.437, allocations: 107.6 kB / 0.6202 GB, free: 6.004 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.437, allocations: 4 kB / 0.6202 GB, free: 6 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.439, allocations: 1.216 MB / 0.6214 GB, free: 4.781 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.4391, allocations: 74.55 kB / 0.6214 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.4392, allocations: 125.3 kB / 0.6215 GB, free: 4.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.4403, allocations: 0.7519 MB / 0.6223 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4404, allocations: 0 / 0.6223 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4404, allocations: 0 / 0.6223 GB, free: 3.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4404, allocations: 0 / 0.6223 GB, free: 3.828 MB / 442.7 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.0006743/0.441, allocations: 470.9 kB / 0.6227 GB, free: 3.324 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4411, allocations: 8.031 kB / 0.6227 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/0.4474, allocations: 0.7284 MB / 0.6234 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.4479, allocations: 272.1 kB / 0.6237 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.448, allocations: 16.89 kB / 0.6237 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.4481, allocations: 23.83 kB / 0.6237 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.4495, allocations: 0.7112 MB / 0.6244 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4495, allocations: 3.938 kB / 0.6244 GB, free: 1.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.4496, allocations: 8 kB / 0.6245 GB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.4497, allocations: 11.98 kB / 0.6245 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.4518, allocations: 0.9251 MB / 0.6254 GB, free: 0.5781 MB / 442.7 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.004721/0.4565, allocations: 1.982 MB / 0.6273 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4576, allocations: 0.5009 MB / 0.6278 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.4583, allocations: 321.6 kB / 0.6281 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/0.459, allocations: 270 kB / 0.6284 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4591, allocations: 47.58 kB / 0.6284 GB, free: 13.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.4591, allocations: 4 kB / 0.6284 GB, free: 13.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.002087/0.4612, allocations: 0.8939 MB / 0.6293 GB, free: 12.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4612, allocations: 85.11 kB / 0.6294 GB, free: 12.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4614, allocations: 130.4 kB / 0.6295 GB, free: 12.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.4614, allocations: 29.7 kB / 0.6295 GB, free: 12.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.4615, allocations: 112.4 kB / 0.6296 GB, free: 11.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4616, allocations: 106.4 kB / 0.6297 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.4617, allocations: 4 kB / 0.6297 GB, free: 11.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4618, allocations: 326.8 kB / 0.63 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.4625, allocations: 299.8 kB / 0.6303 GB, free: 11.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.4631, allocations: 398.6 kB / 0.6307 GB, free: 10.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.4644, allocations: 0.6929 MB / 0.6314 GB, free: 10.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4644, allocations: 0 / 0.6314 GB, free: 10.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001584/0.466, allocations: 0.7449 MB / 0.6321 GB, free: 9.293 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4661, allocations: 8 kB / 0.6321 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4661, allocations: 8.344 kB / 0.6321 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4661, allocations: 8 kB / 0.6321 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4672, allocations: 99.84 kB / 0.6322 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4672, allocations: 4 kB / 0.6322 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.468, allocations: 51.66 kB / 0.6323 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.4681, allocations: 23.98 kB / 0.6323 GB, free: 9.094 MB / 458.7 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.0002284/0.4683, allocations: 153.7 kB / 0.6324 GB, free: 8.934 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4684, allocations: 23.81 kB / 0.6325 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.4704, allocations: 0.7713 MB / 0.6332 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4704, allocations: 7.938 kB / 0.6332 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4705, allocations: 0.5 kB / 0.6332 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4705, allocations: 0 / 0.6332 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4715, allocations: 0.8031 MB / 0.634 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4715, allocations: 4.625 kB / 0.634 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.4725, allocations: 79.84 kB / 0.6341 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.4725, allocations: 4 kB / 0.6341 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.4726, allocations: 11.98 kB / 0.6341 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.4726, allocations: 4.875 kB / 0.6341 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4726, allocations: 4 kB / 0.6341 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.4746, allocations: 0.9587 MB / 0.6351 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.4747, allocations: 96.84 kB / 0.6352 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-05/0.4748, allocations: 11.94 kB / 0.6352 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.4756, allocations: 39.89 kB / 0.6352 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.4757, allocations: 19.98 kB / 0.6352 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.4758, allocations: 26.09 kB / 0.6352 GB, free: 5.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.4759, allocations: 99.27 kB / 0.6353 GB, free: 5.844 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.4759, allocations: 0 / 0.6353 GB, free: 5.844 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.4767, allocations: 175.9 kB / 0.6355 GB, free: 5.672 MB / 458.7 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.0008961/0.4776, allocations: 339.9 kB / 0.6358 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.4791, allocations: 0.6567 MB / 0.6365 GB, free: 4.676 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4791, allocations: 4 kB / 0.6365 GB, free: 4.672 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.4798, allocations: 327.7 kB / 0.6368 GB, free: 4.352 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.4805, allocations: 92.89 kB / 0.6369 GB, free: 4.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.4822, allocations: 1.159 MB / 0.638 GB, free: 3.082 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4826, allocations: 0.733 MB / 0.6387 GB, free: 2.324 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00131/0.4839, allocations: 185.7 kB / 0.6389 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.4842, allocations: 39.41 kB / 0.6389 GB, free: 2.102 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4842, allocations: 0 / 0.6389 GB, free: 2.102 MB / 458.7 MB Notification: Performance of Templates: time 0.01501/0.4992, allocations: 10.15 MB / 0.6488 GB, free: 7.957 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches