Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009366/0.0009364, allocations: 104.4 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3409/0.3409, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3852/0.5059, allocations: 149.5 MB / 0.6216 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007732/0.5137, allocations: 6.41 MB / 0.6278 GB, free: 5.301 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.514, allocations: 0 / 0.6278 GB, free: 5.301 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.5145, allocations: 74.75 kB / 0.6279 GB, free: 5.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.5206, allocations: 2.259 MB / 0.6301 GB, free: 3.645 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.521, allocations: 137.2 kB / 0.6302 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008782/0.5219, allocations: 0.7582 MB / 0.631 GB, free: 2.898 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.394e-05/0.5219, allocations: 16.3 kB / 0.631 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.5224, allocations: 239.1 kB / 0.6312 GB, free: 2.652 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.5234, allocations: 0.5025 MB / 0.6317 GB, free: 2.148 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.5235, allocations: 12 kB / 0.6317 GB, free: 2.137 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006149/0.5296, allocations: 3.861 MB / 0.6355 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.5298, allocations: 167.5 kB / 0.6356 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.5301, allocations: 203 kB / 0.6358 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.5344, allocations: 2.358 MB / 0.6381 GB, free: 11.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.5344, allocations: 4 kB / 0.6381 GB, free: 11.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.5344, allocations: 3.984 kB / 0.6382 GB, free: 11.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.5344, allocations: 4 kB / 0.6382 GB, free: 11.53 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002218/0.5367, allocations: 0.9048 MB / 0.639 GB, free: 10.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5367, allocations: 12.03 kB / 0.6391 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.5483, allocations: 1.255 MB / 0.6403 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/0.5491, allocations: 371.6 kB / 0.6406 GB, free: 8.918 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.5493, allocations: 136 kB / 0.6408 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.5495, allocations: 32.81 kB / 0.6408 GB, free: 8.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.5521, allocations: 1.445 MB / 0.6422 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5521, allocations: 0 / 0.6422 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.5523, allocations: 12 kB / 0.6422 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/0.5523, allocations: 60.91 kB / 0.6423 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00538/0.5577, allocations: 2.63 MB / 0.6448 GB, free: 4.551 MB / 458.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.004607/0.5623, allocations: 3.671 MB / 0.6484 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5626, allocations: 110.5 kB / 0.6485 GB, free: 336 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.5627, allocations: 64.67 kB / 0.6486 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004773/0.5675, allocations: 3.342 MB / 0.6519 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.68e-05/0.5676, allocations: 42.56 kB / 0.6519 GB, free: 12.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 4.408e-06/0.5677, allocations: 0 / 0.6519 GB, free: 12.37 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001707/0.5694, allocations: 401 kB / 0.6523 GB, free: 11.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.5694, allocations: 55.41 kB / 0.6523 GB, free: 11.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.5699, allocations: 360.1 kB / 0.6527 GB, free: 11.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.5699, allocations: 29.7 kB / 0.6527 GB, free: 11.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.5702, allocations: 349.3 kB / 0.653 GB, free: 11.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.5703, allocations: 75.08 kB / 0.6531 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.5705, allocations: 162.4 kB / 0.6533 GB, free: 10.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5707, allocations: 342.8 kB / 0.6536 GB, free: 10.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5709, allocations: 117.9 kB / 0.6537 GB, free: 10.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.5715, allocations: 0.5742 MB / 0.6543 GB, free: 9.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.5724, allocations: 0.7656 MB / 0.655 GB, free: 8.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.5724, allocations: 4 kB / 0.655 GB, free: 8.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001141/0.5736, allocations: 0.6865 MB / 0.6557 GB, free: 7.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.5736, allocations: 12 kB / 0.6557 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.5737, allocations: 16 kB / 0.6557 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.5737, allocations: 20 kB / 0.6557 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.5742, allocations: 191.7 kB / 0.6559 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000447/0.5747, allocations: 0.6262 MB / 0.6565 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.5751, allocations: 91.06 kB / 0.6566 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.5752, allocations: 60 kB / 0.6567 GB, free: 6.945 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.5755, allocations: 213.3 kB / 0.6569 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5757, allocations: 35.62 kB / 0.6569 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.5762, allocations: 244.8 kB / 0.6571 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5762, allocations: 4 kB / 0.6571 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5762, allocations: 0 / 0.6571 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5762, allocations: 0 / 0.6571 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008939/0.5771, allocations: 0.6693 MB / 0.6578 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5771, allocations: 0 / 0.6578 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.5773, allocations: 35.98 kB / 0.6578 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5773, allocations: 3.938 kB / 0.6578 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5773, allocations: 4 kB / 0.6578 GB, free: 5.625 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003222/0.5776, allocations: 0.5901 MB / 0.6584 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5777, allocations: 3.984 kB / 0.6584 GB, free: 5.008 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.5783, allocations: 0.8845 MB / 0.6593 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.5785, allocations: 116.8 kB / 0.6594 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.5786, allocations: 4 kB / 0.6594 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.5788, allocations: 19.17 kB / 0.6594 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5789, allocations: 19.92 kB / 0.6594 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.5789, allocations: 12 kB / 0.6594 GB, free: 3.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.5791, allocations: 231 kB / 0.6597 GB, free: 3.641 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5791, allocations: 0 / 0.6597 GB, free: 3.641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001422/0.5805, allocations: 407.7 kB / 0.6601 GB, free: 3.242 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002327/0.5829, allocations: 0.765 MB / 0.6608 GB, free: 2.484 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.5836, allocations: 341.7 kB / 0.6611 GB, free: 2.152 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5836, allocations: 2 kB / 0.6611 GB, free: 2.152 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.5838, allocations: 51.86 kB / 0.6612 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.5843, allocations: 73.69 kB / 0.6613 GB, free: 2.031 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.5909, allocations: 4.984 MB / 0.6661 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5912, allocations: 0.7921 MB / 0.6669 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006785/0.5919, allocations: 177 kB / 0.6671 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.5921, allocations: 51.42 kB / 0.6671 GB, free: 11.94 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5921, allocations: 0 / 0.6671 GB, free: 11.94 MB / 490.7 MB Notification: Performance of Templates: time 0.01679/0.6089, allocations: 10.62 MB / 0.6775 GB, free: 1.34 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches