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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 97.38 kB / 15.69 MB, free: 480 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.001039/0.001039, allocations: 174.8 kB / 16.57 MB, free: 6.391 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.551/1.551, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3798/0.3798, allocations: 43.55 MB / 314.5 MB, free: 9.023 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.0005295/0.0005296, allocations: 12 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 58.86 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3918/0.5248, allocations: 126.4 MB / 0.5558 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009654/0.5345, allocations: 6.818 MB / 0.5624 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.5347, allocations: 0 / 0.5624 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.5351, allocations: 55.7 kB / 0.5625 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005381/0.5405, allocations: 1.741 MB / 0.5642 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.5408, allocations: 140.9 kB / 0.5643 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.5414, allocations: 331.8 kB / 0.5646 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.5414, allocations: 14.97 kB / 0.5646 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.542, allocations: 295.1 kB / 0.5649 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.5427, allocations: 359.4 kB / 0.5653 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.5427, allocations: 8 kB / 0.5653 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.5488, allocations: 2.644 MB / 0.5679 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.549, allocations: 155.6 kB / 0.568 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.5492, allocations: 101.5 kB / 0.5681 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.5512, allocations: 1.257 MB / 0.5693 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.5512, allocations: 4 kB / 0.5693 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5512, allocations: 0 / 0.5693 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.5512, allocations: 0 / 0.5693 GB, free: 15.72 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001778/0.553, allocations: 0.8499 MB / 0.5702 GB, free: 14.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5531, allocations: 8.031 kB / 0.5702 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.5565, allocations: 0.5067 MB / 0.5707 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.557, allocations: 322.5 kB / 0.571 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.5571, allocations: 133.2 kB / 0.5711 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/0.5572, allocations: 28 kB / 0.5711 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.5587, allocations: 1.109 MB / 0.5722 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5587, allocations: 0 / 0.5722 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.5589, allocations: 23.94 kB / 0.5722 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.5589, allocations: 56.97 kB / 0.5723 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.5619, allocations: 2.268 MB / 0.5745 GB, free: 10.29 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.003156/0.565, allocations: 2.446 MB / 0.5769 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.5653, allocations: 131.2 kB / 0.577 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.5667, allocations: 1.195 MB / 0.5782 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.5667, allocations: 30.75 kB / 0.5782 GB, free: 6.152 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.5667, allocations: 0 / 0.5782 GB, free: 6.152 MB / 446.1 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=22): time 0.001081/0.5678, allocations: 362.9 kB / 0.5786 GB, free: 5.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.5679, allocations: 59.34 kB / 0.5786 GB, free: 5.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.5682, allocations: 344.1 kB / 0.5789 GB, free: 5.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.5682, allocations: 33.7 kB / 0.579 GB, free: 5.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.5684, allocations: 337.5 kB / 0.5793 GB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.5685, allocations: 94.92 kB / 0.5794 GB, free: 4.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.5685, allocations: 12 kB / 0.5794 GB, free: 4.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5687, allocations: 338.8 kB / 0.5797 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.5688, allocations: 121.9 kB / 0.5798 GB, free: 4.438 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.5693, allocations: 0.5608 MB / 0.5804 GB, free: 3.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.5696, allocations: 231.6 kB / 0.5806 GB, free: 3.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.5696, allocations: 8 kB / 0.5806 GB, free: 3.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001207/0.5708, allocations: 0.7305 MB / 0.5813 GB, free: 2.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5709, allocations: 12.19 kB / 0.5813 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.5709, allocations: 20 kB / 0.5814 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/0.5709, allocations: 27.94 kB / 0.5814 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.5714, allocations: 187.7 kB / 0.5816 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003413/0.5718, allocations: 0.6101 MB / 0.5822 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.5722, allocations: 94.97 kB / 0.5823 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.5723, allocations: 59.98 kB / 0.5823 GB, free: 1.656 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.5725, allocations: 217.5 kB / 0.5825 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.5728, allocations: 83.55 kB / 0.5826 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.5733, allocations: 276.8 kB / 0.5829 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5734, allocations: 8 kB / 0.5829 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5734, allocations: 0 / 0.5829 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5734, allocations: 0.625 kB / 0.5829 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.5743, allocations: 0.7336 MB / 0.5836 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5743, allocations: 4 kB / 0.5836 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.5745, allocations: 43.91 kB / 0.5836 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5745, allocations: 4.812 kB / 0.5836 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5745, allocations: 11.95 kB / 0.5836 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002997/0.5748, allocations: 0.5863 MB / 0.5842 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5748, allocations: 8.031 kB / 0.5842 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.5752, allocations: 410.1 kB / 0.5846 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5753, allocations: 124.8 kB / 0.5847 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.5754, allocations: 4.75 kB / 0.5847 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.5756, allocations: 23.83 kB / 0.5848 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.5757, allocations: 19.94 kB / 0.5848 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.5757, allocations: 16 kB / 0.5848 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.5759, allocations: 227 kB / 0.585 GB, free: 14.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5759, allocations: 0 / 0.585 GB, free: 14.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001336/0.5773, allocations: 379.8 kB / 0.5854 GB, free: 14.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/0.5789, allocations: 0.572 MB / 0.5859 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.5795, allocations: 350.7 kB / 0.5863 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5795, allocations: 0 / 0.5863 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.5796, allocations: 63.84 kB / 0.5863 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.5801, allocations: 82.44 kB / 0.5864 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.5813, allocations: 0.8094 MB / 0.5872 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.5817, allocations: 0.7981 MB / 0.588 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.5822, allocations: 162.6 kB / 0.5881 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.5823, allocations: 47.42 kB / 0.5882 GB, free: 11.31 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5823, allocations: 0 / 0.5882 GB, free: 11.31 MB / 462.1 MB Notification: Performance of Templates: time 0.01756/0.5999, allocations: 10.36 MB / 0.5983 GB, free: 0.9727 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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