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/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_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 1.932/1.932, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.521e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09113, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.713/1.804, allocations: 0.6359 GB / 0.9548 GB, free: 38.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.805, allocations: 82.89 kB / 0.9549 GB, free: 38.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5198/2.325, allocations: 111.1 MB / 1.063 GB, free: 103.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.325, allocations: 0 / 1.063 GB, free: 103.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/2.325, allocations: 4 kB / 1.063 GB, free: 103.6 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.00327/2.328, allocations: 1.044 MB / 1.064 GB, free: 102.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/2.328, allocations: 12.03 kB / 1.064 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/2.329, allocations: 75.66 kB / 1.065 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/2.329, allocations: 254.7 kB / 1.065 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/2.329, allocations: 24.56 kB / 1.065 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/2.329, allocations: 24 kB / 1.065 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/2.33, allocations: 491.1 kB / 1.065 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/2.33, allocations: 3.938 kB / 1.065 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/2.33, allocations: 16 kB / 1.065 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/2.33, allocations: 8 kB / 1.065 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/2.332, allocations: 0.6891 MB / 1.066 GB, free: 100.9 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.0104/2.342, allocations: 5.381 MB / 1.071 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/2.343, allocations: 177 kB / 1.071 GB, free: 94.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/2.343, allocations: 56.84 kB / 1.071 GB, free: 94.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05402/2.397, allocations: 25.85 MB / 1.097 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006576/2.398, allocations: 296.5 kB / 1.097 GB, free: 65.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.644e-06/2.398, allocations: 0 / 1.097 GB, free: 65.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001402/2.399, allocations: 360.9 kB / 1.097 GB, free: 65.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/2.399, allocations: 431.1 kB / 1.098 GB, free: 64.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/2.399, allocations: 166.1 kB / 1.098 GB, free: 64.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/2.399, allocations: 37.7 kB / 1.098 GB, free: 64.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/2.4, allocations: 261.7 kB / 1.098 GB, free: 64.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/2.4, allocations: 98.58 kB / 1.098 GB, free: 64.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/2.4, allocations: 12 kB / 1.098 GB, free: 64.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.115e-05/2.4, allocations: 326.8 kB / 1.099 GB, free: 63.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/2.4, allocations: 60.8 kB / 1.099 GB, free: 63.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/2.4, allocations: 310.8 kB / 1.099 GB, free: 63.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/2.4, allocations: 103.9 kB / 1.099 GB, free: 63.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.33e-06/2.4, allocations: 4 kB / 1.099 GB, free: 63.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000809/2.401, allocations: 393 kB / 1.099 GB, free: 62.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.401, allocations: 8 kB / 1.099 GB, free: 62.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/2.401, allocations: 8 kB / 1.099 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/2.401, allocations: 12 kB / 1.099 GB, free: 62.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/2.402, allocations: 107.8 kB / 1.1 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/2.402, allocations: 16.47 kB / 1.1 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/2.402, allocations: 51.64 kB / 1.1 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/2.402, allocations: 31.98 kB / 1.1 GB, free: 62.64 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.000113/2.402, allocations: 140.7 kB / 1.1 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/2.402, allocations: 27.81 kB / 1.1 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/2.404, allocations: 0.8096 MB / 1.101 GB, free: 61.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/2.404, allocations: 4 kB / 1.101 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-06/2.404, allocations: 8 kB / 1.101 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.198e-06/2.404, allocations: 3.984 kB / 1.101 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0311/2.435, allocations: 12.24 MB / 1.113 GB, free: 48.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/2.435, allocations: 4 kB / 1.113 GB, free: 48.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/2.435, allocations: 27.92 kB / 1.113 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.03e-06/2.435, allocations: 4 kB / 1.113 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/2.435, allocations: 11.98 kB / 1.113 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.136e-06/2.435, allocations: 7.953 kB / 1.113 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.902e-06/2.435, allocations: 0 / 1.113 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/2.436, allocations: 497.6 kB / 1.113 GB, free: 47.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/2.436, allocations: 188.4 kB / 1.113 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/2.436, allocations: 11.94 kB / 1.113 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/2.436, allocations: 7.984 kB / 1.113 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/2.436, allocations: 23.92 kB / 1.113 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/2.436, allocations: 8 kB / 1.113 GB, free: 47.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002674/2.437, allocations: 226.1 kB / 1.114 GB, free: 47.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-07/2.437, allocations: 0 / 1.114 GB, free: 47.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001873/2.439, allocations: 439.3 kB / 1.114 GB, free: 46.7 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002372/2.441, allocations: 0.7756 MB / 1.115 GB, free: 45.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005576/2.442, allocations: 241.6 kB / 1.115 GB, free: 45.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.373e-06/2.442, allocations: 4.125 kB / 1.115 GB, free: 45.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/2.442, allocations: 107.8 kB / 1.115 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/2.442, allocations: 69.78 kB / 1.115 GB, free: 45.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.486/4.928, allocations: 0.7338 GB / 1.849 GB, free: 87.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/4.929, allocations: 0.8085 MB / 1.85 GB, free: 86.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/4.929, allocations: 41.83 kB / 1.85 GB, free: 86.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.818e-06/4.929, allocations: 0 / 1.85 GB, free: 86.67 MB / 426.7 MB Notification: Performance of Templates: time 0.01752/4.946, allocations: 10.83 MB / 1.86 GB, free: 80.23 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,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