Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.094/2.094, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005963/0.0005964, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3637, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.943/2.307, allocations: 0.636 GB / 0.9601 GB, free: 13.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/2.308, allocations: 90.12 kB / 0.9601 GB, free: 13.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6285/2.936, allocations: 111.3 MB / 1.069 GB, free: 92.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.936, allocations: 0 / 1.069 GB, free: 92.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/2.936, allocations: 4 kB / 1.069 GB, free: 92.96 MB / 442.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.00407/2.94, allocations: 1.049 MB / 1.07 GB, free: 91.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/2.94, allocations: 8.031 kB / 1.07 GB, free: 91.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008376/2.941, allocations: 83.59 kB / 1.07 GB, free: 91.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/2.942, allocations: 246.7 kB / 1.07 GB, free: 91.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/2.942, allocations: 16.56 kB / 1.07 GB, free: 91.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/2.942, allocations: 28 kB / 1.07 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/2.943, allocations: 477.5 kB / 1.071 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/2.943, allocations: 7.938 kB / 1.071 GB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/2.943, allocations: 12 kB / 1.071 GB, free: 90.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/2.943, allocations: 4 kB / 1.071 GB, free: 90.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/2.945, allocations: 0.6773 MB / 1.071 GB, free: 90.24 MB / 442.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.01649/2.961, allocations: 4.193 MB / 1.075 GB, free: 85.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/2.963, allocations: 207.4 kB / 1.076 GB, free: 85.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1559/3.118, allocations: 39.83 MB / 1.115 GB, free: 42.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/3.119, allocations: 305.9 kB / 1.115 GB, free: 41.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/3.119, allocations: 0 / 1.115 GB, free: 41.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.003059/3.122, allocations: 0.7893 MB / 1.116 GB, free: 40.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/3.122, allocations: 431.2 kB / 1.116 GB, free: 40.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/3.123, allocations: 154.6 kB / 1.116 GB, free: 40.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/3.123, allocations: 37.7 kB / 1.116 GB, free: 40.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/3.123, allocations: 234.3 kB / 1.116 GB, free: 40.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/3.123, allocations: 126.2 kB / 1.117 GB, free: 39.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/3.123, allocations: 11.94 kB / 1.117 GB, free: 39.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/3.123, allocations: 322.8 kB / 1.117 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/3.123, allocations: 65.08 kB / 1.117 GB, free: 39.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/3.123, allocations: 310.1 kB / 1.117 GB, free: 39.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/3.124, allocations: 115.9 kB / 1.117 GB, free: 38.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/3.124, allocations: 0 / 1.117 GB, free: 38.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008569/3.125, allocations: 393.6 kB / 1.118 GB, free: 38.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/3.125, allocations: 8.625 kB / 1.118 GB, free: 38.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/3.125, allocations: 12 kB / 1.118 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/3.125, allocations: 20.02 kB / 1.118 GB, free: 38.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/3.128, allocations: 263.5 kB / 1.118 GB, free: 38.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004685/3.128, allocations: 1.176 MB / 1.119 GB, free: 37.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/3.129, allocations: 35.78 kB / 1.119 GB, free: 37.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/3.129, allocations: 31.98 kB / 1.119 GB, free: 36.98 MB / 442.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.0001841/3.129, allocations: 153.6 kB / 1.119 GB, free: 36.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/3.129, allocations: 35.73 kB / 1.119 GB, free: 36.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/3.131, allocations: 0.9727 MB / 1.12 GB, free: 35.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/3.131, allocations: 7.984 kB / 1.12 GB, free: 35.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/3.131, allocations: 4 kB / 1.12 GB, free: 35.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/3.131, allocations: 0 / 1.12 GB, free: 35.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04102/3.172, allocations: 12.3 MB / 1.132 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/3.172, allocations: 3.984 kB / 1.132 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/3.173, allocations: 131.9 kB / 1.133 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/3.173, allocations: 7.953 kB / 1.133 GB, free: 22.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/3.173, allocations: 8 kB / 1.133 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002364/3.174, allocations: 0.586 MB / 1.133 GB, free: 21.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/3.174, allocations: 4 kB / 1.133 GB, free: 21.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/3.174, allocations: 0.5362 MB / 1.134 GB, free: 20.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/3.175, allocations: 192.2 kB / 1.134 GB, free: 20.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/3.175, allocations: 4 kB / 1.134 GB, free: 20.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/3.175, allocations: 19.92 kB / 1.134 GB, free: 20.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/3.175, allocations: 23.92 kB / 1.134 GB, free: 20.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/3.175, allocations: 16 kB / 1.134 GB, free: 20.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002629/3.176, allocations: 211.2 kB / 1.134 GB, free: 20.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.176, allocations: 0 / 1.134 GB, free: 20.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002169/3.178, allocations: 479.4 kB / 1.135 GB, free: 20.03 MB / 442.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.002689/3.18, allocations: 0.8294 MB / 1.135 GB, free: 19.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/3.182, allocations: 396.1 kB / 1.136 GB, free: 18.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/3.182, allocations: 4 kB / 1.136 GB, free: 18.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009874/3.183, allocations: 241.6 kB / 1.136 GB, free: 18.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/3.184, allocations: 81.3 kB / 1.136 GB, free: 18.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.015/6.199, allocations: 0.6797 GB / 1.816 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/6.2, allocations: 0.8212 MB / 1.817 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/6.2, allocations: 47.39 kB / 1.817 GB, free: 105.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.953e-06/6.2, allocations: 0 / 1.817 GB, free: 105.7 MB / 442.7 MB Notification: Performance of Templates: time 0.02625/6.226, allocations: 12.99 MB / 1.829 GB, free: 104.4 MB / 442.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