Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009921/0.0009921, allocations: 173.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.7 MB / 243.9 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008641/0.0008641, allocations: 93.89 kB / 295.1 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.317/0.317, allocations: 44.32 MB / 390.5 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 12 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 61.9 MB / 0.5127 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1413/0.4791, allocations: 138.7 MB / 0.6482 GB, free: 2.68 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009967/0.4891, allocations: 10.02 MB / 0.658 GB, free: 7.812 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.4894, allocations: 0 / 0.658 GB, free: 7.812 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.4899, allocations: 75.61 kB / 0.6581 GB, free: 7.738 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.4957, allocations: 2.026 MB / 0.6601 GB, free: 5.707 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.4961, allocations: 131.8 kB / 0.6602 GB, free: 5.578 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009916/0.4971, allocations: 0.7518 MB / 0.6609 GB, free: 4.824 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.059e-05/0.4972, allocations: 16.31 kB / 0.6609 GB, free: 4.809 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005827/0.4978, allocations: 247 kB / 0.6612 GB, free: 4.566 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.4987, allocations: 0.522 MB / 0.6617 GB, free: 4.043 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.4988, allocations: 8 kB / 0.6617 GB, free: 4.035 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005896/0.5047, allocations: 3.57 MB / 0.6652 GB, free: 468 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.5049, allocations: 163.6 kB / 0.6653 GB, free: 304 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.5052, allocations: 228.8 kB / 0.6656 GB, free: 68 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.5097, allocations: 2.194 MB / 0.6677 GB, free: 13.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5097, allocations: 0 / 0.6677 GB, free: 13.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5097, allocations: 0 / 0.6677 GB, free: 13.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5097, allocations: 0 / 0.6677 GB, free: 13.87 MB / 490.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.002347/0.5121, allocations: 0.8855 MB / 0.6686 GB, free: 12.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5121, allocations: 12.03 kB / 0.6686 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.5226, allocations: 1.28 MB / 0.6698 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.5234, allocations: 379.5 kB / 0.6702 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.5236, allocations: 127.5 kB / 0.6703 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.5238, allocations: 28 kB / 0.6703 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.5265, allocations: 1.429 MB / 0.6717 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5265, allocations: 8 kB / 0.6717 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.5266, allocations: 20 kB / 0.6718 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.784e-05/0.5267, allocations: 56.95 kB / 0.6718 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005204/0.5319, allocations: 2.615 MB / 0.6744 GB, free: 6.891 MB / 490.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.004809/0.5367, allocations: 3.848 MB / 0.6781 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.537, allocations: 82.56 kB / 0.6782 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.5371, allocations: 40.89 kB / 0.6782 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2095/0.7466, allocations: 3.213 MB / 0.6814 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.7467, allocations: 34.78 kB / 0.6814 GB, free: 143.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.7467, allocations: 0 / 0.6814 GB, free: 143.4 MB / 490.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=12): time 0.001256/0.748, allocations: 346.7 kB / 0.6817 GB, free: 143.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.748, allocations: 52.97 kB / 0.6818 GB, free: 143.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.7485, allocations: 393.6 kB / 0.6822 GB, free: 143.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.7485, allocations: 27.08 kB / 0.6822 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7486, allocations: 377.6 kB / 0.6826 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.7487, allocations: 50.78 kB / 0.6826 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.7487, allocations: 14.75 kB / 0.6826 GB, free: 142.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.7487, allocations: 339.9 kB / 0.6829 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.7489, allocations: 124.7 kB / 0.6831 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.7492, allocations: 0.5674 MB / 0.6836 GB, free: 141.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.7497, allocations: 0.7478 MB / 0.6843 GB, free: 141.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.7498, allocations: 11.28 kB / 0.6844 GB, free: 141.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007971/0.7506, allocations: 0.6856 MB / 0.685 GB, free: 141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7506, allocations: 11.62 kB / 0.685 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7506, allocations: 14.75 kB / 0.685 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.7506, allocations: 26.59 kB / 0.6851 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.7511, allocations: 193.7 kB / 0.6853 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002514/0.7513, allocations: 0.6129 MB / 0.6859 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.7518, allocations: 97.31 kB / 0.686 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.7518, allocations: 65.52 kB / 0.686 GB, free: 140.3 MB / 490.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.0001433/0.752, allocations: 212 kB / 0.6862 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.7521, allocations: 38 kB / 0.6863 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.7523, allocations: 174.3 kB / 0.6864 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7524, allocations: 1 kB / 0.6864 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7524, allocations: 1.062 kB / 0.6864 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7524, allocations: 2.906 kB / 0.6864 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.7528, allocations: 485.6 kB / 0.6869 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7528, allocations: 0.9688 kB / 0.6869 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.7529, allocations: 21.55 kB / 0.6869 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.753, allocations: 3.188 kB / 0.6869 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.753, allocations: 2.125 kB / 0.6869 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001687/0.7531, allocations: 0.5837 MB / 0.6875 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7532, allocations: 5.188 kB / 0.6875 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.7533, allocations: 215.2 kB / 0.6877 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.7534, allocations: 125.6 kB / 0.6878 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.7535, allocations: 0.7031 kB / 0.6878 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.7537, allocations: 19.72 kB / 0.6878 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.7538, allocations: 9.625 kB / 0.6878 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.7538, allocations: 8.531 kB / 0.6878 GB, free: 138.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.754, allocations: 245.8 kB / 0.6881 GB, free: 138.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.754, allocations: 0 / 0.6881 GB, free: 138.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001001/0.755, allocations: 348.4 kB / 0.6884 GB, free: 138.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * 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.001507/0.7565, allocations: 0.6524 MB / 0.6891 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.757, allocations: 334 kB / 0.6894 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.757, allocations: 3.938 kB / 0.6894 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.7571, allocations: 34.41 kB / 0.6894 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.7575, allocations: 52.69 kB / 0.6895 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.7635, allocations: 4.829 MB / 0.6942 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.7637, allocations: 0.7829 MB / 0.6949 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006892/0.7644, allocations: 257.6 kB / 0.6952 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.7645, allocations: 56.27 kB / 0.6952 GB, free: 135.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7645, allocations: 0 / 0.6952 GB, free: 135.9 MB / 490.7 MB Notification: Performance of Templates: time 0.01219/0.7767, allocations: 8.754 MB / 0.7038 GB, free: 135.2 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches