Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.731e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.785/2.069, allocations: 0.6416 GB / 0.9913 GB, free: 114.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/2.069, allocations: 79.05 kB / 0.9914 GB, free: 114.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2776/2.347, allocations: 108.6 MB / 1.097 GB, free: 63.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.559e-06/2.347, allocations: 0 / 1.097 GB, free: 63.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/2.347, allocations: 4 kB / 1.097 GB, free: 63.49 MB / 474.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.003334/2.35, allocations: 1.044 MB / 1.098 GB, free: 62.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/2.35, allocations: 12.03 kB / 1.098 GB, free: 62.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/2.351, allocations: 79.64 kB / 1.098 GB, free: 62.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/2.351, allocations: 242.7 kB / 1.099 GB, free: 62.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/2.351, allocations: 8 kB / 1.099 GB, free: 62.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/2.351, allocations: 16 kB / 1.099 GB, free: 62.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007907/2.352, allocations: 0.5827 MB / 1.099 GB, free: 61.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/2.353, allocations: 352.5 kB / 1.1 GB, free: 61.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/2.353, allocations: 3.938 kB / 1.1 GB, free: 61.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/2.353, allocations: 3.953 kB / 1.1 GB, free: 61.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.923e-06/2.353, allocations: 8 kB / 1.1 GB, free: 61.04 MB / 474.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.09308/2.446, allocations: 39.34 MB / 1.138 GB, free: 18.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/2.446, allocations: 70.59 kB / 1.138 GB, free: 18.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/2.446, allocations: 32.92 kB / 1.138 GB, free: 18.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02036/2.466, allocations: 7.043 MB / 1.145 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/2.467, allocations: 83.38 kB / 1.145 GB, free: 10.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 3.069e-06/2.467, allocations: 0 / 1.145 GB, free: 10.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.002413/2.469, allocations: 360.5 kB / 1.145 GB, free: 9.949 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/2.469, allocations: 51.41 kB / 1.146 GB, free: 9.887 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/2.469, allocations: 206.9 kB / 1.146 GB, free: 9.676 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/2.469, allocations: 25.92 kB / 1.146 GB, free: 9.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/2.47, allocations: 305 kB / 1.146 GB, free: 9.344 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/2.47, allocations: 55.23 kB / 1.146 GB, free: 9.289 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/2.47, allocations: 0 / 1.146 GB, free: 9.289 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/2.47, allocations: 322.8 kB / 1.146 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/2.47, allocations: 53.11 kB / 1.146 GB, free: 8.914 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/2.47, allocations: 293.8 kB / 1.147 GB, free: 8.508 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/2.472, allocations: 260 kB / 1.147 GB, free: 8.254 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.961e-06/2.472, allocations: 4 kB / 1.147 GB, free: 8.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002934/2.475, allocations: 485.4 kB / 1.147 GB, free: 7.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/2.475, allocations: 12.22 kB / 1.147 GB, free: 7.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/2.475, allocations: 8 kB / 1.147 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/2.475, allocations: 12 kB / 1.147 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/2.477, allocations: 227.7 kB / 1.148 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003595/2.477, allocations: 0.6054 MB / 1.148 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/2.478, allocations: 15.86 kB / 1.148 GB, free: 6.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/2.478, allocations: 31.98 kB / 1.148 GB, free: 6.84 MB / 474.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.0001152/2.478, allocations: 122.5 kB / 1.148 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/2.478, allocations: 23.91 kB / 1.148 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/2.479, allocations: 303.2 kB / 1.149 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.791e-06/2.479, allocations: 4 kB / 1.149 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-06/2.479, allocations: 0 / 1.149 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.025e-06/2.479, allocations: 7.984 kB / 1.149 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/2.479, allocations: 286 kB / 1.149 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.047e-06/2.479, allocations: 4 kB / 1.149 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000992/2.48, allocations: 107.8 kB / 1.149 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.055e-06/2.48, allocations: 0 / 1.149 GB, free: 5.953 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/2.481, allocations: 7.984 kB / 1.149 GB, free: 5.945 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003095/2.481, allocations: 0.582 MB / 1.15 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.401e-06/2.481, allocations: 3.953 kB / 1.15 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/2.482, allocations: 256.6 kB / 1.15 GB, free: 5.066 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/2.482, allocations: 136.7 kB / 1.15 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/2.482, allocations: 0 / 1.15 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/2.482, allocations: 11.98 kB / 1.15 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/2.482, allocations: 11.94 kB / 1.15 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/2.482, allocations: 8 kB / 1.15 GB, free: 4.883 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001693/2.482, allocations: 170 kB / 1.15 GB, free: 4.719 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.482, allocations: 3.938 kB / 1.15 GB, free: 4.715 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001984/2.484, allocations: 463.3 kB / 1.151 GB, free: 4.262 MB / 474.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.002866/2.487, allocations: 0.8343 MB / 1.152 GB, free: 3.422 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/2.488, allocations: 269.7 kB / 1.152 GB, free: 3.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.125e-06/2.488, allocations: 4.062 kB / 1.152 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006879/2.489, allocations: 144 kB / 1.152 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/2.489, allocations: 33.61 kB / 1.152 GB, free: 2.984 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4806/2.97, allocations: 111.1 MB / 1.26 GB, free: 75.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/2.97, allocations: 0.7601 MB / 1.261 GB, free: 74.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/2.97, allocations: 43.42 kB / 1.261 GB, free: 74.79 MB / 474.7 MB Notification: Performance of SimCode: time 2.13e-06/2.97, allocations: 0 / 1.261 GB, free: 74.79 MB / 474.7 MB Notification: Performance of Templates: time 0.01877/2.989, allocations: 12.11 MB / 1.273 GB, free: 62.89 MB / 474.7 MB "Error: Could not read variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] in file ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_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