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_dT.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_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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.129e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.08995, allocations: 48.7 MB / 326.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.726, allocations: 0.6359 GB / 0.9548 GB, free: 38.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.727, allocations: 78.23 kB / 0.9549 GB, free: 37.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5139/2.241, allocations: 111.1 MB / 1.063 GB, free: 103.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.241, allocations: 0 / 1.063 GB, free: 103.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/2.241, allocations: 4 kB / 1.063 GB, free: 103.4 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.003245/2.244, allocations: 1.04 MB / 1.064 GB, free: 102.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/2.244, allocations: 12.03 kB / 1.064 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/2.245, allocations: 75.66 kB / 1.065 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/2.245, allocations: 250.7 kB / 1.065 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/2.245, allocations: 20.56 kB / 1.065 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/2.245, allocations: 28 kB / 1.065 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/2.246, allocations: 489.5 kB / 1.065 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/2.246, allocations: 3.938 kB / 1.065 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/2.246, allocations: 16 kB / 1.065 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-06/2.246, allocations: 8 kB / 1.065 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/2.248, allocations: 0.6891 MB / 1.066 GB, free: 100.6 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.00979/2.258, allocations: 4.165 MB / 1.07 GB, free: 96.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/2.258, allocations: 227.3 kB / 1.07 GB, free: 96.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/2.259, allocations: 73.42 kB / 1.07 GB, free: 95.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1039/2.363, allocations: 43.18 MB / 1.112 GB, free: 48.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006639/2.363, allocations: 255.5 kB / 1.113 GB, free: 48.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.755e-06/2.363, allocations: 0 / 1.113 GB, free: 48.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.003133/2.366, allocations: 0.722 MB / 1.113 GB, free: 47.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/2.366, allocations: 265 kB / 1.114 GB, free: 47.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/2.367, allocations: 181.6 kB / 1.114 GB, free: 47.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/2.367, allocations: 33.7 kB / 1.114 GB, free: 47.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/2.367, allocations: 277.4 kB / 1.114 GB, free: 47.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/2.367, allocations: 83.09 kB / 1.114 GB, free: 47.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/2.367, allocations: 12 kB / 1.114 GB, free: 47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/2.367, allocations: 326.8 kB / 1.115 GB, free: 46.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/2.367, allocations: 65.11 kB / 1.115 GB, free: 46.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/2.367, allocations: 335.3 kB / 1.115 GB, free: 46.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/2.368, allocations: 119.8 kB / 1.115 GB, free: 46.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.438e-06/2.368, allocations: 4 kB / 1.115 GB, free: 46.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008792/2.369, allocations: 435 kB / 1.115 GB, free: 45.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/2.369, allocations: 8 kB / 1.115 GB, free: 45.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/2.369, allocations: 15.98 kB / 1.116 GB, free: 45.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/2.371, allocations: 313.8 kB / 1.116 GB, free: 45.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/2.371, allocations: 103.8 kB / 1.116 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005635/2.372, allocations: 1.215 MB / 1.117 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/2.372, allocations: 24.12 kB / 1.117 GB, free: 43.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/2.373, allocations: 39.98 kB / 1.117 GB, free: 43.83 MB / 426.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 () * 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.0001216/2.373, allocations: 136.7 kB / 1.117 GB, free: 43.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/2.373, allocations: 31.61 kB / 1.117 GB, free: 43.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/2.374, allocations: 0.788 MB / 1.118 GB, free: 42.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/2.374, allocations: 11.98 kB / 1.118 GB, free: 42.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.92e-06/2.374, allocations: 256 / 1.118 GB, free: 42.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.634e-06/2.374, allocations: 8 kB / 1.118 GB, free: 42.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/2.375, allocations: 0.4966 MB / 1.119 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-06/2.375, allocations: 0 / 1.119 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/2.375, allocations: 39.91 kB / 1.119 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/2.376, allocations: 245.5 kB / 1.119 GB, free: 42.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/2.376, allocations: 11.95 kB / 1.119 GB, free: 42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005736/2.377, allocations: 1.262 MB / 1.12 GB, free: 40.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.377, allocations: 4 kB / 1.12 GB, free: 40.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/2.378, allocations: 0.5377 MB / 1.121 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/2.378, allocations: 216.1 kB / 1.121 GB, free: 39.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/2.378, allocations: 15.95 kB / 1.121 GB, free: 39.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/2.378, allocations: 15.94 kB / 1.121 GB, free: 39.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/2.378, allocations: 23.91 kB / 1.121 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/2.378, allocations: 12 kB / 1.121 GB, free: 39.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003826/2.379, allocations: 293.7 kB / 1.121 GB, free: 39.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.99e-07/2.379, allocations: 3.938 kB / 1.121 GB, free: 39.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001745/2.381, allocations: 407.6 kB / 1.122 GB, free: 39.07 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 (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.002535/2.383, allocations: 0.7105 MB / 1.122 GB, free: 38.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007429/2.384, allocations: 315.2 kB / 1.123 GB, free: 38.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.567e-06/2.384, allocations: 0 / 1.123 GB, free: 38.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/2.384, allocations: 177.5 kB / 1.123 GB, free: 37.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/2.385, allocations: 83.73 kB / 1.123 GB, free: 37.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.973/6.357, allocations: 1.255 GB / 2.377 GB, free: 33.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/6.358, allocations: 0.8267 MB / 2.378 GB, free: 32.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/6.358, allocations: 36.2 kB / 2.378 GB, free: 32.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.684e-06/6.358, allocations: 0 / 2.378 GB, free: 32.43 MB / 426.7 MB Notification: Performance of Templates: time 0.01805/6.376, allocations: 13.03 MB / 2.391 GB, free: 19.57 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_dT_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_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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