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_dT.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_dT,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_dT") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.652e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2842, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.759, allocations: 0.6416 GB / 0.9913 GB, free: 5.473 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.759, allocations: 77.31 kB / 0.9914 GB, free: 5.398 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5205/2.28, allocations: 108.5 MB / 1.097 GB, free: 89.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.432e-06/2.28, allocations: 0 / 1.097 GB, free: 89.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/2.28, allocations: 4 kB / 1.097 GB, free: 89.67 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.003415/2.283, allocations: 1.052 MB / 1.098 GB, free: 88.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/2.283, allocations: 8.031 kB / 1.098 GB, free: 88.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/2.284, allocations: 75.66 kB / 1.098 GB, free: 88.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/2.284, allocations: 254.6 kB / 1.099 GB, free: 88.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/2.284, allocations: 12 kB / 1.099 GB, free: 88.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/2.284, allocations: 12 kB / 1.099 GB, free: 88.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008016/2.285, allocations: 0.5788 MB / 1.099 GB, free: 87.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/2.286, allocations: 356.4 kB / 1.1 GB, free: 87.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/2.286, allocations: 0 / 1.1 GB, free: 87.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/2.286, allocations: 7.953 kB / 1.1 GB, free: 87.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-06/2.286, allocations: 8 kB / 1.1 GB, free: 87.21 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.05699/2.343, allocations: 27.76 MB / 1.127 GB, free: 57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/2.343, allocations: 74.66 kB / 1.127 GB, free: 56.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/2.343, allocations: 29.08 kB / 1.127 GB, free: 56.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01882/2.362, allocations: 6.446 MB / 1.133 GB, free: 49.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/2.362, allocations: 91.31 kB / 1.133 GB, free: 49.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 3.336e-06/2.362, allocations: 0 / 1.133 GB, free: 49.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.002354/2.365, allocations: 414.2 kB / 1.134 GB, free: 49.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/2.365, allocations: 55.41 kB / 1.134 GB, free: 49.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/2.365, allocations: 194.9 kB / 1.134 GB, free: 49.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/2.365, allocations: 25.7 kB / 1.134 GB, free: 49.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/2.365, allocations: 309 kB / 1.134 GB, free: 48.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/2.365, allocations: 51.38 kB / 1.134 GB, free: 48.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/2.365, allocations: 0 / 1.134 GB, free: 48.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.115e-05/2.365, allocations: 330.8 kB / 1.135 GB, free: 48.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/2.365, allocations: 57.05 kB / 1.135 GB, free: 48.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/2.365, allocations: 326.2 kB / 1.135 GB, free: 47.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/2.367, allocations: 192.4 kB / 1.135 GB, free: 47.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.129e-06/2.367, allocations: 4 kB / 1.135 GB, free: 47.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001877/2.369, allocations: 467.2 kB / 1.136 GB, free: 47.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/2.369, allocations: 8 kB / 1.136 GB, free: 47.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/2.369, allocations: 12 kB / 1.136 GB, free: 47.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/2.369, allocations: 45.7 kB / 1.136 GB, free: 47.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/2.369, allocations: 99.83 kB / 1.136 GB, free: 47.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009319/2.37, allocations: 1.27 MB / 1.137 GB, free: 45.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/2.371, allocations: 8 kB / 1.137 GB, free: 45.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/2.371, allocations: 31.98 kB / 1.137 GB, free: 45.76 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001685/2.371, allocations: 129.7 kB / 1.137 GB, free: 45.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/2.371, allocations: 23.81 kB / 1.137 GB, free: 45.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009108/2.372, allocations: 399.1 kB / 1.138 GB, free: 45.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.729e-06/2.372, allocations: 0 / 1.138 GB, free: 45.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.372, allocations: 4 kB / 1.138 GB, free: 45.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-06/2.372, allocations: 4 kB / 1.138 GB, free: 45.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/2.372, allocations: 321.6 kB / 1.138 GB, free: 44.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.554e-06/2.372, allocations: 0 / 1.138 GB, free: 44.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/2.373, allocations: 15.98 kB / 1.138 GB, free: 44.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/2.373, allocations: 57.69 kB / 1.138 GB, free: 44.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/2.373, allocations: 0 / 1.138 GB, free: 44.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007427/2.373, allocations: 1.301 MB / 1.139 GB, free: 43.42 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.002e-06/2.373, allocations: 0 / 1.139 GB, free: 43.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/2.374, allocations: 326.5 kB / 1.139 GB, free: 43.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/2.374, allocations: 124.8 kB / 1.14 GB, free: 42.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/2.374, allocations: 4 kB / 1.14 GB, free: 42.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/2.375, allocations: 7.984 kB / 1.14 GB, free: 42.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/2.375, allocations: 8.141 kB / 1.14 GB, free: 42.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/2.375, allocations: 19.94 kB / 1.14 GB, free: 42.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001486/2.375, allocations: 150 kB / 1.14 GB, free: 42.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.41e-07/2.375, allocations: 4 kB / 1.14 GB, free: 42.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001641/2.376, allocations: 391.4 kB / 1.14 GB, free: 42.37 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002406/2.379, allocations: 0.709 MB / 1.141 GB, free: 41.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006339/2.38, allocations: 279.5 kB / 1.141 GB, free: 41.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.386e-06/2.38, allocations: 0 / 1.141 GB, free: 41.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/2.38, allocations: 149.5 kB / 1.141 GB, free: 41.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/2.38, allocations: 44.62 kB / 1.141 GB, free: 41.22 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4181/2.798, allocations: 76.87 MB / 1.216 GB, free: 123 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/2.799, allocations: 0.7609 MB / 1.217 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/2.799, allocations: 29.62 kB / 1.217 GB, free: 122.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.912e-06/2.799, allocations: 0 / 1.217 GB, free: 122.3 MB / 474.7 MB Notification: Performance of Templates: time 0.01646/2.815, allocations: 10.86 MB / 1.228 GB, free: 121.3 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_dT_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_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_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),der(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