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/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_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.422/2.422, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.78e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.875/2.157, allocations: 0.6416 GB / 0.9913 GB, free: 114.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/2.157, allocations: 79.38 kB / 0.9913 GB, free: 114.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2846/2.442, allocations: 108.6 MB / 1.097 GB, free: 63.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.442, allocations: 0 / 1.097 GB, free: 63.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/2.442, allocations: 4 kB / 1.097 GB, free: 63.63 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.003361/2.445, allocations: 1.048 MB / 1.098 GB, free: 62.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/2.445, allocations: 8.031 kB / 1.098 GB, free: 62.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00077/2.446, allocations: 79.64 kB / 1.098 GB, free: 62.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/2.446, allocations: 250.8 kB / 1.099 GB, free: 62.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/2.446, allocations: 8 kB / 1.099 GB, free: 62.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/2.446, allocations: 16 kB / 1.099 GB, free: 62.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007879/2.447, allocations: 0.5827 MB / 1.099 GB, free: 61.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/2.448, allocations: 352.5 kB / 1.1 GB, free: 61.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/2.448, allocations: 0 / 1.1 GB, free: 61.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/2.448, allocations: 3.953 kB / 1.1 GB, free: 61.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/2.448, allocations: 11.98 kB / 1.1 GB, free: 61.17 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.05828/2.506, allocations: 29.49 MB / 1.128 GB, free: 28.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/2.506, allocations: 38.52 kB / 1.129 GB, free: 28.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/2.506, allocations: 12.92 kB / 1.129 GB, free: 28.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009803/2.516, allocations: 3.541 MB / 1.132 GB, free: 24.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/2.516, allocations: 71.38 kB / 1.132 GB, free: 24.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 3.467e-06/2.516, allocations: 0 / 1.132 GB, free: 24.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008827/2.517, allocations: 161.2 kB / 1.132 GB, free: 24.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/2.517, allocations: 59.41 kB / 1.132 GB, free: 24.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/2.518, allocations: 216.2 kB / 1.132 GB, free: 23.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/2.518, allocations: 25.7 kB / 1.132 GB, free: 23.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/2.518, allocations: 328.7 kB / 1.133 GB, free: 23.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/2.518, allocations: 23.72 kB / 1.133 GB, free: 23.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/2.518, allocations: 4 kB / 1.133 GB, free: 23.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/2.518, allocations: 330.8 kB / 1.133 GB, free: 23.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/2.518, allocations: 48.86 kB / 1.133 GB, free: 23.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/2.518, allocations: 293.9 kB / 1.133 GB, free: 22.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/2.52, allocations: 212.2 kB / 1.134 GB, free: 22.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.918e-06/2.52, allocations: 4 kB / 1.134 GB, free: 22.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002373/2.522, allocations: 449.7 kB / 1.134 GB, free: 22.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/2.522, allocations: 12.03 kB / 1.134 GB, free: 22.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/2.522, allocations: 12 kB / 1.134 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/2.522, allocations: 12 kB / 1.134 GB, free: 22.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/2.523, allocations: 107.8 kB / 1.134 GB, free: 21.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/2.523, allocations: 19.98 kB / 1.134 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/2.523, allocations: 47.38 kB / 1.134 GB, free: 21.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/2.523, allocations: 35.92 kB / 1.134 GB, free: 21.8 MB / 474.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 () * 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 9.977e-05/2.524, allocations: 130.2 kB / 1.134 GB, free: 21.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/2.524, allocations: 23.81 kB / 1.134 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/2.524, allocations: 147.3 kB / 1.135 GB, free: 21.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-06/2.524, allocations: 0 / 1.135 GB, free: 21.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.183e-06/2.524, allocations: 0 / 1.135 GB, free: 21.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-06/2.524, allocations: 0 / 1.135 GB, free: 21.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/2.525, allocations: 439.6 kB / 1.135 GB, free: 21.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-06/2.525, allocations: 0 / 1.135 GB, free: 21.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/2.525, allocations: 11.98 kB / 1.135 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.754e-06/2.525, allocations: 0 / 1.135 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/2.525, allocations: 4 kB / 1.135 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.923e-06/2.525, allocations: 0 / 1.135 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.922e-06/2.525, allocations: 4 kB / 1.135 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/2.525, allocations: 201.8 kB / 1.135 GB, free: 20.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/2.525, allocations: 132.8 kB / 1.135 GB, free: 20.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/2.525, allocations: 0 / 1.135 GB, free: 20.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/2.525, allocations: 7.984 kB / 1.135 GB, free: 20.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/2.526, allocations: 4 kB / 1.135 GB, free: 20.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/2.526, allocations: 7.953 kB / 1.135 GB, free: 20.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001696/2.526, allocations: 178 kB / 1.136 GB, free: 20.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.07e-07/2.526, allocations: 0 / 1.136 GB, free: 20.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001803/2.528, allocations: 423.4 kB / 1.136 GB, free: 20.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002412/2.53, allocations: 0.7799 MB / 1.137 GB, free: 19.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/2.53, allocations: 149.8 kB / 1.137 GB, free: 19.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.53, allocations: 8.062 kB / 1.137 GB, free: 19.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/2.53, allocations: 12 kB / 1.137 GB, free: 19.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/2.531, allocations: 25.62 kB / 1.137 GB, free: 19.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5751/3.106, allocations: 165 MB / 1.298 GB, free: 36.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/3.106, allocations: 0.7443 MB / 1.299 GB, free: 35.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/3.106, allocations: 43.42 kB / 1.299 GB, free: 35.88 MB / 474.7 MB Notification: Performance of SimCode: time 1.754e-06/3.106, allocations: 0 / 1.299 GB, free: 35.88 MB / 474.7 MB Notification: Performance of Templates: time 0.01633/3.123, allocations: 10.26 MB / 1.309 GB, free: 25.85 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_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,_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_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,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