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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.13/2.13, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.737e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2712, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.61/1.882, allocations: 0.6353 GB / 0.9478 GB, free: 149.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.882, allocations: 79.3 kB / 0.9479 GB, free: 149.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2715/2.154, allocations: 108.5 MB / 1.054 GB, free: 47.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.273e-06/2.154, allocations: 0 / 1.054 GB, free: 47.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/2.154, allocations: 4 kB / 1.054 GB, free: 47.59 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.003198/2.157, allocations: 1.047 MB / 1.055 GB, free: 46.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/2.157, allocations: 15.97 kB / 1.055 GB, free: 46.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/2.158, allocations: 75.66 kB / 1.055 GB, free: 46.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/2.158, allocations: 246.7 kB / 1.055 GB, free: 46.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/2.158, allocations: 8 kB / 1.055 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/2.158, allocations: 16 kB / 1.055 GB, free: 46.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007937/2.159, allocations: 0.5867 MB / 1.056 GB, free: 45.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/2.159, allocations: 352.4 kB / 1.056 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/2.159, allocations: 3.938 kB / 1.056 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/2.159, allocations: 4 kB / 1.056 GB, free: 45.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/2.159, allocations: 8 kB / 1.056 GB, free: 45.12 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.05684/2.216, allocations: 27.75 MB / 1.083 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/2.217, allocations: 70.62 kB / 1.083 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/2.217, allocations: 28.89 kB / 1.083 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01913/2.236, allocations: 6.443 MB / 1.09 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/2.236, allocations: 99.45 kB / 1.09 GB, free: 7.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.557e-06/2.236, allocations: 4 kB / 1.09 GB, free: 7.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.002369/2.238, allocations: 414.2 kB / 1.09 GB, free: 7.305 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/2.238, allocations: 55.41 kB / 1.09 GB, free: 7.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/2.239, allocations: 192.3 kB / 1.09 GB, free: 7.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/2.239, allocations: 25.7 kB / 1.09 GB, free: 7.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/2.239, allocations: 305 kB / 1.091 GB, free: 6.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/2.239, allocations: 55.28 kB / 1.091 GB, free: 6.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/2.239, allocations: 4 kB / 1.091 GB, free: 6.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/2.239, allocations: 330.8 kB / 1.091 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/2.239, allocations: 57.11 kB / 1.091 GB, free: 6.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/2.239, allocations: 318.9 kB / 1.091 GB, free: 5.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/2.241, allocations: 199.7 kB / 1.092 GB, free: 5.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.313e-06/2.241, allocations: 4 kB / 1.092 GB, free: 5.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001862/2.243, allocations: 462.9 kB / 1.092 GB, free: 5.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/2.243, allocations: 8 kB / 1.092 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/2.243, allocations: 12.06 kB / 1.092 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/2.243, allocations: 54.25 kB / 1.092 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/2.243, allocations: 95.83 kB / 1.092 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009378/2.244, allocations: 1.262 MB / 1.093 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/2.245, allocations: 12 kB / 1.093 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/2.245, allocations: 35.94 kB / 1.093 GB, free: 3.621 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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.0001674/2.245, allocations: 136.9 kB / 1.094 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/2.245, allocations: 15.81 kB / 1.094 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009227/2.246, allocations: 401.3 kB / 1.094 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.835e-06/2.246, allocations: 0 / 1.094 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.016e-06/2.246, allocations: 0 / 1.094 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-06/2.246, allocations: 0 / 1.094 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/2.246, allocations: 329.7 kB / 1.094 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/2.246, allocations: 4 kB / 1.094 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/2.246, allocations: 15.98 kB / 1.094 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/2.247, allocations: 57.69 kB / 1.094 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/2.247, allocations: 4 kB / 1.094 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007651/2.247, allocations: 1.293 MB / 1.096 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.247, allocations: 96 / 1.096 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/2.248, allocations: 326.8 kB / 1.096 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/2.248, allocations: 120.6 kB / 1.096 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/2.248, allocations: 7.953 kB / 1.096 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/2.248, allocations: 7.984 kB / 1.096 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/2.248, allocations: 7.984 kB / 1.096 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/2.249, allocations: 4 kB / 1.096 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001497/2.249, allocations: 158 kB / 1.096 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.75e-07/2.249, allocations: 4 kB / 1.096 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001618/2.25, allocations: 391.4 kB / 1.097 GB, free: 232 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 10 * 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.2319/2.482, allocations: 0.7093 MB / 1.097 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008182/2.483, allocations: 279.8 kB / 1.098 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.425e-06/2.483, allocations: 1.25 kB / 1.098 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/2.483, allocations: 154.6 kB / 1.098 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/2.484, allocations: 35.09 kB / 1.098 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1656/2.649, allocations: 76.87 MB / 1.173 GB, free: 88.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/2.65, allocations: 0.761 MB / 1.174 GB, free: 87.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/2.65, allocations: 39.42 kB / 1.174 GB, free: 87.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.632e-06/2.65, allocations: 0 / 1.174 GB, free: 87.44 MB / 426.7 MB Notification: Performance of Templates: time 0.01633/2.666, allocations: 10.86 MB / 1.184 GB, free: 76.7 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,_D_cse1.R,_D_cse1.T,_D_cse1.cp,_D_cse1.cv,_D_cse1.h,_D_cse1.p,_D_cse1.pd,_D_cse1.pt,_D_cse1.rho,_D_cse1.s,_D_cse1.vp,_D_cse1.vt,_D_cse2.R,_D_cse2.T,_D_cse2.cp,_D_cse2.cv,_D_cse2.h,_D_cse2.p,_D_cse2.pd,_D_cse2.pt,_D_cse2.rho,_D_cse2.s,_D_cse2.vp,_D_cse2.vt,_D_whenCondition1,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