Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.53/2.53, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005961/0.0005964, allocations: 12 kB / 314.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4456, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.848/2.294, allocations: 0.6424 GB / 1.003 GB, free: 49.59 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/2.294, allocations: 86.44 kB / 1.004 GB, free: 49.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.648/2.942, allocations: 111.4 MB / 1.112 GB, free: 147.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/2.942, allocations: 0 / 1.112 GB, free: 147.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/2.942, allocations: 11.92 kB / 1.112 GB, free: 147.2 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.003808/2.946, allocations: 1.053 MB / 1.113 GB, free: 146.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/2.946, allocations: 8.031 kB / 1.113 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/2.947, allocations: 79.66 kB / 1.113 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/2.948, allocations: 242.7 kB / 1.114 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/2.948, allocations: 24.5 kB / 1.114 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/2.948, allocations: 24 kB / 1.114 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/2.949, allocations: 481.5 kB / 1.114 GB, free: 145.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/2.949, allocations: 3.938 kB / 1.114 GB, free: 145.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/2.949, allocations: 12 kB / 1.114 GB, free: 145.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/2.949, allocations: 11.95 kB / 1.114 GB, free: 145.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/2.95, allocations: 0.6812 MB / 1.115 GB, free: 144.5 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.01319/2.964, allocations: 4.182 MB / 1.119 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/2.965, allocations: 215.4 kB / 1.119 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1378/3.102, allocations: 39.82 MB / 1.158 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007554/3.103, allocations: 313.9 kB / 1.158 GB, free: 96.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/3.103, allocations: 4 kB / 1.158 GB, free: 96.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.003126/3.106, allocations: 0.7957 MB / 1.159 GB, free: 95.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/3.106, allocations: 423.6 kB / 1.16 GB, free: 94.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/3.107, allocations: 166.1 kB / 1.16 GB, free: 94.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/3.107, allocations: 33.7 kB / 1.16 GB, free: 94.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/3.107, allocations: 242.2 kB / 1.16 GB, free: 94.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/3.107, allocations: 118.3 kB / 1.16 GB, free: 94.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/3.107, allocations: 15.94 kB / 1.16 GB, free: 94.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/3.107, allocations: 330.8 kB / 1.16 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/3.107, allocations: 57.09 kB / 1.16 GB, free: 93.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/3.107, allocations: 310.8 kB / 1.161 GB, free: 93.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/3.108, allocations: 119.8 kB / 1.161 GB, free: 93.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/3.108, allocations: 0 / 1.161 GB, free: 93.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008968/3.109, allocations: 393.5 kB / 1.161 GB, free: 92.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/3.109, allocations: 12.22 kB / 1.161 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/3.109, allocations: 8 kB / 1.161 GB, free: 92.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/3.109, allocations: 12 kB / 1.161 GB, free: 92.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/3.112, allocations: 259.7 kB / 1.162 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000483/3.112, allocations: 1.187 MB / 1.163 GB, free: 91.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/3.113, allocations: 23.92 kB / 1.163 GB, free: 91.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/3.113, allocations: 28 kB / 1.163 GB, free: 91.26 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002034/3.113, allocations: 157.6 kB / 1.163 GB, free: 91.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/3.113, allocations: 31.91 kB / 1.163 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/3.115, allocations: 0.9811 MB / 1.164 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/3.115, allocations: 11.98 kB / 1.164 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/3.115, allocations: 7.938 kB / 1.164 GB, free: 90.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/3.115, allocations: 7.984 kB / 1.164 GB, free: 90.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/3.157, allocations: 12.3 MB / 1.176 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/3.157, allocations: 4 kB / 1.176 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/3.158, allocations: 127.9 kB / 1.176 GB, free: 76.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/3.158, allocations: 4 kB / 1.176 GB, free: 76.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/3.158, allocations: 11.98 kB / 1.176 GB, free: 76.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002555/3.159, allocations: 0.5821 MB / 1.177 GB, free: 75.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/3.159, allocations: 7.984 kB / 1.177 GB, free: 75.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/3.159, allocations: 0.5363 MB / 1.177 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/3.16, allocations: 188.3 kB / 1.177 GB, free: 75.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/3.16, allocations: 7.984 kB / 1.177 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/3.16, allocations: 19.89 kB / 1.177 GB, free: 75.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/3.16, allocations: 23.97 kB / 1.177 GB, free: 74.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/3.16, allocations: 16 kB / 1.177 GB, free: 74.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002727/3.16, allocations: 215.2 kB / 1.178 GB, free: 74.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.16, allocations: 0 / 1.178 GB, free: 74.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002224/3.163, allocations: 479.4 kB / 1.178 GB, free: 74.29 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003249/3.166, allocations: 0.829 MB / 1.179 GB, free: 73.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002041/3.168, allocations: 400.1 kB / 1.179 GB, free: 73.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/3.168, allocations: 0 / 1.179 GB, free: 73.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/3.169, allocations: 249.7 kB / 1.18 GB, free: 72.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/3.17, allocations: 81.36 kB / 1.18 GB, free: 72.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.909/6.079, allocations: 0.6797 GB / 1.859 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/6.079, allocations: 0.8165 MB / 1.86 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/6.079, allocations: 47.41 kB / 1.86 GB, free: 104.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/6.079, allocations: 0 / 1.86 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02642/6.106, allocations: 12.99 MB / 1.873 GB, free: 92.15 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_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,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