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_ph.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_ph,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_ph") Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.479e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.698/1.967, allocations: 0.6353 GB / 0.9478 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.968, allocations: 86.09 kB / 0.9479 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2751/2.243, allocations: 108.5 MB / 1.054 GB, free: 23.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/2.243, allocations: 0 / 1.054 GB, free: 23.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/2.243, allocations: 4 kB / 1.054 GB, free: 23.38 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.00324/2.246, allocations: 1.047 MB / 1.055 GB, free: 22.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/2.246, allocations: 12.03 kB / 1.055 GB, free: 22.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/2.247, allocations: 75.66 kB / 1.055 GB, free: 22.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/2.247, allocations: 246.7 kB / 1.055 GB, free: 21.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/2.247, allocations: 11.98 kB / 1.055 GB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/2.247, allocations: 20 kB / 1.055 GB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008674/2.248, allocations: 0.5788 MB / 1.056 GB, free: 21.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/2.249, allocations: 348.5 kB / 1.056 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/2.249, allocations: 7.938 kB / 1.056 GB, free: 20.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/2.249, allocations: 7.984 kB / 1.056 GB, free: 20.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/2.249, allocations: 4 kB / 1.056 GB, free: 20.91 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.2971/2.546, allocations: 29.49 MB / 1.085 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/2.546, allocations: 32.98 kB / 1.085 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/2.546, allocations: 16.42 kB / 1.085 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/2.557, allocations: 3.543 MB / 1.088 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/2.557, allocations: 76.12 kB / 1.089 GB, free: 108.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.238e-06/2.557, allocations: 0 / 1.089 GB, free: 108.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008732/2.558, allocations: 157.5 kB / 1.089 GB, free: 108.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/2.558, allocations: 56.28 kB / 1.089 GB, free: 108.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/2.558, allocations: 223.8 kB / 1.089 GB, free: 108.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/2.558, allocations: 25.7 kB / 1.089 GB, free: 108 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/2.558, allocations: 322.9 kB / 1.089 GB, free: 107.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/2.558, allocations: 33.08 kB / 1.089 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/2.558, allocations: 0 / 1.089 GB, free: 107.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/2.558, allocations: 331.8 kB / 1.09 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/2.558, allocations: 43.81 kB / 1.09 GB, free: 107.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/2.559, allocations: 293.5 kB / 1.09 GB, free: 107.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/2.56, allocations: 215.5 kB / 1.09 GB, free: 107.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/2.561, allocations: 3.531 kB / 1.09 GB, free: 107.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002347/2.563, allocations: 442.7 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/2.563, allocations: 12.11 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/2.563, allocations: 13.91 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/2.563, allocations: 12.59 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/2.563, allocations: 104.7 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/2.563, allocations: 18.17 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/2.564, allocations: 54.8 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/2.564, allocations: 31.47 kB / 1.091 GB, free: 107.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/2.564, allocations: 123.2 kB / 1.091 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/2.564, allocations: 21.73 kB / 1.091 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/2.565, allocations: 151.9 kB / 1.091 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-06/2.565, allocations: 0 / 1.091 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-06/2.565, allocations: 0 / 1.091 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-06/2.565, allocations: 3.516 kB / 1.091 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/2.565, allocations: 433 kB / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.158e-06/2.565, allocations: 9.672 kB / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/2.565, allocations: 8.594 kB / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.269e-06/2.565, allocations: 7.719 kB / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/2.565, allocations: 0 / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.304e-06/2.565, allocations: 0 / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.989e-06/2.565, allocations: 0.6562 kB / 1.092 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/2.566, allocations: 206.4 kB / 1.092 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/2.566, allocations: 129.5 kB / 1.092 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/2.566, allocations: 3.938 kB / 1.092 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/2.566, allocations: 14.55 kB / 1.092 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/2.566, allocations: 0 / 1.092 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/2.566, allocations: 3.688 kB / 1.092 GB, free: 106.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001837/2.566, allocations: 180.2 kB / 1.092 GB, free: 106.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.16e-07/2.566, allocations: 0 / 1.092 GB, free: 106.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001884/2.568, allocations: 422.1 kB / 1.092 GB, free: 106.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002707/2.571, allocations: 0.7805 MB / 1.093 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/2.572, allocations: 154.5 kB / 1.093 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.127e-06/2.572, allocations: 3.75 kB / 1.093 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.466e-05/2.572, allocations: 13.53 kB / 1.093 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/2.572, allocations: 32.09 kB / 1.093 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5621/3.134, allocations: 165 MB / 1.255 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/3.134, allocations: 0.7406 MB / 1.255 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/3.134, allocations: 45.67 kB / 1.255 GB, free: 110.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.901e-06/3.134, allocations: 0 / 1.255 GB, free: 110.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01789/3.152, allocations: 10.25 MB / 1.265 GB, free: 108.9 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_ph_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_ph_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_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_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,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