Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 224.9 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.0929, allocations: 48.7 MB / 331.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.637/1.73, allocations: 0.636 GB / 0.9596 GB, free: 1.148 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.731, allocations: 83 kB / 0.9596 GB, free: 1.102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5089/2.239, allocations: 111.3 MB / 1.068 GB, free: 63.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.463e-06/2.24, allocations: 3.938 kB / 1.068 GB, free: 63.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/2.24, allocations: 4 kB / 1.068 GB, free: 63.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003242/2.243, allocations: 1.053 MB / 1.069 GB, free: 62.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/2.243, allocations: 8.031 kB / 1.069 GB, free: 62.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007577/2.244, allocations: 71.66 kB / 1.069 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/2.244, allocations: 250.7 kB / 1.07 GB, free: 62.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/2.244, allocations: 24.5 kB / 1.07 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/2.244, allocations: 24 kB / 1.07 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/2.245, allocations: 485.5 kB / 1.07 GB, free: 61.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/2.245, allocations: 0 / 1.07 GB, free: 61.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/2.245, allocations: 12 kB / 1.07 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.62e-06/2.245, allocations: 4 kB / 1.07 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/2.246, allocations: 0.6773 MB / 1.071 GB, free: 61.18 MB / 426.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.009574/2.256, allocations: 4.153 MB / 1.075 GB, free: 56.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/2.257, allocations: 219.3 kB / 1.075 GB, free: 56.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1083/2.365, allocations: 42.51 MB / 1.117 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006151/2.366, allocations: 238.1 kB / 1.117 GB, free: 9.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.46e-06/2.366, allocations: 0 / 1.117 GB, free: 9.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.003144/2.369, allocations: 0.7216 MB / 1.118 GB, free: 9.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/2.369, allocations: 269.8 kB / 1.118 GB, free: 8.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/2.369, allocations: 181.6 kB / 1.118 GB, free: 8.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/2.369, allocations: 33.7 kB / 1.118 GB, free: 8.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/2.369, allocations: 281.5 kB / 1.118 GB, free: 8.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/2.37, allocations: 78.98 kB / 1.118 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/2.37, allocations: 12 kB / 1.118 GB, free: 8.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/2.37, allocations: 326.8 kB / 1.119 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/2.37, allocations: 69.08 kB / 1.119 GB, free: 7.926 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/2.37, allocations: 339.2 kB / 1.119 GB, free: 7.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/2.37, allocations: 123.9 kB / 1.119 GB, free: 7.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.079e-06/2.37, allocations: 4 kB / 1.119 GB, free: 7.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008755/2.371, allocations: 435.3 kB / 1.12 GB, free: 6.895 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/2.371, allocations: 12.06 kB / 1.12 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/2.371, allocations: 15.98 kB / 1.12 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/2.374, allocations: 293.5 kB / 1.12 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/2.374, allocations: 107.8 kB / 1.12 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005642/2.375, allocations: 1.219 MB / 1.121 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/2.375, allocations: 27.84 kB / 1.121 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/2.375, allocations: 28.19 kB / 1.121 GB, free: 5.148 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/2.375, allocations: 157.7 kB / 1.121 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/2.375, allocations: 31.75 kB / 1.121 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/2.377, allocations: 0.7928 MB / 1.122 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/2.377, allocations: 11.94 kB / 1.122 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.921e-06/2.377, allocations: 7.984 kB / 1.122 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.191e-06/2.377, allocations: 0 / 1.122 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/2.377, allocations: 0.4966 MB / 1.123 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/2.377, allocations: 8.25 kB / 1.123 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/2.377, allocations: 35.91 kB / 1.123 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/2.379, allocations: 237.4 kB / 1.123 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/2.379, allocations: 11.98 kB / 1.123 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005778/2.38, allocations: 1.262 MB / 1.124 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.724e-06/2.38, allocations: 8 kB / 1.124 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/2.38, allocations: 0.5401 MB / 1.125 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/2.381, allocations: 220 kB / 1.125 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/2.381, allocations: 11.95 kB / 1.125 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/2.381, allocations: 12 kB / 1.125 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/2.381, allocations: 15.97 kB / 1.125 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/2.381, allocations: 12 kB / 1.125 GB, free: 1.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000366/2.382, allocations: 298.9 kB / 1.125 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.2e-07/2.382, allocations: 4 kB / 1.125 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001831/2.383, allocations: 407.7 kB / 1.126 GB, free: 364 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2378/2.621, allocations: 0.707 MB / 1.126 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008986/2.622, allocations: 318.9 kB / 1.127 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.827e-06/2.622, allocations: 1.031 kB / 1.127 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/2.623, allocations: 185.1 kB / 1.127 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/2.623, allocations: 83.8 kB / 1.127 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.039/6.662, allocations: 1.255 GB / 2.382 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/6.662, allocations: 0.8282 MB / 2.383 GB, free: 99.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/6.663, allocations: 36.75 kB / 2.383 GB, free: 99.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.505e-06/6.663, allocations: 0 / 2.383 GB, free: 99.51 MB / 426.7 MB Notification: Performance of Templates: time 0.02172/6.684, allocations: 13.06 MB / 2.396 GB, free: 98.76 MB / 426.7 MB "Error: Could not read variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! " Variables in the reference:time,eps_h_is,eps,eta,lambda,Pr,p,T,d,h,u,s,g,f,cp,cp2,cv,cv2,h_is,a,beta,beta2,kappa,kappa2,MM,h2,d2,err_T,err_d,err_u,s_is,err_h_is Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,eps,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.d,der(medium.T),der(medium.d),medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.d,medium.state.h,medium.state.p,medium.u,p,s,s_is,state.T,state.d,state.h,state.p,state2.T,state2.d,state2.h,state2.p,state3.T,state3.d,state3.h,state3.p,state4.T,state4.d,state4.h,state4.p,state5.T,state5.d,state5.h,state5.p,state_h_is.T,state_h_is.d,state_h_is.h,state_h_is.p,time,u