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_ph.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_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.421/2.421, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 8 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3444, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/2.161, allocations: 0.6424 GB / 1.003 GB, free: 17.59 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/2.161, allocations: 96.69 kB / 1.004 GB, free: 17.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6865/2.848, allocations: 111.4 MB / 1.112 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/2.848, allocations: 3.938 kB / 1.112 GB, free: 113.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/2.848, allocations: 4 kB / 1.112 GB, free: 113.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.003668/2.852, allocations: 1.053 MB / 1.113 GB, free: 112.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/2.852, allocations: 8.031 kB / 1.113 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/2.852, allocations: 75.66 kB / 1.113 GB, free: 112.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/2.853, allocations: 254.6 kB / 1.114 GB, free: 112.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/2.853, allocations: 20.56 kB / 1.114 GB, free: 112.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/2.853, allocations: 24 kB / 1.114 GB, free: 112.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/2.854, allocations: 481.5 kB / 1.114 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/2.854, allocations: 0 / 1.114 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/2.854, allocations: 12 kB / 1.114 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/2.854, allocations: 15.95 kB / 1.114 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/2.856, allocations: 0.6773 MB / 1.115 GB, free: 110.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.01387/2.869, allocations: 5.357 MB / 1.12 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/2.87, allocations: 173 kB / 1.12 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07315/2.943, allocations: 25.62 MB / 1.145 GB, free: 76.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007266/2.944, allocations: 292 kB / 1.146 GB, free: 75.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.036e-06/2.944, allocations: 0 / 1.146 GB, free: 75.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.001632/2.946, allocations: 382.2 kB / 1.146 GB, free: 75.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/2.946, allocations: 427.4 kB / 1.146 GB, free: 75.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/2.946, allocations: 202.4 kB / 1.147 GB, free: 74.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/2.946, allocations: 29.7 kB / 1.147 GB, free: 74.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/2.946, allocations: 261.9 kB / 1.147 GB, free: 74.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/2.946, allocations: 90.73 kB / 1.147 GB, free: 74.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/2.946, allocations: 12 kB / 1.147 GB, free: 74.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/2.947, allocations: 326.8 kB / 1.147 GB, free: 74.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/2.947, allocations: 60.83 kB / 1.147 GB, free: 74.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/2.947, allocations: 310.7 kB / 1.148 GB, free: 73.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/2.947, allocations: 107.9 kB / 1.148 GB, free: 73.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/2.947, allocations: 4 kB / 1.148 GB, free: 73.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009111/2.948, allocations: 401 kB / 1.148 GB, free: 73.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/2.948, allocations: 8 kB / 1.148 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/2.948, allocations: 8 kB / 1.148 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/2.948, allocations: 12 kB / 1.148 GB, free: 73.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/2.949, allocations: 107.8 kB / 1.148 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/2.949, allocations: 16.47 kB / 1.148 GB, free: 73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/2.949, allocations: 51.53 kB / 1.148 GB, free: 72.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/2.949, allocations: 27.98 kB / 1.148 GB, free: 72.93 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.0001876/2.95, allocations: 161.5 kB / 1.148 GB, free: 72.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/2.95, allocations: 39.59 kB / 1.149 GB, free: 72.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/2.951, allocations: 0.8062 MB / 1.149 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/2.951, allocations: 7.984 kB / 1.149 GB, free: 71.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.951, allocations: 4 kB / 1.149 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/2.951, allocations: 0 / 1.149 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04303/2.994, allocations: 12.11 MB / 1.161 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/2.994, allocations: 4 kB / 1.161 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/2.995, allocations: 27.92 kB / 1.161 GB, free: 58.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/2.995, allocations: 4 kB / 1.161 GB, free: 58.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/2.995, allocations: 8 kB / 1.161 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/2.995, allocations: 4 kB / 1.161 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.995, allocations: 0 / 1.161 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/2.995, allocations: 408 kB / 1.162 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/2.995, allocations: 188.3 kB / 1.162 GB, free: 57.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/2.995, allocations: 8 kB / 1.162 GB, free: 57.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/2.996, allocations: 12 kB / 1.162 GB, free: 57.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/2.996, allocations: 11.92 kB / 1.162 GB, free: 57.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/2.996, allocations: 15.98 kB / 1.162 GB, free: 57.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003049/2.996, allocations: 231.2 kB / 1.162 GB, free: 57.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.996, allocations: 0 / 1.162 GB, free: 57.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002094/2.998, allocations: 439.3 kB / 1.162 GB, free: 57.22 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.002875/3.001, allocations: 0.7667 MB / 1.163 GB, free: 56.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006498/3.002, allocations: 249.6 kB / 1.163 GB, free: 56.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/3.002, allocations: 0 / 1.163 GB, free: 56.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/3.002, allocations: 107.8 kB / 1.164 GB, free: 56.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/3.003, allocations: 82.44 kB / 1.164 GB, free: 56.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.899/5.902, allocations: 0.7344 GB / 1.898 GB, free: 33.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/5.902, allocations: 0.8118 MB / 1.899 GB, free: 32.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/5.903, allocations: 39.42 kB / 1.899 GB, free: 32.43 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/5.903, allocations: 3.719 kB / 1.899 GB, free: 32.43 MB / 490.7 MB Notification: Performance of Templates: time 0.02373/5.926, allocations: 10.85 MB / 1.909 GB, free: 21.82 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