Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadModel(ModelicaTest): time 2.133/2.133, allocations: 209.2 MB / 225.4 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004297, allocations: 8 kB / 283.1 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3968, allocations: 48.71 MB / 331.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.934/2.331, allocations: 0.636 GB / 0.9601 GB, free: 13.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/2.331, allocations: 84.33 kB / 0.9601 GB, free: 13.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6413/2.972, allocations: 111.3 MB / 1.069 GB, free: 93.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.986e-06/2.972, allocations: 0 / 1.069 GB, free: 93.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/2.972, allocations: 4 kB / 1.069 GB, free: 93.07 MB / 442.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.004393/2.977, allocations: 1.049 MB / 1.07 GB, free: 91.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/2.977, allocations: 12.03 kB / 1.07 GB, free: 91.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/2.978, allocations: 75.66 kB / 1.07 GB, free: 91.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/2.978, allocations: 250.7 kB / 1.07 GB, free: 91.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/2.978, allocations: 20.56 kB / 1.07 GB, free: 91.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/2.978, allocations: 27.98 kB / 1.07 GB, free: 91.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/2.98, allocations: 485.5 kB / 1.071 GB, free: 91.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/2.98, allocations: 0 / 1.071 GB, free: 91.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/2.98, allocations: 16 kB / 1.071 GB, free: 91.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/2.98, allocations: 8 kB / 1.071 GB, free: 91.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/2.981, allocations: 0.6773 MB / 1.071 GB, free: 90.34 MB / 442.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.01444/2.996, allocations: 5.369 MB / 1.077 GB, free: 84.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/2.997, allocations: 165 kB / 1.077 GB, free: 84.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07916/3.076, allocations: 25.61 MB / 1.102 GB, free: 55.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007365/3.077, allocations: 284 kB / 1.102 GB, free: 55.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.946e-06/3.077, allocations: 0 / 1.102 GB, free: 55.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.001601/3.078, allocations: 408.7 kB / 1.102 GB, free: 55.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/3.078, allocations: 420.8 kB / 1.103 GB, free: 54.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/3.079, allocations: 194.5 kB / 1.103 GB, free: 54.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/3.079, allocations: 33.7 kB / 1.103 GB, free: 54.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/3.079, allocations: 258 kB / 1.103 GB, free: 54.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/3.079, allocations: 98.66 kB / 1.103 GB, free: 53.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/3.079, allocations: 12 kB / 1.103 GB, free: 53.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/3.079, allocations: 326.8 kB / 1.104 GB, free: 53.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/3.079, allocations: 60.83 kB / 1.104 GB, free: 53.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/3.079, allocations: 306.8 kB / 1.104 GB, free: 53.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/3.08, allocations: 111.8 kB / 1.104 GB, free: 53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/3.08, allocations: 0 / 1.104 GB, free: 53 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009069/3.081, allocations: 397.5 kB / 1.105 GB, free: 52.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/3.081, allocations: 8 kB / 1.105 GB, free: 52.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/3.081, allocations: 8 kB / 1.105 GB, free: 52.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/3.081, allocations: 12 kB / 1.105 GB, free: 52.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/3.081, allocations: 107.8 kB / 1.105 GB, free: 52.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/3.081, allocations: 15.94 kB / 1.105 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/3.082, allocations: 47.55 kB / 1.105 GB, free: 52.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/3.082, allocations: 35.92 kB / 1.105 GB, free: 52.38 MB / 442.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.000195/3.082, allocations: 157.7 kB / 1.105 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/3.082, allocations: 35.7 kB / 1.105 GB, free: 52.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/3.084, allocations: 0.814 MB / 1.106 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/3.084, allocations: 7.984 kB / 1.106 GB, free: 51.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/3.084, allocations: 4 kB / 1.106 GB, free: 51.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/3.084, allocations: 0 / 1.106 GB, free: 51.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04509/3.129, allocations: 12.09 MB / 1.118 GB, free: 38.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/3.129, allocations: 8.094 kB / 1.118 GB, free: 38.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/3.129, allocations: 27.92 kB / 1.118 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/3.129, allocations: 4 kB / 1.118 GB, free: 38.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/3.129, allocations: 8 kB / 1.118 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/3.129, allocations: 3.953 kB / 1.118 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/3.129, allocations: 4 kB / 1.118 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/3.13, allocations: 399.9 kB / 1.118 GB, free: 37.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/3.13, allocations: 188.3 kB / 1.118 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/3.13, allocations: 11.98 kB / 1.118 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/3.13, allocations: 8 kB / 1.118 GB, free: 37.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/3.13, allocations: 23.88 kB / 1.118 GB, free: 37.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/3.131, allocations: 8 kB / 1.118 GB, free: 37.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003481/3.131, allocations: 231.2 kB / 1.119 GB, free: 37.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/3.131, allocations: 0 / 1.119 GB, free: 37.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002347/3.133, allocations: 439.3 kB / 1.119 GB, free: 36.68 MB / 442.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.00329/3.137, allocations: 0.7755 MB / 1.12 GB, free: 35.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007022/3.137, allocations: 249.1 kB / 1.12 GB, free: 35.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/3.137, allocations: 4 kB / 1.12 GB, free: 35.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/3.138, allocations: 103.8 kB / 1.12 GB, free: 35.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/3.138, allocations: 74.91 kB / 1.12 GB, free: 35.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.278/6.416, allocations: 0.7344 GB / 1.854 GB, free: 93.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/6.417, allocations: 0.802 MB / 1.855 GB, free: 92.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/6.417, allocations: 46.17 kB / 1.855 GB, free: 92.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/6.417, allocations: 0 / 1.855 GB, free: 92.85 MB / 442.7 MB Notification: Performance of Templates: time 0.02447/6.441, allocations: 10.86 MB / 1.866 GB, free: 86.39 MB / 442.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_ph_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_ph_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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