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/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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001367, allocations: 176.9 kB / 16.57 MB, free: 6.852 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.447/1.447, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3622/0.3622, allocations: 43.54 MB / 314.5 MB, free: 8.73 MB / 254.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.0005433/0.0005437, allocations: 16 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3303/0.4431, allocations: 125.8 MB / 0.5552 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.4455, allocations: 1.723 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.4456, allocations: 0 / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.4459, allocations: 43.52 kB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.447, allocations: 435.2 kB / 0.5574 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.4473, allocations: 84.97 kB / 0.5574 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.4475, allocations: 156.8 kB / 0.5576 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.4476, allocations: 8.344 kB / 0.5576 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.448, allocations: 175.6 kB / 0.5578 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.4481, allocations: 73.19 kB / 0.5578 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.4482, allocations: 8 kB / 0.5578 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.4496, allocations: 0.7091 MB / 0.5585 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4497, allocations: 77.11 kB / 0.5586 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.4498, allocations: 57.64 kB / 0.5587 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.4505, allocations: 452.2 kB / 0.5591 GB, free: 9.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4505, allocations: 0 / 0.5591 GB, free: 9.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4505, allocations: 0 / 0.5591 GB, free: 9.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4505, allocations: 4 kB / 0.5591 GB, free: 9.918 MB / 430.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.0008115/0.4514, allocations: 465.8 kB / 0.5595 GB, free: 9.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4514, allocations: 12.03 kB / 0.5596 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.4533, allocations: 261.8 kB / 0.5598 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.4537, allocations: 246.8 kB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4537, allocations: 8.328 kB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.4538, allocations: 20 kB / 0.5601 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.4545, allocations: 0.5099 MB / 0.5606 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4545, allocations: 0 / 0.5606 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.4545, allocations: 4 kB / 0.5606 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.4546, allocations: 12 kB / 0.5606 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.4554, allocations: 0.5778 MB / 0.5611 GB, free: 7.812 MB / 430.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.002013/0.4574, allocations: 1.009 MB / 0.5621 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4577, allocations: 233.1 kB / 0.5624 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.4584, allocations: 270.2 kB / 0.5626 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4585, allocations: 42.84 kB / 0.5627 GB, free: 6.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.4585, allocations: 0 / 0.5627 GB, free: 6.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001775/0.4602, allocations: 0.5948 MB / 0.5632 GB, free: 5.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.4603, allocations: 81.11 kB / 0.5633 GB, free: 5.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4604, allocations: 129.7 kB / 0.5634 GB, free: 5.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.4605, allocations: 33.7 kB / 0.5635 GB, free: 5.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.4605, allocations: 120.4 kB / 0.5636 GB, free: 5.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.4606, allocations: 102.5 kB / 0.5637 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.4607, allocations: 15.94 kB / 0.5637 GB, free: 5.043 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4608, allocations: 326.8 kB / 0.564 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.4611, allocations: 183.9 kB / 0.5642 GB, free: 4.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.4615, allocations: 284.5 kB / 0.5645 GB, free: 4.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.4618, allocations: 214.5 kB / 0.5647 GB, free: 4.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4618, allocations: 0 / 0.5647 GB, free: 4.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008644/0.4627, allocations: 0.5088 MB / 0.5652 GB, free: 3.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4627, allocations: 8 kB / 0.5652 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4627, allocations: 11.94 kB / 0.5652 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4628, allocations: 4 kB / 0.5652 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.4633, allocations: 83.83 kB / 0.5653 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4633, allocations: 7.938 kB / 0.5653 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.4637, allocations: 48.08 kB / 0.5653 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.4637, allocations: 20.48 kB / 0.5653 GB, free: 3.309 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.4639, allocations: 149.7 kB / 0.5655 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.464, allocations: 15.81 kB / 0.5655 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/0.4649, allocations: 0.4938 MB / 0.566 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.465, allocations: 7.938 kB / 0.566 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.465, allocations: 4 kB / 0.566 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.465, allocations: 3.953 kB / 0.566 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.4657, allocations: 458 kB / 0.5664 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4657, allocations: 0 / 0.5664 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.4662, allocations: 56.95 kB / 0.5665 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.4662, allocations: 0 / 0.5665 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.4662, allocations: 12 kB / 0.5665 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4662, allocations: 7.938 kB / 0.5665 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4662, allocations: 3.938 kB / 0.5665 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.4672, allocations: 0.6965 MB / 0.5672 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.4673, allocations: 92.95 kB / 0.5673 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.4673, allocations: 8.766 kB / 0.5673 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.4678, allocations: 31.88 kB / 0.5673 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.4679, allocations: 23.97 kB / 0.5673 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.4679, allocations: 11.98 kB / 0.5673 GB, free: 1.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.468, allocations: 100.7 kB / 0.5674 GB, free: 1.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.468, allocations: 0 / 0.5674 GB, free: 1.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000636/0.4686, allocations: 156 kB / 0.5676 GB, free: 0.9141 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000673/0.4693, allocations: 284.2 kB / 0.5679 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006898/0.47, allocations: 444.3 kB / 0.5683 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.47, allocations: 0 / 0.5683 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.4703, allocations: 212.6 kB / 0.5685 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.4709, allocations: 93.66 kB / 0.5686 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4722, allocations: 1.065 MB / 0.5696 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4725, allocations: 0.7447 MB / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006058/0.4731, allocations: 115.4 kB / 0.5705 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.4732, allocations: 27.42 kB / 0.5705 GB, free: 13.92 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4732, allocations: 0 / 0.5705 GB, free: 13.92 MB / 446.1 MB Notification: Performance of Templates: time 0.01168/0.4849, allocations: 7.606 MB / 0.5779 GB, free: 6.344 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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