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_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.239/2.239, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.893e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3236, allocations: 54.85 MB / 364.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.542/1.866, allocations: 0.6423 GB / 0.9983 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.866, allocations: 87.53 kB / 0.9984 GB, free: 109.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5433/2.409, allocations: 111.2 MB / 1.107 GB, free: 137.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.135e-06/2.409, allocations: 0 / 1.107 GB, free: 137.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/2.409, allocations: 2.875 kB / 1.107 GB, free: 137.5 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.003569/2.413, allocations: 1.039 MB / 1.108 GB, free: 137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/2.413, allocations: 8.844 kB / 1.108 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008076/2.414, allocations: 79.88 kB / 1.108 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/2.414, allocations: 244.4 kB / 1.108 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/2.414, allocations: 19.88 kB / 1.108 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/2.414, allocations: 25.19 kB / 1.108 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/2.416, allocations: 494.5 kB / 1.109 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/2.416, allocations: 0 / 1.109 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/2.416, allocations: 19.8 kB / 1.109 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/2.416, allocations: 15 kB / 1.109 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/2.417, allocations: 0.6835 MB / 1.109 GB, free: 136.7 MB / 490.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.01103/2.428, allocations: 4.2 MB / 1.114 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/2.429, allocations: 226.6 kB / 1.114 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/2.429, allocations: 76.28 kB / 1.114 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1077/2.537, allocations: 40.34 MB / 1.153 GB, free: 115.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/2.538, allocations: 325.2 kB / 1.154 GB, free: 115.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.881e-06/2.538, allocations: 0 / 1.154 GB, free: 115.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.002785/2.541, allocations: 0.754 MB / 1.154 GB, free: 114.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/2.541, allocations: 426.2 kB / 1.155 GB, free: 114.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/2.541, allocations: 151.5 kB / 1.155 GB, free: 114.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/2.541, allocations: 36.52 kB / 1.155 GB, free: 114.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/2.541, allocations: 240.5 kB / 1.155 GB, free: 114.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/2.541, allocations: 121.2 kB / 1.155 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/2.541, allocations: 7.688 kB / 1.155 GB, free: 114.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/2.541, allocations: 331.8 kB / 1.156 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/2.541, allocations: 59.72 kB / 1.156 GB, free: 113.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/2.542, allocations: 302.6 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/2.542, allocations: 110.8 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-06/2.542, allocations: 4 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008648/2.543, allocations: 397.8 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/2.543, allocations: 7.594 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/2.543, allocations: 7.938 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/2.543, allocations: 16.41 kB / 1.156 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/2.545, allocations: 259.5 kB / 1.157 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004821/2.546, allocations: 1.195 MB / 1.158 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/2.546, allocations: 26.94 kB / 1.158 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/2.546, allocations: 31.09 kB / 1.158 GB, free: 112.2 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 () * 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.0001406/2.547, allocations: 141.3 kB / 1.158 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/2.547, allocations: 19.44 kB / 1.158 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/2.548, allocations: 0.9795 MB / 1.159 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/2.549, allocations: 14.09 kB / 1.159 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.251e-06/2.549, allocations: 7.266 kB / 1.159 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.442e-06/2.549, allocations: 3.844 kB / 1.159 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03405/2.583, allocations: 12.44 MB / 1.171 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/2.583, allocations: 3.156 kB / 1.171 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/2.584, allocations: 134.5 kB / 1.171 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/2.584, allocations: 3.625 kB / 1.171 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/2.584, allocations: 7.312 kB / 1.171 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002416/2.584, allocations: 0.5857 MB / 1.172 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-06/2.584, allocations: 3.625 kB / 1.172 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/2.585, allocations: 0.628 MB / 1.173 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/2.585, allocations: 195.2 kB / 1.173 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/2.585, allocations: 11.38 kB / 1.173 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/2.586, allocations: 13.58 kB / 1.173 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/2.586, allocations: 21.72 kB / 1.173 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/2.586, allocations: 15.25 kB / 1.173 GB, free: 104.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002489/2.586, allocations: 207.9 kB / 1.173 GB, free: 104.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.15e-07/2.586, allocations: 0 / 1.173 GB, free: 104.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001982/2.588, allocations: 471.8 kB / 1.173 GB, free: 104.4 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 () * 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.002707/2.591, allocations: 0.8332 MB / 1.174 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/2.593, allocations: 392.9 kB / 1.175 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.795e-06/2.593, allocations: 0 / 1.175 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008541/2.593, allocations: 243.3 kB / 1.175 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/2.594, allocations: 83.84 kB / 1.175 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.292/4.886, allocations: 0.6791 GB / 1.854 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/4.887, allocations: 0.82 MB / 1.855 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/4.887, allocations: 48.64 kB / 1.855 GB, free: 126.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.933e-06/4.887, allocations: 0 / 1.855 GB, free: 126.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02099/4.908, allocations: 12.96 MB / 1.868 GB, free: 124.9 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