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_dT.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_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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 2.03/2.03, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 8 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3942, allocations: 48.71 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.842/2.237, allocations: 0.636 GB / 0.9601 GB, free: 13.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.237, allocations: 87.45 kB / 0.9602 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6597/2.897, allocations: 111.3 MB / 1.069 GB, free: 92.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.677e-06/2.897, allocations: 3.938 kB / 1.069 GB, free: 92.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/2.897, allocations: 7.938 kB / 1.069 GB, free: 92.16 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.003947/2.901, allocations: 1.049 MB / 1.07 GB, free: 91.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.901, allocations: 8.031 kB / 1.07 GB, free: 91.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/2.902, allocations: 79.66 kB / 1.07 GB, free: 90.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/2.902, allocations: 246.7 kB / 1.07 GB, free: 90.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/2.902, allocations: 20.56 kB / 1.07 GB, free: 90.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/2.902, allocations: 24 kB / 1.07 GB, free: 90.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/2.903, allocations: 485.4 kB / 1.071 GB, free: 90.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/2.904, allocations: 0 / 1.071 GB, free: 90.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/2.904, allocations: 12 kB / 1.071 GB, free: 90.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/2.904, allocations: 8 kB / 1.071 GB, free: 90.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/2.905, allocations: 0.6773 MB / 1.071 GB, free: 89.45 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.01299/2.918, allocations: 4.161 MB / 1.075 GB, free: 85.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/2.919, allocations: 208.6 kB / 1.076 GB, free: 84.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1465/3.065, allocations: 42.51 MB / 1.117 GB, free: 38.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006914/3.066, allocations: 230.9 kB / 1.117 GB, free: 38.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 4.579e-06/3.066, allocations: 4 kB / 1.117 GB, free: 38.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.003428/3.07, allocations: 0.7379 MB / 1.118 GB, free: 37.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/3.07, allocations: 269 kB / 1.118 GB, free: 37.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/3.07, allocations: 198.4 kB / 1.119 GB, free: 36.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/3.07, allocations: 33.7 kB / 1.119 GB, free: 36.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/3.07, allocations: 281.5 kB / 1.119 GB, free: 36.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/3.07, allocations: 75 kB / 1.119 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/3.07, allocations: 8 kB / 1.119 GB, free: 36.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/3.07, allocations: 334.8 kB / 1.119 GB, free: 36.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/3.07, allocations: 65.09 kB / 1.119 GB, free: 36.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/3.071, allocations: 343.3 kB / 1.12 GB, free: 35.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/3.071, allocations: 111.9 kB / 1.12 GB, free: 35.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/3.071, allocations: 4 kB / 1.12 GB, free: 35.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009441/3.072, allocations: 443 kB / 1.12 GB, free: 35.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/3.072, allocations: 15.75 kB / 1.12 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/3.072, allocations: 8 kB / 1.12 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/3.075, allocations: 297.7 kB / 1.12 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/3.076, allocations: 111.8 kB / 1.121 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000611/3.076, allocations: 1.215 MB / 1.122 GB, free: 33.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/3.077, allocations: 32.03 kB / 1.122 GB, free: 33.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/3.077, allocations: 35.98 kB / 1.122 GB, free: 33.38 MB / 442.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 () * Number of clocked 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.0002007/3.077, allocations: 149.6 kB / 1.122 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/3.077, allocations: 27.77 kB / 1.122 GB, free: 33.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/3.078, allocations: 0.795 MB / 1.123 GB, free: 32.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/3.078, allocations: 4 kB / 1.123 GB, free: 32.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/3.078, allocations: 4.25 kB / 1.123 GB, free: 32.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/3.078, allocations: 8 kB / 1.123 GB, free: 32.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/3.079, allocations: 0.5006 MB / 1.123 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/3.079, allocations: 0 / 1.123 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/3.079, allocations: 31.92 kB / 1.123 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/3.081, allocations: 237.5 kB / 1.124 GB, free: 31.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/3.081, allocations: 11.95 kB / 1.124 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006104/3.082, allocations: 1.262 MB / 1.125 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.082, allocations: 4 kB / 1.125 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/3.083, allocations: 458.9 kB / 1.125 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/3.083, allocations: 220.1 kB / 1.125 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/3.083, allocations: 8.094 kB / 1.125 GB, free: 29.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/3.083, allocations: 19.92 kB / 1.125 GB, free: 29.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/3.083, allocations: 27.81 kB / 1.125 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/3.083, allocations: 12 kB / 1.126 GB, free: 29.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004312/3.084, allocations: 294.9 kB / 1.126 GB, free: 29.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.084, allocations: 0 / 1.126 GB, free: 29.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002123/3.086, allocations: 415.5 kB / 1.126 GB, free: 28.73 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 (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.002827/3.089, allocations: 0.7135 MB / 1.127 GB, free: 28.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008973/3.09, allocations: 322.3 kB / 1.127 GB, free: 27.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/3.09, allocations: 0 / 1.127 GB, free: 27.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/3.09, allocations: 195.4 kB / 1.127 GB, free: 27.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/3.091, allocations: 73.84 kB / 1.127 GB, free: 27.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.442/8.533, allocations: 1.255 GB / 2.383 GB, free: 40.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/8.534, allocations: 0.8306 MB / 2.384 GB, free: 39.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/8.534, allocations: 39.42 kB / 2.384 GB, free: 39.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.313e-06/8.534, allocations: 0 / 2.384 GB, free: 39.16 MB / 442.7 MB Notification: Performance of Templates: time 0.02476/8.559, allocations: 13.05 MB / 2.396 GB, free: 26.28 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_dT_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_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_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