Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 2.212/2.212, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.948e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 54.85 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.807, allocations: 0.6423 GB / 0.9983 GB, free: 89.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/1.807, allocations: 75.89 kB / 0.9984 GB, free: 89.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5371/2.345, allocations: 111.2 MB / 1.107 GB, free: 146.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.299e-06/2.345, allocations: 0 / 1.107 GB, free: 146.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/2.345, allocations: 3.375 kB / 1.107 GB, free: 146.4 MB / 490.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.003683/2.348, allocations: 1.05 MB / 1.108 GB, free: 145.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.348, allocations: 10.19 kB / 1.108 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/2.349, allocations: 78.22 kB / 1.108 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/2.35, allocations: 243.3 kB / 1.108 GB, free: 145.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/2.35, allocations: 22.78 kB / 1.108 GB, free: 145.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/2.35, allocations: 27.91 kB / 1.108 GB, free: 145.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/2.351, allocations: 489 kB / 1.109 GB, free: 145.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/2.351, allocations: 2.219 kB / 1.109 GB, free: 145.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/2.351, allocations: 19.67 kB / 1.109 GB, free: 145.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/2.351, allocations: 6.906 kB / 1.109 GB, free: 145.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/2.353, allocations: 0.6882 MB / 1.109 GB, free: 145.5 MB / 490.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.01024/2.363, allocations: 4.181 MB / 1.114 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/2.364, allocations: 230.6 kB / 1.114 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/2.364, allocations: 78.77 kB / 1.114 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/2.476, allocations: 43.17 MB / 1.156 GB, free: 123.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006886/2.476, allocations: 242.5 kB / 1.156 GB, free: 123 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 4.117e-06/2.476, allocations: 0 / 1.156 GB, free: 123 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003146/2.479, allocations: 0.7309 MB / 1.157 GB, free: 122.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/2.48, allocations: 266.8 kB / 1.157 GB, free: 122.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/2.48, allocations: 183.6 kB / 1.157 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/2.48, allocations: 33.27 kB / 1.157 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/2.48, allocations: 287.8 kB / 1.158 GB, free: 122.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/2.48, allocations: 88.5 kB / 1.158 GB, free: 122 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/2.48, allocations: 7.312 kB / 1.158 GB, free: 122 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/2.48, allocations: 329.6 kB / 1.158 GB, free: 121.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/2.48, allocations: 61.16 kB / 1.158 GB, free: 121.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/2.48, allocations: 327.4 kB / 1.158 GB, free: 121.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/2.481, allocations: 121.9 kB / 1.159 GB, free: 121.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-06/2.481, allocations: 3.688 kB / 1.159 GB, free: 121.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008612/2.482, allocations: 435.4 kB / 1.159 GB, free: 121.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/2.482, allocations: 11.09 kB / 1.159 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.482, allocations: 10.56 kB / 1.159 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/2.484, allocations: 317.4 kB / 1.159 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/2.484, allocations: 99.91 kB / 1.159 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005795/2.485, allocations: 1.222 MB / 1.161 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/2.485, allocations: 14.94 kB / 1.161 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/2.485, allocations: 32.23 kB / 1.161 GB, free: 119.9 MB / 490.7 MB 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.0001362/2.486, allocations: 146.4 kB / 1.161 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/2.486, allocations: 22.97 kB / 1.161 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/2.487, allocations: 0.7888 MB / 1.162 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/2.487, allocations: 11.59 kB / 1.162 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.922e-06/2.487, allocations: 3.969 kB / 1.162 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.377e-06/2.487, allocations: 3.938 kB / 1.162 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/2.488, allocations: 0.5091 MB / 1.162 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.293e-06/2.488, allocations: 3.406 kB / 1.162 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/2.488, allocations: 34.23 kB / 1.162 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/2.489, allocations: 254 kB / 1.162 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/2.49, allocations: 7.625 kB / 1.162 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005667/2.49, allocations: 1.264 MB / 1.164 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.879e-06/2.49, allocations: 0 / 1.164 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/2.491, allocations: 0.5409 MB / 1.164 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/2.491, allocations: 215.6 kB / 1.164 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/2.491, allocations: 7.062 kB / 1.164 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/2.491, allocations: 16.25 kB / 1.164 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/2.492, allocations: 22.98 kB / 1.164 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/2.492, allocations: 14.34 kB / 1.164 GB, free: 117.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003768/2.492, allocations: 297.2 kB / 1.165 GB, free: 116.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.767e-06/2.492, allocations: 0 / 1.165 GB, free: 116.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001891/2.494, allocations: 406.3 kB / 1.165 GB, free: 116.8 MB / 490.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 (21): * Single equations (assignments): 18 * 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.002305/2.496, allocations: 0.7083 MB / 1.166 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007384/2.497, allocations: 311.4 kB / 1.166 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/2.497, allocations: 3.594 kB / 1.166 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002806/2.497, allocations: 182.1 kB / 1.166 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/2.498, allocations: 82.97 kB / 1.166 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.938/6.436, allocations: 1.255 GB / 2.421 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/6.437, allocations: 0.8332 MB / 2.422 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/6.437, allocations: 39.28 kB / 2.422 GB, free: 101.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.762e-06/6.437, allocations: 0 / 2.422 GB, free: 101.5 MB / 490.7 MB Notification: Performance of Templates: time 0.01822/6.455, allocations: 13.03 MB / 2.435 GB, free: 90.88 MB / 490.7 MB "Error: Could not read variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] in file ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_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,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