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_pT.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_pT,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_pT") Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.3 MB / 224.9 MB, free: 344 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 8 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2951, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.729/2.024, allocations: 0.636 GB / 0.9596 GB, free: 142 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/2.024, allocations: 77.94 kB / 0.9596 GB, free: 142 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2844/2.308, allocations: 111.3 MB / 1.068 GB, free: 44.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.226e-06/2.309, allocations: 0 / 1.068 GB, free: 44.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/2.309, allocations: 7.938 kB / 1.068 GB, free: 44.41 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.003492/2.312, allocations: 1.049 MB / 1.069 GB, free: 43.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/2.312, allocations: 12.03 kB / 1.069 GB, free: 43.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/2.313, allocations: 79.59 kB / 1.069 GB, free: 43.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/2.313, allocations: 242.7 kB / 1.07 GB, free: 42.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/2.313, allocations: 20.56 kB / 1.07 GB, free: 42.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/2.313, allocations: 24 kB / 1.07 GB, free: 42.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/2.314, allocations: 477.5 kB / 1.07 GB, free: 42.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/2.315, allocations: 7.938 kB / 1.07 GB, free: 42.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/2.315, allocations: 8 kB / 1.07 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/2.315, allocations: 8 kB / 1.07 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/2.316, allocations: 0.6812 MB / 1.071 GB, free: 41.7 MB / 426.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.009619/2.326, allocations: 4.19 MB / 1.075 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/2.326, allocations: 207.4 kB / 1.075 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3383/2.665, allocations: 39.82 MB / 1.114 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/2.665, allocations: 308.6 kB / 1.114 GB, free: 109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.979e-06/2.665, allocations: 0 / 1.114 GB, free: 109 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.002969/2.668, allocations: 0.7883 MB / 1.115 GB, free: 108.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/2.669, allocations: 430.9 kB / 1.116 GB, free: 108.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/2.669, allocations: 146.6 kB / 1.116 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/2.669, allocations: 33.45 kB / 1.116 GB, free: 108.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/2.669, allocations: 236.2 kB / 1.116 GB, free: 108 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.71e-05/2.669, allocations: 121.3 kB / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/2.669, allocations: 6.781 kB / 1.116 GB, free: 107.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/2.669, allocations: 333.9 kB / 1.116 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/2.669, allocations: 67.53 kB / 1.116 GB, free: 107.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/2.67, allocations: 306.6 kB / 1.117 GB, free: 107.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/2.67, allocations: 105.8 kB / 1.117 GB, free: 107.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.512e-06/2.67, allocations: 5.719 kB / 1.117 GB, free: 107.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009086/2.671, allocations: 398.9 kB / 1.117 GB, free: 107.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/2.671, allocations: 9.438 kB / 1.117 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/2.671, allocations: 8.375 kB / 1.117 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/2.671, allocations: 13.69 kB / 1.117 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/2.673, allocations: 261 kB / 1.117 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005035/2.674, allocations: 1.186 MB / 1.119 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/2.674, allocations: 19.72 kB / 1.119 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/2.674, allocations: 27.28 kB / 1.119 GB, free: 106.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000212/2.674, allocations: 166 kB / 1.119 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/2.674, allocations: 34.36 kB / 1.119 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/2.676, allocations: 0.9827 MB / 1.12 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/2.676, allocations: 11.91 kB / 1.12 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.951e-06/2.676, allocations: 2.406 kB / 1.12 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/2.676, allocations: 5.016 kB / 1.12 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03246/2.709, allocations: 12.3 MB / 1.132 GB, free: 99.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/2.709, allocations: 3.906 kB / 1.132 GB, free: 99.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/2.71, allocations: 127.8 kB / 1.132 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/2.71, allocations: 8.484 kB / 1.132 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/2.71, allocations: 6.594 kB / 1.132 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002645/2.71, allocations: 0.5909 MB / 1.133 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.179e-06/2.71, allocations: 0 / 1.133 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/2.711, allocations: 0.6314 MB / 1.133 GB, free: 98.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/2.711, allocations: 192 kB / 1.133 GB, free: 98.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/2.712, allocations: 10.75 kB / 1.133 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/2.712, allocations: 12.91 kB / 1.133 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/2.712, allocations: 31.03 kB / 1.133 GB, free: 98.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/2.712, allocations: 19.03 kB / 1.133 GB, free: 98.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002397/2.712, allocations: 208.2 kB / 1.134 GB, free: 98.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.04e-07/2.712, allocations: 0 / 1.134 GB, free: 98.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002085/2.714, allocations: 479.1 kB / 1.134 GB, free: 98.72 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003001/2.717, allocations: 0.8317 MB / 1.135 GB, free: 98.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/2.719, allocations: 394.1 kB / 1.135 GB, free: 98.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.577e-06/2.719, allocations: 2.719 kB / 1.135 GB, free: 98.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009583/2.72, allocations: 238.7 kB / 1.136 GB, free: 98.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/2.721, allocations: 80.12 kB / 1.136 GB, free: 98.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.094/4.815, allocations: 0.6797 GB / 1.815 GB, free: 74.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/4.816, allocations: 0.8165 MB / 1.816 GB, free: 74.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/4.816, allocations: 43.42 kB / 1.816 GB, free: 74.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.564e-06/4.816, allocations: 0 / 1.816 GB, free: 74.05 MB / 426.7 MB Notification: Performance of Templates: time 0.0197/4.836, allocations: 12.99 MB / 1.829 GB, free: 61.29 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_pT_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_pT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_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),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