Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadModel(ModelicaTest): time 1.975/1.975, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.713e-05, allocations: 0 / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09167, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.643/1.734, allocations: 0.636 GB / 0.9548 GB, free: 38.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/1.735, allocations: 78.14 kB / 0.9549 GB, free: 38.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5117/2.246, allocations: 111.1 MB / 1.063 GB, free: 103.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.956e-06/2.246, allocations: 0 / 1.063 GB, free: 103.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/2.246, allocations: 4 kB / 1.063 GB, free: 103.7 MB / 426.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.003457/2.25, allocations: 1.044 MB / 1.064 GB, free: 102.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/2.25, allocations: 12.03 kB / 1.064 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007913/2.251, allocations: 75.66 kB / 1.065 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/2.251, allocations: 242.7 kB / 1.065 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/2.251, allocations: 20.56 kB / 1.065 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/2.251, allocations: 28 kB / 1.065 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/2.252, allocations: 493.4 kB / 1.065 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/2.252, allocations: 0 / 1.065 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/2.252, allocations: 16 kB / 1.065 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.721e-06/2.252, allocations: 8 kB / 1.065 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/2.254, allocations: 0.6891 MB / 1.066 GB, free: 101 MB / 426.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.01107/2.265, allocations: 4.205 MB / 1.07 GB, free: 96.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/2.266, allocations: 224.5 kB / 1.07 GB, free: 96.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/2.266, allocations: 69.42 kB / 1.07 GB, free: 96.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0997/2.366, allocations: 40.35 MB / 1.11 GB, free: 52.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007097/2.366, allocations: 321.9 kB / 1.11 GB, free: 51.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.905e-06/2.366, allocations: 0 / 1.11 GB, free: 51.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.002678/2.369, allocations: 0.7619 MB / 1.111 GB, free: 51.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/2.369, allocations: 431.1 kB / 1.111 GB, free: 50.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/2.369, allocations: 141.8 kB / 1.111 GB, free: 50.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/2.369, allocations: 37.7 kB / 1.111 GB, free: 50.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/2.37, allocations: 238.2 kB / 1.112 GB, free: 50.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/2.37, allocations: 126.2 kB / 1.112 GB, free: 50.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/2.37, allocations: 12 kB / 1.112 GB, free: 50.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/2.37, allocations: 327.1 kB / 1.112 GB, free: 49.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/2.37, allocations: 61.11 kB / 1.112 GB, free: 49.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/2.37, allocations: 306.2 kB / 1.112 GB, free: 49.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/2.37, allocations: 115.8 kB / 1.113 GB, free: 49.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.952e-06/2.37, allocations: 0 / 1.113 GB, free: 49.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008095/2.371, allocations: 393.2 kB / 1.113 GB, free: 48.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/2.371, allocations: 8 kB / 1.113 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/2.371, allocations: 8 kB / 1.113 GB, free: 48.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/2.371, allocations: 12 kB / 1.113 GB, free: 48.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/2.373, allocations: 264.1 kB / 1.113 GB, free: 48.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004975/2.374, allocations: 1.187 MB / 1.114 GB, free: 47.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/2.374, allocations: 20.12 kB / 1.114 GB, free: 47.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/2.374, allocations: 35.98 kB / 1.114 GB, free: 47.14 MB / 426.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.000128/2.375, allocations: 140.8 kB / 1.115 GB, free: 47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/2.375, allocations: 31.7 kB / 1.115 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/2.376, allocations: 0.9682 MB / 1.116 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/2.376, allocations: 11.98 kB / 1.116 GB, free: 45.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-06/2.376, allocations: 4 kB / 1.116 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/2.376, allocations: 4.156 kB / 1.116 GB, free: 45.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/2.407, allocations: 12.44 MB / 1.128 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/2.407, allocations: 0 / 1.128 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/2.408, allocations: 135.9 kB / 1.128 GB, free: 32.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/2.408, allocations: 4 kB / 1.128 GB, free: 32.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/2.408, allocations: 11.98 kB / 1.128 GB, free: 32.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/2.408, allocations: 0.586 MB / 1.128 GB, free: 31.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.408, allocations: 4.031 kB / 1.128 GB, free: 31.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/2.409, allocations: 0.6238 MB / 1.129 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/2.409, allocations: 188.3 kB / 1.129 GB, free: 30.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/2.409, allocations: 15.92 kB / 1.129 GB, free: 30.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/2.41, allocations: 12 kB / 1.129 GB, free: 30.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/2.41, allocations: 23.92 kB / 1.129 GB, free: 30.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/2.41, allocations: 12 kB / 1.129 GB, free: 30.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002334/2.41, allocations: 206.2 kB / 1.129 GB, free: 30.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.33e-07/2.41, allocations: 4 kB / 1.129 GB, free: 30.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001991/2.412, allocations: 487.3 kB / 1.13 GB, free: 29.93 MB / 426.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.002677/2.415, allocations: 0.8303 MB / 1.131 GB, free: 29.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/2.416, allocations: 392.2 kB / 1.131 GB, free: 28.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/2.416, allocations: 4 kB / 1.131 GB, free: 28.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008236/2.417, allocations: 233.9 kB / 1.131 GB, free: 28.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/2.418, allocations: 89.03 kB / 1.131 GB, free: 28.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.343/4.761, allocations: 0.6791 GB / 1.81 GB, free: 95.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/4.761, allocations: 0.823 MB / 1.811 GB, free: 94.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/4.761, allocations: 45.39 kB / 1.811 GB, free: 94.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.714e-06/4.761, allocations: 0 / 1.811 GB, free: 94.32 MB / 426.7 MB Notification: Performance of Templates: time 0.02131/4.782, allocations: 12.96 MB / 1.824 GB, free: 93.02 MB / 426.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_pT_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_pT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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