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_dT.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_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.117/2.117, allocations: 234.9 MB / 250.5 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004419, allocations: 15.98 kB / 314.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.298, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.779, allocations: 0.6424 GB / 1.003 GB, free: 53.59 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.78, allocations: 87.14 kB / 1.003 GB, free: 53.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5342/2.314, allocations: 111.4 MB / 1.112 GB, free: 152.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.733e-06/2.314, allocations: 1.594 kB / 1.112 GB, free: 152.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/2.314, allocations: 8 kB / 1.112 GB, free: 152.1 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.003286/2.317, allocations: 1.049 MB / 1.113 GB, free: 151 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/2.317, allocations: 8.031 kB / 1.113 GB, free: 151 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007484/2.318, allocations: 83.66 kB / 1.113 GB, free: 150.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/2.318, allocations: 254.6 kB / 1.113 GB, free: 150.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/2.318, allocations: 20.56 kB / 1.113 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/2.318, allocations: 28 kB / 1.113 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/2.32, allocations: 477.5 kB / 1.114 GB, free: 150.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/2.32, allocations: 0 / 1.114 GB, free: 150.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/2.32, allocations: 12 kB / 1.114 GB, free: 150.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/2.32, allocations: 11.95 kB / 1.114 GB, free: 150.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/2.321, allocations: 0.6773 MB / 1.114 GB, free: 149.4 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.009314/2.33, allocations: 4.137 MB / 1.118 GB, free: 145.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/2.331, allocations: 223.8 kB / 1.119 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1426/2.474, allocations: 42.51 MB / 1.16 GB, free: 98.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/2.474, allocations: 236.4 kB / 1.16 GB, free: 98.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.879e-06/2.474, allocations: 0 / 1.16 GB, free: 98.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003084/2.477, allocations: 0.7422 MB / 1.161 GB, free: 97.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/2.478, allocations: 261 kB / 1.161 GB, free: 97.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/2.478, allocations: 182.1 kB / 1.162 GB, free: 96.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/2.478, allocations: 29.7 kB / 1.162 GB, free: 96.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/2.478, allocations: 285.8 kB / 1.162 GB, free: 96.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/2.478, allocations: 78.94 kB / 1.162 GB, free: 96.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/2.478, allocations: 8 kB / 1.162 GB, free: 96.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/2.478, allocations: 334.8 kB / 1.162 GB, free: 96.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/2.478, allocations: 65.08 kB / 1.162 GB, free: 96.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/2.478, allocations: 335.3 kB / 1.163 GB, free: 95.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/2.479, allocations: 115.9 kB / 1.163 GB, free: 95.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.928e-06/2.479, allocations: 4 kB / 1.163 GB, free: 95.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008604/2.48, allocations: 434.6 kB / 1.163 GB, free: 95.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/2.48, allocations: 12 kB / 1.163 GB, free: 95.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/2.48, allocations: 8.875 kB / 1.163 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/2.482, allocations: 313.4 kB / 1.163 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/2.482, allocations: 99.78 kB / 1.164 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005492/2.483, allocations: 1.219 MB / 1.165 GB, free: 93.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/2.483, allocations: 16 kB / 1.165 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/2.483, allocations: 36.08 kB / 1.165 GB, free: 93.39 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.0001735/2.484, allocations: 161.5 kB / 1.165 GB, free: 93.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/2.484, allocations: 27.91 kB / 1.165 GB, free: 93.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/2.485, allocations: 0.7962 MB / 1.166 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/2.485, allocations: 11.94 kB / 1.166 GB, free: 92.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.99e-06/2.485, allocations: 0 / 1.166 GB, free: 92.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-06/2.485, allocations: 4 kB / 1.166 GB, free: 92.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/2.485, allocations: 0.5081 MB / 1.166 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/2.485, allocations: 0 / 1.166 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/2.486, allocations: 31.98 kB / 1.166 GB, free: 91.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/2.487, allocations: 237.6 kB / 1.167 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/2.487, allocations: 8 kB / 1.167 GB, free: 91.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005459/2.488, allocations: 1.27 MB / 1.168 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.451e-06/2.488, allocations: 4 kB / 1.168 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/2.488, allocations: 0.5403 MB / 1.168 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/2.489, allocations: 212.2 kB / 1.168 GB, free: 89.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/2.489, allocations: 8 kB / 1.169 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/2.489, allocations: 19.89 kB / 1.169 GB, free: 89.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/2.489, allocations: 23.94 kB / 1.169 GB, free: 89.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/2.489, allocations: 19.92 kB / 1.169 GB, free: 89.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003517/2.489, allocations: 294.9 kB / 1.169 GB, free: 88.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-07/2.489, allocations: 0 / 1.169 GB, free: 88.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001683/2.491, allocations: 407.5 kB / 1.169 GB, free: 88.59 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.00233/2.493, allocations: 0.7121 MB / 1.17 GB, free: 87.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007086/2.494, allocations: 331.3 kB / 1.17 GB, free: 87.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.54e-06/2.494, allocations: 3.938 kB / 1.17 GB, free: 87.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/2.494, allocations: 183.9 kB / 1.17 GB, free: 87.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/2.495, allocations: 74.53 kB / 1.17 GB, free: 87.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.88/6.375, allocations: 1.255 GB / 2.426 GB, free: 68.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/6.375, allocations: 0.8418 MB / 2.427 GB, free: 67.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/6.375, allocations: 31.42 kB / 2.427 GB, free: 67.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.567e-06/6.375, allocations: 0 / 2.427 GB, free: 67.3 MB / 490.7 MB Notification: Performance of Templates: time 0.01828/6.393, allocations: 13.06 MB / 2.439 GB, free: 54.42 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