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_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") Notification: Performance of loadModel(ModelicaTest): time 2.089/2.089, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.946e-05, allocations: 3.984 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 48.68 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.642/1.913, allocations: 0.6353 GB / 0.9478 GB, free: 149.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.914, allocations: 79.42 kB / 0.9479 GB, free: 149.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2746/2.188, allocations: 108.5 MB / 1.054 GB, free: 47.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/2.188, allocations: 3.938 kB / 1.054 GB, free: 47.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/2.188, allocations: 4 kB / 1.054 GB, free: 47.6 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.003241/2.192, allocations: 1.047 MB / 1.055 GB, free: 46.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/2.192, allocations: 15.97 kB / 1.055 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/2.192, allocations: 75.66 kB / 1.055 GB, free: 46.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/2.193, allocations: 242.7 kB / 1.055 GB, free: 46.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/2.193, allocations: 8 kB / 1.055 GB, free: 46.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/2.193, allocations: 16 kB / 1.055 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007832/2.194, allocations: 0.5866 MB / 1.056 GB, free: 45.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/2.194, allocations: 352.4 kB / 1.056 GB, free: 45.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/2.194, allocations: 0 / 1.056 GB, free: 45.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/2.194, allocations: 8 kB / 1.056 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.695e-06/2.194, allocations: 4 kB / 1.056 GB, free: 45.14 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.09305/2.287, allocations: 39.33 MB / 1.095 GB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/2.288, allocations: 82.58 kB / 1.095 GB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/2.288, allocations: 32.84 kB / 1.095 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2552/2.543, allocations: 7.027 MB / 1.102 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/2.543, allocations: 87.86 kB / 1.102 GB, free: 115.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.379e-06/2.543, allocations: 0 / 1.102 GB, free: 115.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.002525/2.546, allocations: 362.7 kB / 1.102 GB, free: 115.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/2.546, allocations: 53.72 kB / 1.102 GB, free: 115.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/2.546, allocations: 196.6 kB / 1.102 GB, free: 115.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/2.546, allocations: 30.42 kB / 1.102 GB, free: 115.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/2.546, allocations: 306.5 kB / 1.102 GB, free: 115.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/2.546, allocations: 45.3 kB / 1.103 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/2.546, allocations: 0 / 1.103 GB, free: 115.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/2.546, allocations: 330.6 kB / 1.103 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/2.546, allocations: 56.19 kB / 1.103 GB, free: 114.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/2.547, allocations: 292.2 kB / 1.103 GB, free: 114.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/2.549, allocations: 245.5 kB / 1.103 GB, free: 114.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/2.549, allocations: 5.719 kB / 1.103 GB, free: 114.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002858/2.552, allocations: 490.4 kB / 1.104 GB, free: 114.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/2.552, allocations: 7.219 kB / 1.104 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/2.552, allocations: 7.719 kB / 1.104 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/2.552, allocations: 16.83 kB / 1.104 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/2.554, allocations: 229.5 kB / 1.104 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/2.554, allocations: 0.6026 MB / 1.105 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/2.555, allocations: 13.06 kB / 1.105 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/2.555, allocations: 31.78 kB / 1.105 GB, free: 113.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.0001259/2.555, allocations: 125.6 kB / 1.105 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/2.555, allocations: 22.8 kB / 1.105 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008462/2.556, allocations: 310.3 kB / 1.105 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/2.556, allocations: 10.94 kB / 1.105 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.103e-06/2.556, allocations: 0 / 1.105 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-06/2.556, allocations: 0 / 1.105 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/2.556, allocations: 283.6 kB / 1.105 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.246e-06/2.556, allocations: 4.562 kB / 1.105 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/2.557, allocations: 115.4 kB / 1.106 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-06/2.557, allocations: 0 / 1.106 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/2.557, allocations: 0 / 1.106 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000301/2.558, allocations: 0.5929 MB / 1.106 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/2.558, allocations: 0 / 1.106 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/2.558, allocations: 249.1 kB / 1.106 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/2.558, allocations: 138 kB / 1.107 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/2.558, allocations: 6.969 kB / 1.107 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/2.559, allocations: 7.719 kB / 1.107 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/2.559, allocations: 7.031 kB / 1.107 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/2.559, allocations: 7.266 kB / 1.107 GB, free: 112.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000184/2.559, allocations: 174.4 kB / 1.107 GB, free: 112.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.88e-07/2.559, allocations: 0 / 1.107 GB, free: 112.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001989/2.561, allocations: 455.9 kB / 1.107 GB, free: 112.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002784/2.564, allocations: 0.8379 MB / 1.108 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/2.565, allocations: 276.4 kB / 1.108 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.625e-06/2.565, allocations: 0 / 1.108 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007932/2.566, allocations: 147.6 kB / 1.108 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/2.566, allocations: 34.86 kB / 1.108 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2246/2.791, allocations: 111.1 MB / 1.217 GB, free: 43.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/2.791, allocations: 0.7657 MB / 1.218 GB, free: 42.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/2.791, allocations: 47.41 kB / 1.218 GB, free: 42.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.661e-06/2.791, allocations: 0 / 1.218 GB, free: 42.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01873/2.81, allocations: 12.11 MB / 1.23 GB, free: 30.66 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_pT_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_pT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_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,_D_cse1.R,_D_cse1.T,_D_cse1.cp,_D_cse1.cv,_D_cse1.h,_D_cse1.p,_D_cse1.pd,_D_cse1.pt,_D_cse1.rho,_D_cse1.s,_D_cse1.vp,_D_cse1.vt,_D_cse2.R,_D_cse2.T,_D_cse2.cp,_D_cse2.cv,_D_cse2.h,_D_cse2.p,_D_cse2.pd,_D_cse2.pt,_D_cse2.rho,_D_cse2.s,_D_cse2.vp,_D_cse2.vt,_D_whenCondition1,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),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