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.001562/0.001562, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.673/1.673, allocations: 205.1 MB / 222.6 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4139/0.4139, allocations: 43.49 MB / 313.5 MB, free: 8.609 MB / 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.001429/0.001429, allocations: 67.91 kB / 382 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1654, allocations: 57.8 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5172/0.6826, allocations: 148.7 MB / 0.5748 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.6853, allocations: 2.156 MB / 0.5769 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.6854, allocations: 0 / 0.5769 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.6858, allocations: 50.41 kB / 0.5769 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.6871, allocations: 0.5575 MB / 0.5775 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.6875, allocations: 98.06 kB / 0.5776 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.6879, allocations: 374.8 kB / 0.5779 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.688, allocations: 6.656 kB / 0.5779 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.6883, allocations: 123.5 kB / 0.578 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.6885, allocations: 107.6 kB / 0.5781 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.6885, allocations: 4 kB / 0.5781 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.6903, allocations: 1.201 MB / 0.5793 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6904, allocations: 75.83 kB / 0.5794 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.6906, allocations: 99.53 kB / 0.5795 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.6917, allocations: 0.7481 MB / 0.5802 GB, free: 2.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6917, allocations: 0 / 0.5802 GB, free: 2.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.6917, allocations: 0 / 0.5802 GB, free: 2.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.6917, allocations: 3.938 kB / 0.5802 GB, free: 2.105 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.0008927/0.6926, allocations: 0.4948 MB / 0.5807 GB, free: 1.566 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6927, allocations: 8.031 kB / 0.5807 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006807/0.6995, allocations: 0.7396 MB / 0.5814 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.7, allocations: 276 kB / 0.5817 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.7, allocations: 12.89 kB / 0.5817 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.7001, allocations: 23.94 kB / 0.5817 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.7016, allocations: 0.7151 MB / 0.5824 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.7016, allocations: 3.938 kB / 0.5824 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.7017, allocations: 7.906 kB / 0.5824 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.7018, allocations: 11.98 kB / 0.5825 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.7037, allocations: 0.919 MB / 0.5833 GB, free: 14.81 MB / 462.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.004806/0.7086, allocations: 1.992 MB / 0.5853 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.7097, allocations: 0.5138 MB / 0.5858 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.7103, allocations: 319.1 kB / 0.5861 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.7111, allocations: 278 kB / 0.5864 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.7111, allocations: 38.56 kB / 0.5864 GB, free: 11.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.7111, allocations: 0 / 0.5864 GB, free: 11.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00217/0.7133, allocations: 0.8903 MB / 0.5873 GB, free: 10.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.7134, allocations: 89.03 kB / 0.5874 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.7135, allocations: 128.1 kB / 0.5875 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.7136, allocations: 33.7 kB / 0.5875 GB, free: 10.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.7137, allocations: 114.9 kB / 0.5876 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.7138, allocations: 110.5 kB / 0.5877 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.714, allocations: 73.67 kB / 0.5878 GB, free: 9.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7142, allocations: 322.8 kB / 0.5881 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.7148, allocations: 299.8 kB / 0.5884 GB, free: 9.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.7156, allocations: 396.7 kB / 0.5888 GB, free: 8.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.7169, allocations: 0.6947 MB / 0.5894 GB, free: 8.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.7169, allocations: 3.938 kB / 0.5894 GB, free: 8.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001582/0.7185, allocations: 0.747 MB / 0.5902 GB, free: 7.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7185, allocations: 8 kB / 0.5902 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7185, allocations: 0 / 0.5902 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.7186, allocations: 8 kB / 0.5902 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.7196, allocations: 95.86 kB / 0.5903 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.7196, allocations: 9.781 kB / 0.5903 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/0.7204, allocations: 59.81 kB / 0.5904 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/0.7205, allocations: 19.98 kB / 0.5904 GB, free: 7.234 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.0002148/0.7207, allocations: 145.7 kB / 0.5905 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7208, allocations: 23.75 kB / 0.5905 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.723, allocations: 0.7788 MB / 0.5913 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.723, allocations: 0 / 0.5913 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.723, allocations: 4 kB / 0.5913 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.723, allocations: 3.938 kB / 0.5913 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.7241, allocations: 0.8103 MB / 0.5921 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.7241, allocations: 3.938 kB / 0.5921 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.725, allocations: 79.86 kB / 0.5922 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7251, allocations: 3.984 kB / 0.5922 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.7251, allocations: 21.8 kB / 0.5922 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.7251, allocations: 0 / 0.5922 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7251, allocations: 0 / 0.5922 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.7272, allocations: 0.9569 MB / 0.5931 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.7273, allocations: 92.89 kB / 0.5932 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.7275, allocations: 11.98 kB / 0.5932 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/0.7284, allocations: 43.89 kB / 0.5933 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.7284, allocations: 19.92 kB / 0.5933 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.7285, allocations: 23.97 kB / 0.5933 GB, free: 4.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.7286, allocations: 95.27 kB / 0.5934 GB, free: 3.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7286, allocations: 0 / 0.5934 GB, free: 3.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008743/0.7295, allocations: 187.8 kB / 0.5936 GB, free: 3.805 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.000984/0.7305, allocations: 332.7 kB / 0.5939 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.732, allocations: 0.6557 MB / 0.5945 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7321, allocations: 0 / 0.5945 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.7328, allocations: 344.5 kB / 0.5949 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.7335, allocations: 91.84 kB / 0.595 GB, free: 2.391 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.7355, allocations: 0.9954 MB / 0.5959 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.7358, allocations: 0.7369 MB / 0.5967 GB, free: 0.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.7371, allocations: 181.5 kB / 0.5968 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.7374, allocations: 39.41 kB / 0.5969 GB, free: 416 kB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.7375, allocations: 0 / 0.5969 GB, free: 416 kB / 462.1 MB Notification: Performance of Templates: time 0.01861/0.7561, allocations: 10.19 MB / 0.6068 GB, free: 6.207 MB / 478.1 MB 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches