Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001465/0.001465, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001807/0.001808, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 243 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.18 MB / 337.4 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 66.8 kB / 409.9 MB, free: 26.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1354, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4999/0.6354, allocations: 149.7 MB / 0.6059 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.6382, allocations: 2.192 MB / 0.608 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.6383, allocations: 0 / 0.608 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.6387, allocations: 47.72 kB / 0.608 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.6404, allocations: 0.6378 MB / 0.6087 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.6408, allocations: 97.56 kB / 0.6088 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.6411, allocations: 263 kB / 0.609 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.6412, allocations: 4 kB / 0.609 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.6414, allocations: 141.3 kB / 0.6091 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.6416, allocations: 91.7 kB / 0.6092 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.6417, allocations: 8 kB / 0.6092 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.6431, allocations: 0.8456 MB / 0.6101 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.6433, allocations: 87.69 kB / 0.6102 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.6434, allocations: 103.6 kB / 0.6103 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009534/0.6444, allocations: 0.6468 MB / 0.6109 GB, free: 5.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6444, allocations: 0 / 0.6109 GB, free: 5.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6444, allocations: 4 kB / 0.6109 GB, free: 5.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.6444, allocations: 0 / 0.6109 GB, free: 5.473 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.0009004/0.6453, allocations: 0.5038 MB / 0.6114 GB, free: 4.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6454, allocations: 8.031 kB / 0.6114 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.6473, allocations: 280.4 kB / 0.6117 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.6478, allocations: 277.1 kB / 0.6119 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6478, allocations: 16.27 kB / 0.6119 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.6479, allocations: 16 kB / 0.6119 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.6487, allocations: 0.4967 MB / 0.6124 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6487, allocations: 0 / 0.6124 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.6488, allocations: 12 kB / 0.6124 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.6488, allocations: 8 kB / 0.6125 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008417/0.6496, allocations: 0.5738 MB / 0.613 GB, free: 3.199 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.002242/0.6519, allocations: 1.015 MB / 0.614 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.6523, allocations: 242.2 kB / 0.6142 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.6525, allocations: 185.6 kB / 0.6144 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009474/0.6535, allocations: 379.5 kB / 0.6148 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.6535, allocations: 38.56 kB / 0.6148 GB, free: 1.215 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.6535, allocations: 0 / 0.6148 GB, free: 1.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001829/0.6554, allocations: 0.5872 MB / 0.6154 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.6554, allocations: 81.09 kB / 0.6155 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.6556, allocations: 132.9 kB / 0.6156 GB, free: 396 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.6556, allocations: 33.7 kB / 0.6156 GB, free: 356 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.6557, allocations: 128.2 kB / 0.6157 GB, free: 224 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.6558, allocations: 98.55 kB / 0.6158 GB, free: 124 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.6559, allocations: 69.61 kB / 0.6159 GB, free: 48 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6561, allocations: 326.8 kB / 0.6162 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.6564, allocations: 183.9 kB / 0.6164 GB, free: 15.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.6568, allocations: 297.5 kB / 0.6167 GB, free: 15.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.6575, allocations: 491.3 kB / 0.6171 GB, free: 14.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6576, allocations: 5.312 kB / 0.6171 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009363/0.6585, allocations: 0.5206 MB / 0.6177 GB, free: 14.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6585, allocations: 8 kB / 0.6177 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6585, allocations: 4 kB / 0.6177 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6586, allocations: 4 kB / 0.6177 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.6591, allocations: 87.81 kB / 0.6178 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.6591, allocations: 8 kB / 0.6178 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.6595, allocations: 35.67 kB / 0.6178 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.6595, allocations: 16.22 kB / 0.6178 GB, free: 13.99 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.0001914/0.6597, allocations: 153.6 kB / 0.618 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6599, allocations: 15.81 kB / 0.618 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.6609, allocations: 0.4923 MB / 0.6185 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6609, allocations: 4 kB / 0.6185 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6609, allocations: 0 / 0.6185 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.6609, allocations: 0 / 0.6185 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/0.6617, allocations: 457.9 kB / 0.6189 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6617, allocations: 0 / 0.6189 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.6622, allocations: 57.14 kB / 0.619 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6622, allocations: 11.94 kB / 0.619 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.6622, allocations: 8 kB / 0.619 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6623, allocations: 0 / 0.619 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6623, allocations: 4 kB / 0.619 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.6634, allocations: 0.6819 MB / 0.6196 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.6635, allocations: 100.9 kB / 0.6197 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.6636, allocations: 4 kB / 0.6197 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.664, allocations: 27.91 kB / 0.6198 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.6641, allocations: 15.98 kB / 0.6198 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.6642, allocations: 19.98 kB / 0.6198 GB, free: 11.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.726e-05/0.6642, allocations: 99.27 kB / 0.6199 GB, free: 11.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6643, allocations: 3.938 kB / 0.6199 GB, free: 11.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008162/0.6651, allocations: 159.8 kB / 0.6201 GB, free: 11.61 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.0008153/0.6659, allocations: 343.6 kB / 0.6204 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000785/0.6667, allocations: 435.6 kB / 0.6208 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6667, allocations: 0 / 0.6208 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.667, allocations: 215.9 kB / 0.621 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.6677, allocations: 96.17 kB / 0.6211 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6691, allocations: 0.8801 MB / 0.622 GB, free: 9.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6695, allocations: 0.7366 MB / 0.6227 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000426/0.6699, allocations: 113.8 kB / 0.6228 GB, free: 8.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.67, allocations: 31.42 kB / 0.6228 GB, free: 8.723 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.67, allocations: 0 / 0.6228 GB, free: 8.723 MB / 462.1 MB Notification: Performance of Templates: time 0.01331/0.6834, allocations: 8.003 MB / 0.6306 GB, free: 0.7695 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches