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.124/2.124, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004442, allocations: 15.98 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/1.716, allocations: 0.6424 GB / 1.003 GB, free: 37.49 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.716, allocations: 91.94 kB / 1.003 GB, free: 37.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5268/2.243, allocations: 111.4 MB / 1.112 GB, free: 129.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.592e-06/2.243, allocations: 0 / 1.112 GB, free: 129.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/2.243, allocations: 4 kB / 1.112 GB, free: 129.6 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.003204/2.246, allocations: 1.058 MB / 1.113 GB, free: 128.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/2.246, allocations: 11.97 kB / 1.113 GB, free: 128.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/2.247, allocations: 79.66 kB / 1.113 GB, free: 128.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/2.248, allocations: 250.6 kB / 1.113 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/2.248, allocations: 16.56 kB / 1.113 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/2.248, allocations: 28 kB / 1.113 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/2.249, allocations: 477.5 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/2.249, allocations: 0 / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/2.249, allocations: 12 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/2.249, allocations: 11.95 kB / 1.114 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/2.25, allocations: 0.6812 MB / 1.114 GB, free: 126.9 MB / 490.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.009362/2.259, allocations: 4.182 MB / 1.118 GB, free: 122.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/2.26, allocations: 219.3 kB / 1.119 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09561/2.356, allocations: 39.82 MB / 1.158 GB, free: 78.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007037/2.357, allocations: 314.4 kB / 1.158 GB, free: 78.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.954e-06/2.357, allocations: 4 kB / 1.158 GB, free: 78.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.002793/2.359, allocations: 0.7814 MB / 1.159 GB, free: 77.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/2.36, allocations: 431.6 kB / 1.159 GB, free: 77.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/2.36, allocations: 145.3 kB / 1.159 GB, free: 76.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/2.36, allocations: 37.7 kB / 1.159 GB, free: 76.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/2.36, allocations: 242.2 kB / 1.159 GB, free: 76.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/2.36, allocations: 118.3 kB / 1.16 GB, free: 76.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/2.36, allocations: 12 kB / 1.16 GB, free: 76.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/2.36, allocations: 330.8 kB / 1.16 GB, free: 76.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/2.36, allocations: 61.08 kB / 1.16 GB, free: 76.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/2.36, allocations: 302.8 kB / 1.16 GB, free: 75.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/2.361, allocations: 119.8 kB / 1.16 GB, free: 75.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.173e-06/2.361, allocations: 7.953 kB / 1.16 GB, free: 75.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008038/2.361, allocations: 393.6 kB / 1.161 GB, free: 75.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/2.362, allocations: 12.03 kB / 1.161 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/2.362, allocations: 8 kB / 1.161 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/2.362, allocations: 16 kB / 1.161 GB, free: 75.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/2.364, allocations: 255.7 kB / 1.161 GB, free: 74.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004687/2.364, allocations: 1.187 MB / 1.162 GB, free: 73.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/2.365, allocations: 27.94 kB / 1.162 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/2.365, allocations: 28 kB / 1.162 GB, free: 73.63 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 () * Number of clocked 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.0001821/2.365, allocations: 157.8 kB / 1.162 GB, free: 73.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/2.365, allocations: 27.72 kB / 1.162 GB, free: 73.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/2.366, allocations: 0.9764 MB / 1.163 GB, free: 72.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/2.367, allocations: 15.92 kB / 1.163 GB, free: 72.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.917e-06/2.367, allocations: 4 kB / 1.163 GB, free: 72.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.088e-06/2.367, allocations: 3.984 kB / 1.163 GB, free: 72.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/2.396, allocations: 12.31 MB / 1.175 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/2.397, allocations: 0 / 1.175 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/2.398, allocations: 131.9 kB / 1.176 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/2.398, allocations: 4 kB / 1.176 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/2.398, allocations: 8 kB / 1.176 GB, free: 58.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002375/2.398, allocations: 0.586 MB / 1.176 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.433e-06/2.398, allocations: 4.047 kB / 1.176 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/2.399, allocations: 0.6315 MB / 1.177 GB, free: 57.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/2.399, allocations: 192.2 kB / 1.177 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/2.399, allocations: 8 kB / 1.177 GB, free: 57.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/2.399, allocations: 12 kB / 1.177 GB, free: 57.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/2.399, allocations: 23.91 kB / 1.177 GB, free: 57.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/2.399, allocations: 12 kB / 1.177 GB, free: 57.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002332/2.4, allocations: 215.1 kB / 1.177 GB, free: 57 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.65e-07/2.4, allocations: 4 kB / 1.177 GB, free: 57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001921/2.402, allocations: 483.4 kB / 1.178 GB, free: 56.52 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 () * Number of clocked 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.002475/2.404, allocations: 0.8363 MB / 1.178 GB, free: 55.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/2.406, allocations: 396.2 kB / 1.179 GB, free: 55.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.959e-06/2.406, allocations: 0 / 1.179 GB, free: 55.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/2.407, allocations: 247.8 kB / 1.179 GB, free: 55.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/2.408, allocations: 77.3 kB / 1.179 GB, free: 54.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.173/4.581, allocations: 0.6797 GB / 1.859 GB, free: 88.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/4.581, allocations: 0.8204 MB / 1.86 GB, free: 87.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/4.581, allocations: 43.42 kB / 1.86 GB, free: 87.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.954e-06/4.581, allocations: 0 / 1.86 GB, free: 87.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02015/4.602, allocations: 12.99 MB / 1.872 GB, free: 74.65 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