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_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") Notification: Performance of loadModel(ModelicaTest): time 2.172/2.172, allocations: 234.9 MB / 250.5 MB, free: 9.449 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007399/0.00074, allocations: 16 kB / 314.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2873, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.601/1.889, allocations: 0.6424 GB / 1.003 GB, free: 37.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.889, allocations: 85.27 kB / 1.003 GB, free: 37.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5324/2.421, allocations: 111.4 MB / 1.112 GB, free: 129.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.425e-06/2.421, allocations: 0 / 1.112 GB, free: 129.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/2.421, allocations: 4 kB / 1.112 GB, free: 129.6 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003273/2.425, allocations: 1.053 MB / 1.113 GB, free: 128.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/2.425, allocations: 8.031 kB / 1.113 GB, free: 128.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007471/2.426, allocations: 83.66 kB / 1.113 GB, free: 128.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/2.426, allocations: 246.7 kB / 1.113 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/2.426, allocations: 20.56 kB / 1.113 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/2.426, allocations: 24 kB / 1.113 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/2.427, allocations: 477.5 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.427, allocations: 3.938 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/2.427, allocations: 12 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/2.427, allocations: 11.95 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/2.428, allocations: 0.6812 MB / 1.114 GB, free: 126.9 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.01002/2.438, allocations: 5.365 MB / 1.12 GB, free: 121.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/2.439, allocations: 169 kB / 1.12 GB, free: 120.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05248/2.492, allocations: 25.62 MB / 1.145 GB, free: 92.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/2.492, allocations: 288 kB / 1.145 GB, free: 91.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.659e-06/2.492, allocations: 0 / 1.145 GB, free: 91.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.001483/2.494, allocations: 398.3 kB / 1.145 GB, free: 91.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/2.494, allocations: 423.2 kB / 1.146 GB, free: 91.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/2.494, allocations: 178.1 kB / 1.146 GB, free: 90.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/2.494, allocations: 37.7 kB / 1.146 GB, free: 90.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/2.494, allocations: 257.9 kB / 1.146 GB, free: 90.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/2.494, allocations: 94.72 kB / 1.146 GB, free: 90.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/2.494, allocations: 8 kB / 1.146 GB, free: 90.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/2.494, allocations: 326.8 kB / 1.147 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/2.495, allocations: 60.83 kB / 1.147 GB, free: 90.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/2.495, allocations: 302.8 kB / 1.147 GB, free: 89.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/2.495, allocations: 119.9 kB / 1.147 GB, free: 89.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.787e-06/2.495, allocations: 4 kB / 1.147 GB, free: 89.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007942/2.496, allocations: 393.5 kB / 1.148 GB, free: 89.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/2.496, allocations: 11.95 kB / 1.148 GB, free: 89.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/2.496, allocations: 12.12 kB / 1.148 GB, free: 89.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/2.496, allocations: 16 kB / 1.148 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/2.496, allocations: 103.8 kB / 1.148 GB, free: 89.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/2.496, allocations: 15.94 kB / 1.148 GB, free: 89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/2.497, allocations: 51.53 kB / 1.148 GB, free: 88.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/2.497, allocations: 31.98 kB / 1.148 GB, free: 88.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/2.497, allocations: 153.5 kB / 1.148 GB, free: 88.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/2.497, allocations: 31.7 kB / 1.148 GB, free: 88.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/2.498, allocations: 0.8058 MB / 1.149 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/2.499, allocations: 11.98 kB / 1.149 GB, free: 87.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.713e-06/2.499, allocations: 4.156 kB / 1.149 GB, free: 87.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/2.499, allocations: 4 kB / 1.149 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/2.528, allocations: 12.08 MB / 1.161 GB, free: 74.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.673e-06/2.528, allocations: 4 kB / 1.161 GB, free: 74.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/2.528, allocations: 32.02 kB / 1.161 GB, free: 74.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.649e-06/2.528, allocations: 8.094 kB / 1.161 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/2.528, allocations: 7.938 kB / 1.161 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.06e-06/2.528, allocations: 4 kB / 1.161 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.931e-06/2.528, allocations: 3.938 kB / 1.161 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/2.529, allocations: 498.9 kB / 1.161 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/2.529, allocations: 180.3 kB / 1.161 GB, free: 73.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/2.529, allocations: 15.92 kB / 1.161 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/2.529, allocations: 12 kB / 1.161 GB, free: 73.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/2.529, allocations: 19.94 kB / 1.161 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/2.529, allocations: 12 kB / 1.161 GB, free: 73.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002582/2.53, allocations: 227.2 kB / 1.162 GB, free: 73.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.63e-07/2.53, allocations: 0 / 1.162 GB, free: 73.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001786/2.531, allocations: 435.3 kB / 1.162 GB, free: 73.1 MB / 490.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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002651/2.534, allocations: 0.7783 MB / 1.163 GB, free: 72.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005442/2.535, allocations: 245.1 kB / 1.163 GB, free: 72.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.818e-06/2.535, allocations: 4 kB / 1.163 GB, free: 72.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/2.535, allocations: 108.7 kB / 1.163 GB, free: 71.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/2.535, allocations: 69.5 kB / 1.163 GB, free: 71.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.28/4.816, allocations: 0.7344 GB / 1.898 GB, free: 49.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/4.816, allocations: 0.804 MB / 1.898 GB, free: 48.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/4.816, allocations: 43.42 kB / 1.898 GB, free: 48.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.674e-06/4.816, allocations: 0 / 1.898 GB, free: 48.14 MB / 490.7 MB Notification: Performance of Templates: time 0.01752/4.834, allocations: 10.86 MB / 1.909 GB, free: 37.52 MB / 490.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_ph_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_ph_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_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,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