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.001515/0.001515, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001748/0.001748, allocations: 194 kB / 18.77 MB, free: 4.742 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2172/0.2172, allocations: 44.18 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.94 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1157, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3868/0.5025, allocations: 147.5 MB / 0.6022 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.5053, allocations: 2.248 MB / 0.6044 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.5055, allocations: 0 / 0.6044 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.5059, allocations: 59.7 kB / 0.6045 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.5075, allocations: 0.5758 MB / 0.605 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.5078, allocations: 99.25 kB / 0.6051 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.5083, allocations: 370.9 kB / 0.6055 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.5083, allocations: 7.984 kB / 0.6055 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.5087, allocations: 125.5 kB / 0.6056 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.5089, allocations: 99.69 kB / 0.6057 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.5089, allocations: 4 kB / 0.6057 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.511, allocations: 1.224 MB / 0.6069 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.5111, allocations: 83.75 kB / 0.607 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.5113, allocations: 95.59 kB / 0.6071 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008287/0.5121, allocations: 0.5184 MB / 0.6076 GB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5121, allocations: 0 / 0.6076 GB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5121, allocations: 0 / 0.6076 GB, free: 8.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.5121, allocations: 0 / 0.6076 GB, free: 8.383 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.000975/0.5131, allocations: 0.4999 MB / 0.6081 GB, free: 7.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5132, allocations: 12.02 kB / 0.6081 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007052/0.5202, allocations: 0.7423 MB / 0.6088 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.5207, allocations: 288.1 kB / 0.6091 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5208, allocations: 16.27 kB / 0.6091 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.5209, allocations: 16 kB / 0.6091 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5226, allocations: 0.7034 MB / 0.6098 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5226, allocations: 0 / 0.6098 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.5227, allocations: 8 kB / 0.6098 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.5227, allocations: 12 kB / 0.6098 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.5248, allocations: 0.9056 MB / 0.6107 GB, free: 5.09 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.005047/0.5299, allocations: 2.009 MB / 0.6126 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.531, allocations: 0.5086 MB / 0.6131 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/0.5317, allocations: 321.5 kB / 0.6134 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009557/0.5327, allocations: 379.3 kB / 0.6138 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.5327, allocations: 50.48 kB / 0.6139 GB, free: 1.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.5327, allocations: 0 / 0.6139 GB, free: 1.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002255/0.535, allocations: 0.8842 MB / 0.6147 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5351, allocations: 77.11 kB / 0.6148 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5352, allocations: 133.8 kB / 0.6149 GB, free: 448 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.731e-05/0.5353, allocations: 29.7 kB / 0.615 GB, free: 412 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.5354, allocations: 116.3 kB / 0.6151 GB, free: 292 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5355, allocations: 106.5 kB / 0.6152 GB, free: 184 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.5357, allocations: 73.58 kB / 0.6152 GB, free: 104 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5359, allocations: 330.8 kB / 0.6155 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.5366, allocations: 295.8 kB / 0.6158 GB, free: 15.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.5373, allocations: 405.3 kB / 0.6162 GB, free: 15.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.5386, allocations: 0.6942 MB / 0.6169 GB, free: 14.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5387, allocations: 4 kB / 0.6169 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001687/0.5404, allocations: 0.7468 MB / 0.6176 GB, free: 13.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5404, allocations: 8.406 kB / 0.6176 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5404, allocations: 8 kB / 0.6176 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5404, allocations: 7.938 kB / 0.6177 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5415, allocations: 95.84 kB / 0.6177 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.5415, allocations: 12.8 kB / 0.6178 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.5424, allocations: 51.75 kB / 0.6178 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/0.5425, allocations: 23.97 kB / 0.6178 GB, free: 13.34 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.0002988/0.5428, allocations: 149.7 kB / 0.618 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.5429, allocations: 15.81 kB / 0.618 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.545, allocations: 0.7799 MB / 0.6187 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.545, allocations: 4 kB / 0.6188 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.545, allocations: 0 / 0.6188 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5451, allocations: 0 / 0.6188 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5462, allocations: 0.8132 MB / 0.6195 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5462, allocations: 0 / 0.6195 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.5472, allocations: 79.84 kB / 0.6196 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5473, allocations: 0 / 0.6196 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.5473, allocations: 19.98 kB / 0.6196 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5473, allocations: 0 / 0.6196 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5474, allocations: 0 / 0.6196 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.5494, allocations: 0.9611 MB / 0.6206 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.5495, allocations: 96.94 kB / 0.6207 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.5496, allocations: 4 kB / 0.6207 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/0.5505, allocations: 39.86 kB / 0.6207 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.5506, allocations: 15.98 kB / 0.6207 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.5507, allocations: 27.91 kB / 0.6208 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.719e-05/0.5508, allocations: 100.5 kB / 0.6209 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5508, allocations: 0 / 0.6209 GB, free: 10.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008838/0.5517, allocations: 184 kB / 0.621 GB, free: 9.918 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.001072/0.5528, allocations: 348.8 kB / 0.6214 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.5542, allocations: 0.6562 MB / 0.622 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5543, allocations: 0 / 0.622 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.5551, allocations: 335.7 kB / 0.6223 GB, free: 8.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.5558, allocations: 92.28 kB / 0.6224 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.5576, allocations: 1.031 MB / 0.6234 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.558, allocations: 0.733 MB / 0.6241 GB, free: 6.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.5585, allocations: 47.38 kB / 0.6242 GB, free: 6.629 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5585, allocations: 4 kB / 0.6242 GB, free: 6.625 MB / 462.1 MB Notification: Performance of Templates: time 0.01508/0.5735, allocations: 10.04 MB / 0.634 GB, free: 12.52 MB / 478.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 -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