Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000867/0.000867, allocations: 93.94 kB / 17 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001125, allocations: 193.3 kB / 17.9 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.2 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002873, allocations: 4 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 63.56 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4205/0.5626, allocations: 138.6 MB / 0.6065 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.5655, allocations: 2.025 MB / 0.6085 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.5656, allocations: 4 kB / 0.6085 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.5659, allocations: 36.55 kB / 0.6085 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.5671, allocations: 446.2 kB / 0.6089 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.5674, allocations: 84.56 kB / 0.609 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.5679, allocations: 302.9 kB / 0.6093 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.5679, allocations: 12.53 kB / 0.6093 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.5682, allocations: 123.5 kB / 0.6094 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.5685, allocations: 107.6 kB / 0.6095 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.5685, allocations: 7.984 kB / 0.6095 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.5701, allocations: 0.8735 MB / 0.6104 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.5703, allocations: 83.81 kB / 0.6105 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.5703, allocations: 57.58 kB / 0.6105 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.571, allocations: 496.9 kB / 0.611 GB, free: 5.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.571, allocations: 4 kB / 0.611 GB, free: 5.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.571, allocations: 0 / 0.611 GB, free: 5.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.571, allocations: 0 / 0.611 GB, free: 5.875 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.0006838/0.5717, allocations: 471.2 kB / 0.6114 GB, free: 5.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5717, allocations: 12.03 kB / 0.6115 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/0.5778, allocations: 0.7297 MB / 0.6122 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.5783, allocations: 278.6 kB / 0.6124 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.5783, allocations: 16.33 kB / 0.6125 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.5784, allocations: 16 kB / 0.6125 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5798, allocations: 0.7006 MB / 0.6132 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5799, allocations: 0 / 0.6132 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.5799, allocations: 11.98 kB / 0.6132 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.58, allocations: 8 kB / 0.6132 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.5819, allocations: 0.9211 MB / 0.6141 GB, free: 2.629 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.004502/0.5864, allocations: 1.988 MB / 0.616 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5876, allocations: 0.5048 MB / 0.6165 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006561/0.5882, allocations: 321.6 kB / 0.6168 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/0.5891, allocations: 375.5 kB / 0.6172 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.5891, allocations: 42.52 kB / 0.6172 GB, free: 15.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.5891, allocations: 0 / 0.6172 GB, free: 15.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002106/0.5912, allocations: 0.8986 MB / 0.6181 GB, free: 14.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.5913, allocations: 81.11 kB / 0.6182 GB, free: 14.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5914, allocations: 133.7 kB / 0.6183 GB, free: 14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.5915, allocations: 29.7 kB / 0.6183 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.5916, allocations: 116.3 kB / 0.6184 GB, free: 13.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5917, allocations: 106.5 kB / 0.6185 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.5917, allocations: 4 kB / 0.6185 GB, free: 13.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5919, allocations: 326.8 kB / 0.6189 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.5925, allocations: 295.8 kB / 0.6191 GB, free: 13.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.5932, allocations: 412.4 kB / 0.6195 GB, free: 12.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.5939, allocations: 328.4 kB / 0.6198 GB, free: 12.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5939, allocations: 0 / 0.6198 GB, free: 12.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00156/0.5954, allocations: 0.7374 MB / 0.6206 GB, free: 11.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5955, allocations: 8 kB / 0.6206 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5955, allocations: 0 / 0.6206 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5955, allocations: 8 kB / 0.6206 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.5965, allocations: 103.8 kB / 0.6207 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.5965, allocations: 11.7 kB / 0.6207 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.5973, allocations: 55.86 kB / 0.6207 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.5973, allocations: 23.98 kB / 0.6208 GB, free: 11.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.5976, allocations: 145.7 kB / 0.6209 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5977, allocations: 15.86 kB / 0.6209 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.5997, allocations: 0.7713 MB / 0.6217 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5997, allocations: 4 kB / 0.6217 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5997, allocations: 3.953 kB / 0.6217 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5997, allocations: 3.984 kB / 0.6217 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.6008, allocations: 0.7945 MB / 0.6225 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6008, allocations: 3.938 kB / 0.6225 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.6017, allocations: 79.86 kB / 0.6225 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.6018, allocations: 7.953 kB / 0.6225 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.6018, allocations: 11.98 kB / 0.6226 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6018, allocations: 3.984 kB / 0.6226 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6018, allocations: 4 kB / 0.6226 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.6038, allocations: 0.9594 MB / 0.6235 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.6039, allocations: 92.86 kB / 0.6236 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.604, allocations: 11.95 kB / 0.6236 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/0.6049, allocations: 39.94 kB / 0.6236 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.6049, allocations: 23.97 kB / 0.6237 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.605, allocations: 15.97 kB / 0.6237 GB, free: 8.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.6051, allocations: 103.3 kB / 0.6238 GB, free: 8.164 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6051, allocations: 0 / 0.6238 GB, free: 8.164 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008237/0.6059, allocations: 187.8 kB / 0.624 GB, free: 7.98 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 (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.0007426/0.6067, allocations: 290.5 kB / 0.6242 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.608, allocations: 0.659 MB / 0.6249 GB, free: 7.035 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.608, allocations: 0 / 0.6249 GB, free: 7.035 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.6087, allocations: 327.7 kB / 0.6252 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.6094, allocations: 93.66 kB / 0.6253 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.6112, allocations: 1.135 MB / 0.6264 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.6115, allocations: 0.7406 MB / 0.6271 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001304/0.6128, allocations: 177.7 kB / 0.6273 GB, free: 4.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6131, allocations: 35.41 kB / 0.6273 GB, free: 4.484 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6131, allocations: 4 kB / 0.6273 GB, free: 4.48 MB / 462.1 MB Notification: Performance of Templates: time 0.01732/0.6305, allocations: 9.891 MB / 0.637 GB, free: 10.6 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches