Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.439/2.439, allocations: 234.9 MB / 251.1 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004437, allocations: 12 kB / 314.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4257, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.886/2.311, allocations: 0.6423 GB / 1.003 GB, free: 49.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.312, allocations: 94.5 kB / 1.004 GB, free: 49.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6426/2.954, allocations: 111.4 MB / 1.112 GB, free: 148 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/2.954, allocations: 0 / 1.112 GB, free: 148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/2.954, allocations: 0 / 1.112 GB, free: 148 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.003882/2.958, allocations: 1.049 MB / 1.113 GB, free: 146.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/2.958, allocations: 8.031 kB / 1.113 GB, free: 146.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/2.959, allocations: 83.64 kB / 1.113 GB, free: 146.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/2.959, allocations: 238.8 kB / 1.114 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/2.96, allocations: 20.5 kB / 1.114 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/2.96, allocations: 31.94 kB / 1.114 GB, free: 146.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/2.961, allocations: 477.5 kB / 1.114 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/2.961, allocations: 4 kB / 1.114 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/2.961, allocations: 8 kB / 1.114 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/2.961, allocations: 11.95 kB / 1.114 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/2.962, allocations: 0.6812 MB / 1.115 GB, free: 145.3 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.01312/2.975, allocations: 4.153 MB / 1.119 GB, free: 141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/2.976, allocations: 212.7 kB / 1.119 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1445/3.121, allocations: 42.51 MB / 1.161 GB, free: 94.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006789/3.121, allocations: 248.6 kB / 1.161 GB, free: 94.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 4.579e-06/3.122, allocations: 0 / 1.161 GB, free: 94.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003436/3.125, allocations: 0.7262 MB / 1.162 GB, free: 93.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/3.125, allocations: 269 kB / 1.162 GB, free: 93.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/3.125, allocations: 199 kB / 1.162 GB, free: 92.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/3.125, allocations: 33.69 kB / 1.162 GB, free: 92.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/3.125, allocations: 285.5 kB / 1.162 GB, free: 92.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/3.126, allocations: 75 kB / 1.162 GB, free: 92.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/3.126, allocations: 8 kB / 1.162 GB, free: 92.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/3.126, allocations: 330.8 kB / 1.163 GB, free: 92.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/3.126, allocations: 65.08 kB / 1.163 GB, free: 92.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/3.126, allocations: 335.3 kB / 1.163 GB, free: 91.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/3.126, allocations: 115.9 kB / 1.163 GB, free: 91.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/3.126, allocations: 4 kB / 1.163 GB, free: 91.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00103/3.127, allocations: 442.9 kB / 1.164 GB, free: 91.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/3.128, allocations: 11.98 kB / 1.164 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/3.128, allocations: 12 kB / 1.164 GB, free: 90.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/3.13, allocations: 305.8 kB / 1.164 GB, free: 90.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/3.131, allocations: 99.83 kB / 1.164 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/3.132, allocations: 1.219 MB / 1.165 GB, free: 89.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/3.132, allocations: 31.94 kB / 1.165 GB, free: 89.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/3.132, allocations: 31.98 kB / 1.165 GB, free: 89.26 MB / 490.7 MB 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 () * Number of clocked 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.0002047/3.133, allocations: 157.5 kB / 1.165 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/3.133, allocations: 27.72 kB / 1.166 GB, free: 89.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/3.134, allocations: 0.8001 MB / 1.166 GB, free: 88.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/3.134, allocations: 8.25 kB / 1.166 GB, free: 88.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/3.134, allocations: 4 kB / 1.166 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/3.134, allocations: 3.984 kB / 1.166 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/3.135, allocations: 0.5003 MB / 1.167 GB, free: 87.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/3.135, allocations: 4 kB / 1.167 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/3.135, allocations: 31.92 kB / 1.167 GB, free: 87.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/3.137, allocations: 237.5 kB / 1.167 GB, free: 87.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/3.137, allocations: 8 kB / 1.167 GB, free: 87.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006163/3.137, allocations: 1.27 MB / 1.168 GB, free: 86.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/3.137, allocations: 0 / 1.168 GB, free: 86.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/3.138, allocations: 463 kB / 1.169 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/3.138, allocations: 220.1 kB / 1.169 GB, free: 85.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/3.139, allocations: 7.953 kB / 1.169 GB, free: 85.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/3.139, allocations: 23.89 kB / 1.169 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/3.139, allocations: 19.92 kB / 1.169 GB, free: 85.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/3.139, allocations: 15.98 kB / 1.169 GB, free: 85.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004443/3.14, allocations: 294.9 kB / 1.169 GB, free: 85 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/3.14, allocations: 0 / 1.169 GB, free: 85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001989/3.142, allocations: 403.7 kB / 1.17 GB, free: 84.61 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 (21): * Single equations (assignments): 18 * 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.002729/3.144, allocations: 0.7198 MB / 1.17 GB, free: 83.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008848/3.145, allocations: 319.6 kB / 1.171 GB, free: 83.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/3.145, allocations: 0 / 1.171 GB, free: 83.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/3.146, allocations: 188.4 kB / 1.171 GB, free: 83.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/3.146, allocations: 78.3 kB / 1.171 GB, free: 83.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.074/8.221, allocations: 1.255 GB / 2.426 GB, free: 64.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/8.221, allocations: 0.8345 MB / 2.427 GB, free: 63.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/8.221, allocations: 31.44 kB / 2.427 GB, free: 63.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/8.221, allocations: 3.062 kB / 2.427 GB, free: 63.15 MB / 490.7 MB Notification: Performance of Templates: time 0.02216/8.243, allocations: 13.06 MB / 2.44 GB, free: 50.27 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_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,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