Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 102.7 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3592/0.3592, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 51.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3626, allocations: 60.81 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.161/0.5236, allocations: 147.5 MB / 0.6504 GB, free: 12.17 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.5264, allocations: 2.251 MB / 0.6526 GB, free: 9.914 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.5264, allocations: 0 / 0.6526 GB, free: 9.914 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.5269, allocations: 59.77 kB / 0.6527 GB, free: 9.855 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.5283, allocations: 0.568 MB / 0.6532 GB, free: 9.285 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.5287, allocations: 103 kB / 0.6533 GB, free: 9.188 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.5291, allocations: 366.9 kB / 0.6537 GB, free: 8.828 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.5292, allocations: 7.984 kB / 0.6537 GB, free: 8.82 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.5295, allocations: 129.6 kB / 0.6538 GB, free: 8.695 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.5297, allocations: 103.6 kB / 0.6539 GB, free: 8.594 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.5297, allocations: 4 kB / 0.6539 GB, free: 8.59 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.5315, allocations: 1.22 MB / 0.6551 GB, free: 7.367 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.5317, allocations: 83.75 kB / 0.6552 GB, free: 7.285 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.5318, allocations: 91.64 kB / 0.6553 GB, free: 7.195 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.5328, allocations: 0.7676 MB / 0.656 GB, free: 6.426 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5328, allocations: 0 / 0.656 GB, free: 6.426 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5328, allocations: 0 / 0.656 GB, free: 6.426 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.5329, allocations: 3.938 kB / 0.656 GB, free: 6.422 MB / 474.7 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.0008084/0.5337, allocations: 0.4954 MB / 0.6565 GB, free: 5.879 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5337, allocations: 16.02 kB / 0.6565 GB, free: 5.863 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007309/0.541, allocations: 0.7418 MB / 0.6572 GB, free: 5.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.5416, allocations: 283.7 kB / 0.6575 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.5416, allocations: 12.33 kB / 0.6575 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5417, allocations: 16 kB / 0.6575 GB, free: 4.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.5432, allocations: 0.7031 MB / 0.6582 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5432, allocations: 0 / 0.6582 GB, free: 4.066 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.5433, allocations: 4 kB / 0.6582 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.5433, allocations: 8 kB / 0.6582 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5454, allocations: 0.9173 MB / 0.6591 GB, free: 3.137 MB / 474.7 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.005218/0.5507, allocations: 2.004 MB / 0.6611 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.552, allocations: 0.5203 MB / 0.6616 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.5526, allocations: 321.5 kB / 0.6619 GB, free: 96 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009452/0.5536, allocations: 375.2 kB / 0.6623 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5536, allocations: 46.55 kB / 0.6623 GB, free: 15.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.916e-06/0.5537, allocations: 0 / 0.6623 GB, free: 15.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002295/0.556, allocations: 0.8906 MB / 0.6632 GB, free: 14.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.556, allocations: 81.11 kB / 0.6633 GB, free: 14.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.5562, allocations: 129.8 kB / 0.6634 GB, free: 14.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.5562, allocations: 33.7 kB / 0.6634 GB, free: 14.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.5563, allocations: 116.3 kB / 0.6635 GB, free: 14.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5564, allocations: 102.5 kB / 0.6636 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.5567, allocations: 77.52 kB / 0.6637 GB, free: 14.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5568, allocations: 330.8 kB / 0.664 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.5575, allocations: 299.8 kB / 0.6643 GB, free: 13.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.5582, allocations: 410.9 kB / 0.6647 GB, free: 13.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.5596, allocations: 0.6942 MB / 0.6654 GB, free: 12.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5596, allocations: 4 kB / 0.6654 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001645/0.5612, allocations: 0.7353 MB / 0.6661 GB, free: 11.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5613, allocations: 8.406 kB / 0.6661 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5613, allocations: 4 kB / 0.6661 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5613, allocations: 8 kB / 0.6661 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.5624, allocations: 103.8 kB / 0.6662 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.5624, allocations: 4 kB / 0.6662 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009121/0.5633, allocations: 55.66 kB / 0.6663 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.5634, allocations: 27.97 kB / 0.6663 GB, free: 11.39 MB / 490.7 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.0002017/0.5636, allocations: 141.7 kB / 0.6664 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5638, allocations: 19.81 kB / 0.6664 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.5658, allocations: 0.7716 MB / 0.6672 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.5658, allocations: 4 kB / 0.6672 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.5658, allocations: 0 / 0.6672 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5658, allocations: 7.938 kB / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.5669, allocations: 0.794 MB / 0.668 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5669, allocations: 7.938 kB / 0.668 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.568, allocations: 75.91 kB / 0.6681 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.568, allocations: 4 kB / 0.6681 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.5681, allocations: 15.98 kB / 0.6681 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5681, allocations: 7.938 kB / 0.6681 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5681, allocations: 0 / 0.6681 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.5718, allocations: 2.34 MB / 0.6704 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.5719, allocations: 88.95 kB / 0.6705 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.572, allocations: 15.98 kB / 0.6705 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.573, allocations: 39.86 kB / 0.6705 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.5731, allocations: 19.92 kB / 0.6705 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.5732, allocations: 27.97 kB / 0.6706 GB, free: 6.742 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.5732, allocations: 99.64 kB / 0.6707 GB, free: 6.645 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5732, allocations: 0 / 0.6707 GB, free: 6.645 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.5741, allocations: 203.9 kB / 0.6708 GB, free: 6.445 MB / 490.7 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.0009224/0.575, allocations: 351.4 kB / 0.6712 GB, free: 6.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.5765, allocations: 0.6482 MB / 0.6718 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5766, allocations: 4 kB / 0.6718 GB, free: 5.441 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000716/0.5773, allocations: 332.2 kB / 0.6721 GB, free: 5.117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.578, allocations: 88.41 kB / 0.6722 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.58, allocations: 1.207 MB / 0.6734 GB, free: 3.777 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.5804, allocations: 0.7406 MB / 0.6741 GB, free: 3.008 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001304/0.5817, allocations: 189.7 kB / 0.6743 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.582, allocations: 35.41 kB / 0.6743 GB, free: 2.789 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.582, allocations: 0 / 0.6743 GB, free: 2.789 MB / 490.7 MB Notification: Performance of Templates: time 0.2088/0.7908, allocations: 10.45 MB / 0.6845 GB, free: 144.7 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches