Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 94.31 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3282/0.3282, allocations: 43.48 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.89 kB / 429.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1142, allocations: 57.76 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2963/0.4106, allocations: 148.8 MB / 0.6209 GB, free: 10.95 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.4129, allocations: 2.152 MB / 0.623 GB, free: 9.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.4129, allocations: 0 / 0.623 GB, free: 9.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.4132, allocations: 48.69 kB / 0.623 GB, free: 9.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.4144, allocations: 0.5534 MB / 0.6236 GB, free: 8.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.4147, allocations: 97.8 kB / 0.6237 GB, free: 8.738 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.4151, allocations: 367.9 kB / 0.624 GB, free: 8.555 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.4152, allocations: 7.703 kB / 0.624 GB, free: 8.555 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.4155, allocations: 130.6 kB / 0.6241 GB, free: 8.488 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.4157, allocations: 107.5 kB / 0.6242 GB, free: 8.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.4157, allocations: 9.969 kB / 0.6242 GB, free: 8.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.4175, allocations: 1.192 MB / 0.6254 GB, free: 7.781 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.4176, allocations: 77.03 kB / 0.6255 GB, free: 7.734 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4177, allocations: 101.4 kB / 0.6256 GB, free: 7.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009058/0.4187, allocations: 0.7437 MB / 0.6263 GB, free: 7.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4187, allocations: 4 kB / 0.6263 GB, free: 7.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.4187, allocations: 0 / 0.6263 GB, free: 7.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.4187, allocations: 0 / 0.6263 GB, free: 7.27 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.0007059/0.4194, allocations: 0.5011 MB / 0.6268 GB, free: 6.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4194, allocations: 8 kB / 0.6268 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006986/0.4264, allocations: 0.7415 MB / 0.6275 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.4269, allocations: 284 kB / 0.6278 GB, free: 6.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.427, allocations: 8.891 kB / 0.6278 GB, free: 6.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.4271, allocations: 19.94 kB / 0.6278 GB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.4285, allocations: 0.7151 MB / 0.6285 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4285, allocations: 0 / 0.6285 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.4286, allocations: 8 kB / 0.6285 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.4286, allocations: 12 kB / 0.6285 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.4306, allocations: 0.9212 MB / 0.6294 GB, free: 4.348 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.004895/0.4355, allocations: 2.002 MB / 0.6314 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4366, allocations: 0.5048 MB / 0.6319 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.4373, allocations: 321.5 kB / 0.6322 GB, free: 1.336 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.438, allocations: 278 kB / 0.6325 GB, free: 1.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.438, allocations: 40.34 kB / 0.6325 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.438, allocations: 3.938 kB / 0.6325 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002086/0.4401, allocations: 0.8843 MB / 0.6334 GB, free: 88 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.4402, allocations: 85.03 kB / 0.6335 GB, free: 15.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.4403, allocations: 133.8 kB / 0.6336 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.4403, allocations: 29.7 kB / 0.6336 GB, free: 15.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.4404, allocations: 112.3 kB / 0.6337 GB, free: 15.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4405, allocations: 106.5 kB / 0.6338 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.4407, allocations: 74.98 kB / 0.6339 GB, free: 15.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.4408, allocations: 330.8 kB / 0.6342 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.4415, allocations: 291.8 kB / 0.6345 GB, free: 14.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.4422, allocations: 396.7 kB / 0.6349 GB, free: 14.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.4434, allocations: 0.6942 MB / 0.6355 GB, free: 13.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4435, allocations: 8 kB / 0.6355 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001587/0.4451, allocations: 0.7431 MB / 0.6363 GB, free: 12.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4451, allocations: 8 kB / 0.6363 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4451, allocations: 4 kB / 0.6363 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4451, allocations: 4 kB / 0.6363 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4462, allocations: 103.8 kB / 0.6364 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4462, allocations: 4 kB / 0.6364 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008934/0.4471, allocations: 61.86 kB / 0.6364 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.4472, allocations: 19.98 kB / 0.6365 GB, free: 12.77 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.0001718/0.4473, allocations: 148.1 kB / 0.6366 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.4475, allocations: 23.69 kB / 0.6366 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.4494, allocations: 0.7779 MB / 0.6374 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4494, allocations: 4 kB / 0.6374 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4494, allocations: 0 / 0.6374 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4494, allocations: 3.984 kB / 0.6374 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.4504, allocations: 0.7993 MB / 0.6382 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4504, allocations: 3.938 kB / 0.6382 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.4514, allocations: 83.86 kB / 0.6383 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4514, allocations: 4 kB / 0.6383 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.4515, allocations: 11.98 kB / 0.6383 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4515, allocations: 4.688 kB / 0.6383 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4515, allocations: 0 / 0.6383 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.4549, allocations: 2.338 MB / 0.6406 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.455, allocations: 92.94 kB / 0.6407 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.4551, allocations: 8 kB / 0.6407 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/0.4561, allocations: 35.95 kB / 0.6407 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.4561, allocations: 15.98 kB / 0.6407 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.4562, allocations: 23.97 kB / 0.6407 GB, free: 8.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.4563, allocations: 107.1 kB / 0.6408 GB, free: 8.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4563, allocations: 3.938 kB / 0.6408 GB, free: 8.031 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007794/0.4571, allocations: 203.8 kB / 0.641 GB, free: 7.832 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.0008043/0.4579, allocations: 334.9 kB / 0.6414 GB, free: 7.496 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.4593, allocations: 0.6582 MB / 0.642 GB, free: 6.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4593, allocations: 4 kB / 0.642 GB, free: 6.836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.46, allocations: 331.1 kB / 0.6423 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.4607, allocations: 89.5 kB / 0.6424 GB, free: 6.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.4625, allocations: 1.211 MB / 0.6436 GB, free: 5.188 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4628, allocations: 0.7446 MB / 0.6443 GB, free: 4.418 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001303/0.4641, allocations: 181.7 kB / 0.6445 GB, free: 4.242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.4644, allocations: 35.41 kB / 0.6445 GB, free: 4.207 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4644, allocations: 0 / 0.6445 GB, free: 4.207 MB / 458.7 MB Notification: Performance of Templates: time 0.01477/0.4792, allocations: 10.52 MB / 0.6548 GB, free: 9.672 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@2/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