Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_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.001237/0.001237, allocations: 105.2 kB / 16.4 MB, free: 6.508 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.001221/0.001221, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.66/1.66, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2523/0.2523, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.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.001404/0.001404, allocations: 65.47 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1471, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.521/0.6682, allocations: 151 MB / 0.6353 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.6709, allocations: 2.083 MB / 0.6374 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.671, allocations: 0 / 0.6374 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.6715, allocations: 58.45 kB / 0.6374 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.673, allocations: 0.6141 MB / 0.638 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.6733, allocations: 100.7 kB / 0.6381 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.6737, allocations: 263 kB / 0.6384 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.6737, allocations: 11.98 kB / 0.6384 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.674, allocations: 139.4 kB / 0.6385 GB, free: 452 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.6742, allocations: 87.66 kB / 0.6386 GB, free: 364 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.6743, allocations: 8 kB / 0.6386 GB, free: 356 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.6757, allocations: 0.8339 MB / 0.6394 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.6759, allocations: 79.81 kB / 0.6395 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.676, allocations: 103.5 kB / 0.6396 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.6769, allocations: 0.6267 MB / 0.6402 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6769, allocations: 4 kB / 0.6402 GB, free: 14.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6769, allocations: 4 kB / 0.6402 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.6769, allocations: 0 / 0.6402 GB, free: 14.7 MB / 494.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.0008134/0.6778, allocations: 0.4953 MB / 0.6407 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6778, allocations: 8.031 kB / 0.6407 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.6797, allocations: 276.4 kB / 0.641 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.6803, allocations: 280 kB / 0.6412 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.6803, allocations: 8.891 kB / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.6804, allocations: 19.94 kB / 0.6413 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.6811, allocations: 0.5083 MB / 0.6417 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6812, allocations: 0 / 0.6417 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.6812, allocations: 7.938 kB / 0.6418 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.6812, allocations: 8 kB / 0.6418 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.6822, allocations: 0.586 MB / 0.6423 GB, free: 12.42 MB / 494.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.002459/0.6847, allocations: 1.011 MB / 0.6433 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.6851, allocations: 241 kB / 0.6436 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.6854, allocations: 181.6 kB / 0.6437 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007859/0.6862, allocations: 289.7 kB / 0.644 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.6862, allocations: 42.5 kB / 0.644 GB, free: 10.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.6862, allocations: 0 / 0.644 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001976/0.6882, allocations: 0.5843 MB / 0.6446 GB, free: 9.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.6883, allocations: 85.11 kB / 0.6447 GB, free: 9.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.6884, allocations: 132.6 kB / 0.6448 GB, free: 9.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6885, allocations: 29.7 kB / 0.6449 GB, free: 9.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.6885, allocations: 112.4 kB / 0.645 GB, free: 9.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.6887, allocations: 114.4 kB / 0.6451 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6888, allocations: 61.69 kB / 0.6451 GB, free: 9.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6889, allocations: 326.8 kB / 0.6454 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.6893, allocations: 183.9 kB / 0.6456 GB, free: 8.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.6897, allocations: 284.8 kB / 0.6459 GB, free: 8.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.6905, allocations: 0.4898 MB / 0.6464 GB, free: 8.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6905, allocations: 4 kB / 0.6464 GB, free: 8.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009384/0.6914, allocations: 0.5165 MB / 0.6469 GB, free: 7.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6915, allocations: 4 kB / 0.6469 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6915, allocations: 4 kB / 0.6469 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6915, allocations: 8.406 kB / 0.6469 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.692, allocations: 87.88 kB / 0.647 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.692, allocations: 7.938 kB / 0.647 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.6924, allocations: 35.67 kB / 0.647 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.6925, allocations: 23.94 kB / 0.647 GB, free: 7.332 MB / 494.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.0001577/0.6926, allocations: 137.8 kB / 0.6472 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.6928, allocations: 15.84 kB / 0.6472 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/0.6937, allocations: 0.5 MB / 0.6477 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6937, allocations: 7.938 kB / 0.6477 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6937, allocations: 0 / 0.6477 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.6937, allocations: 8 kB / 0.6477 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.6945, allocations: 454.1 kB / 0.6481 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6945, allocations: 3.938 kB / 0.6481 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.695, allocations: 63.89 kB / 0.6482 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.695, allocations: 4 kB / 0.6482 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.6951, allocations: 8 kB / 0.6482 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6951, allocations: 0 / 0.6482 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6951, allocations: 5.047 kB / 0.6482 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6962, allocations: 0.6949 MB / 0.6489 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.6962, allocations: 92.86 kB / 0.649 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.6963, allocations: 8 kB / 0.649 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.6968, allocations: 19.97 kB / 0.649 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.6968, allocations: 19.98 kB / 0.649 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.6969, allocations: 15.98 kB / 0.649 GB, free: 5.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.842e-05/0.697, allocations: 107.2 kB / 0.6491 GB, free: 5.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.697, allocations: 0 / 0.6491 GB, free: 5.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007586/0.6978, allocations: 151.9 kB / 0.6493 GB, free: 4.938 MB / 494.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.0009953/0.6988, allocations: 335 kB / 0.6496 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008036/0.6996, allocations: 451.7 kB / 0.65 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6996, allocations: 0 / 0.65 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.7, allocations: 211.9 kB / 0.6502 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.7007, allocations: 99.94 kB / 0.6503 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.7021, allocations: 0.8662 MB / 0.6512 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.7025, allocations: 0.7518 MB / 0.6519 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004738/0.703, allocations: 105.8 kB / 0.652 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.7031, allocations: 35.42 kB / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7031, allocations: 0 / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of Templates: time 0.01408/0.7172, allocations: 8.149 MB / 0.66 GB, free: 9.918 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches