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.001571/0.001571, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001147/0.001147, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.376/1.376, 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.00142/0.00142, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.4625/0.5791, allocations: 151 MB / 0.5144 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.5819, allocations: 2.095 MB / 0.5165 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.5821, allocations: 4 kB / 0.5165 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.5826, allocations: 59.64 kB / 0.5165 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.5847, allocations: 0.6027 MB / 0.5171 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.5851, allocations: 112.3 kB / 0.5172 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.5855, allocations: 259 kB / 0.5175 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.5856, allocations: 8 kB / 0.5175 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.586, allocations: 137.1 kB / 0.5176 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.5862, allocations: 87.72 kB / 0.5177 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.5863, allocations: 8 kB / 0.5177 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.588, allocations: 0.83 MB / 0.5185 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.5882, allocations: 87.69 kB / 0.5186 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.5883, allocations: 103.6 kB / 0.5187 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.5895, allocations: 0.6348 MB / 0.5193 GB, free: 3.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5895, allocations: 0 / 0.5193 GB, free: 3.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5895, allocations: 4 kB / 0.5193 GB, free: 3.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.5896, allocations: 0 / 0.5193 GB, free: 3.152 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.0008634/0.5904, allocations: 0.4921 MB / 0.5198 GB, free: 2.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5905, allocations: 15.89 kB / 0.5198 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.5925, allocations: 264.4 kB / 0.5201 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.5929, allocations: 292.8 kB / 0.5204 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5929, allocations: 8.891 kB / 0.5204 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.593, allocations: 23.94 kB / 0.5204 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.5938, allocations: 0.4967 MB / 0.5209 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5939, allocations: 0 / 0.5209 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.5939, allocations: 4 kB / 0.5209 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.594, allocations: 15.98 kB / 0.5209 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.5948, allocations: 0.5855 MB / 0.5215 GB, free: 0.8711 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.002385/0.5972, allocations: 1.02 MB / 0.5225 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.5976, allocations: 237.1 kB / 0.5227 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.5979, allocations: 181.6 kB / 0.5229 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008237/0.5987, allocations: 286.2 kB / 0.5231 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5988, allocations: 44.81 kB / 0.5232 GB, free: 15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.724e-06/0.5988, allocations: 0 / 0.5232 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002011/0.6008, allocations: 0.5995 MB / 0.5238 GB, free: 14.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.6009, allocations: 81.11 kB / 0.5238 GB, free: 14.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.601, allocations: 127 kB / 0.524 GB, free: 14.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.6011, allocations: 29.7 kB / 0.524 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.6012, allocations: 116.3 kB / 0.5241 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.6013, allocations: 106.5 kB / 0.5242 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.6014, allocations: 69.69 kB / 0.5243 GB, free: 13.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6016, allocations: 322.8 kB / 0.5246 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.602, allocations: 187.9 kB / 0.5248 GB, free: 13.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.6024, allocations: 292.5 kB / 0.525 GB, free: 12.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.6032, allocations: 488.6 kB / 0.5255 GB, free: 12.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.6032, allocations: 4 kB / 0.5255 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009781/0.6042, allocations: 0.5208 MB / 0.526 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6042, allocations: 4 kB / 0.526 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.6042, allocations: 7.938 kB / 0.526 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.6042, allocations: 4 kB / 0.526 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.6048, allocations: 87.83 kB / 0.5261 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.6048, allocations: 4.547 kB / 0.5261 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.6052, allocations: 35.67 kB / 0.5262 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.6053, allocations: 19.98 kB / 0.5262 GB, free: 11.77 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.0001735/0.6055, allocations: 149.8 kB / 0.5263 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.6057, allocations: 19.75 kB / 0.5263 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009746/0.6066, allocations: 488.4 kB / 0.5268 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6067, allocations: 4 kB / 0.5268 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.6067, allocations: 0 / 0.5268 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6067, allocations: 3.984 kB / 0.5268 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/0.6074, allocations: 462.1 kB / 0.5273 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6075, allocations: 3.938 kB / 0.5273 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.608, allocations: 60.72 kB / 0.5273 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.608, allocations: 0 / 0.5273 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.6081, allocations: 15.98 kB / 0.5273 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6081, allocations: 4 kB / 0.5273 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6081, allocations: 0 / 0.5273 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.6092, allocations: 0.6916 MB / 0.528 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.6093, allocations: 92.86 kB / 0.5281 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.6093, allocations: 14.61 kB / 0.5281 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.6099, allocations: 19.98 kB / 0.5281 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.6099, allocations: 19.97 kB / 0.5281 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.61, allocations: 15.98 kB / 0.5282 GB, free: 9.641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.6101, allocations: 104.4 kB / 0.5283 GB, free: 9.539 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6101, allocations: 0 / 0.5283 GB, free: 9.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000761/0.6109, allocations: 151.9 kB / 0.5284 GB, free: 9.391 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.001043/0.6119, allocations: 342.9 kB / 0.5287 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.6127, allocations: 443.5 kB / 0.5292 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6127, allocations: 0 / 0.5292 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.6131, allocations: 224.7 kB / 0.5294 GB, free: 8.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.6139, allocations: 91.5 kB / 0.5295 GB, free: 8.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.6155, allocations: 0.9196 MB / 0.5304 GB, free: 7.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.6159, allocations: 0.7481 MB / 0.5311 GB, free: 6.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.6161, allocations: 31.42 kB / 0.5311 GB, free: 6.555 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6161, allocations: 4 kB / 0.5311 GB, free: 6.551 MB / 462.1 MB Notification: Performance of Templates: time 0.01186/0.628, allocations: 6.738 MB / 0.5377 GB, free: 15.81 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