Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 105.7 kB / 18.4 MB, free: 4.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.001762/0.001762, allocations: 187 kB / 19.34 MB, free: 3.734 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.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.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.001148/0.001148, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0697/0.07086, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2946/0.3655, allocations: 151 MB / 0.5145 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.368, allocations: 2.086 MB / 0.5165 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.3681, allocations: 3.938 kB / 0.5165 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.3684, allocations: 63.64 kB / 0.5166 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.3699, allocations: 0.5988 MB / 0.5171 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3702, allocations: 104.4 kB / 0.5172 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.3706, allocations: 255.1 kB / 0.5175 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.3706, allocations: 15.92 kB / 0.5175 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.371, allocations: 137.1 kB / 0.5176 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.3712, allocations: 87.72 kB / 0.5177 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.3712, allocations: 8 kB / 0.5177 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.3728, allocations: 0.8339 MB / 0.5185 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3729, allocations: 83.77 kB / 0.5186 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.373, allocations: 103.6 kB / 0.5187 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000971/0.374, allocations: 0.6387 MB / 0.5193 GB, free: 3.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.374, allocations: 4 kB / 0.5193 GB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.374, allocations: 0 / 0.5193 GB, free: 3.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.374, allocations: 0 / 0.5193 GB, free: 3.141 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.000851/0.3749, allocations: 0.496 MB / 0.5198 GB, free: 2.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3749, allocations: 11.89 kB / 0.5198 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.3769, allocations: 264.4 kB / 0.5201 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.3773, allocations: 276 kB / 0.5204 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3773, allocations: 16.83 kB / 0.5204 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.3774, allocations: 27.92 kB / 0.5204 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.3781, allocations: 0.4928 MB / 0.5209 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3781, allocations: 0 / 0.5209 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.3782, allocations: 12 kB / 0.5209 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.3782, allocations: 15.98 kB / 0.5209 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.3791, allocations: 0.5855 MB / 0.5215 GB, free: 0.8594 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.002131/0.3812, allocations: 1.02 MB / 0.5225 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.3816, allocations: 234 kB / 0.5227 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.3818, allocations: 185.6 kB / 0.5229 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.3826, allocations: 278 kB / 0.5231 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3826, allocations: 34.56 kB / 0.5232 GB, free: 15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.3826, allocations: 7.938 kB / 0.5232 GB, free: 14.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00194/0.3846, allocations: 0.6074 MB / 0.5238 GB, free: 14.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3846, allocations: 77.11 kB / 0.5238 GB, free: 14.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3847, allocations: 129.8 kB / 0.524 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.3848, allocations: 29.7 kB / 0.524 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3848, allocations: 116.3 kB / 0.5241 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.3849, allocations: 102.5 kB / 0.5242 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3851, allocations: 69.69 kB / 0.5243 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3852, allocations: 322.8 kB / 0.5246 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.3855, allocations: 187.9 kB / 0.5248 GB, free: 13.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.3859, allocations: 292.5 kB / 0.525 GB, free: 12.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.3867, allocations: 495.4 kB / 0.5255 GB, free: 12.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3867, allocations: 4 kB / 0.5255 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009321/0.3876, allocations: 0.5192 MB / 0.526 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3877, allocations: 8 kB / 0.526 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3877, allocations: 7.938 kB / 0.526 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3877, allocations: 4 kB / 0.526 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.3882, allocations: 79.89 kB / 0.5261 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.3883, allocations: 11.94 kB / 0.5261 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.3886, allocations: 35.67 kB / 0.5262 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.3887, allocations: 19.98 kB / 0.5262 GB, free: 11.76 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.0001504/0.3889, allocations: 149.9 kB / 0.5263 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.389, allocations: 19.75 kB / 0.5263 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000928/0.3899, allocations: 482.9 kB / 0.5268 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.3899, allocations: 3.984 kB / 0.5268 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3899, allocations: 0 / 0.5268 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.39, allocations: 96.95 kB / 0.5269 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.3901, allocations: 8 kB / 0.5269 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.3906, allocations: 19.97 kB / 0.5269 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3906, allocations: 15.98 kB / 0.5269 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001117/0.3917, allocations: 0.5354 MB / 0.5275 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001074/0.3928, allocations: 0.7218 MB / 0.5282 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002935/0.3931, allocations: 155.9 kB / 0.5283 GB, free: 9.512 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.3932, allocations: 100.6 kB / 0.5284 GB, free: 9.414 MB / 462.1 MB Notification: Performance of Backend: time 4.21e-07/0.3932, allocations: 3.938 kB / 0.5284 GB, free: 9.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3949, allocations: 0.6321 MB / 0.529 GB, free: 8.773 MB / 462.1 MB Notification: Performance of SimCode: time 0.00137/0.3963, allocations: 1.254 MB / 0.5303 GB, free: 7.477 MB / 462.1 MB Notification: Performance of Templates: time 0.01395/0.4102, allocations: 9.822 MB / 0.5399 GB, free: 13.65 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches