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.ReferenceMoistAir.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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.241/2.241, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 19.98 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.25/15.53, allocations: 6.537 GB / 6.897 GB, free: 151 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/15.53, allocations: 87.56 kB / 6.898 GB, free: 150.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101/16.63, allocations: 247.1 MB / 7.139 GB, free: 87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.696e-06/16.63, allocations: 0 / 7.139 GB, free: 87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/16.63, allocations: 3.969 kB / 7.139 GB, free: 87 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007843/16.64, allocations: 1.912 MB / 7.141 GB, free: 85.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/16.64, allocations: 11.25 kB / 7.141 GB, free: 85.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/16.64, allocations: 36.86 kB / 7.141 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/16.64, allocations: 238.2 kB / 7.141 GB, free: 85.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/16.64, allocations: 20.47 kB / 7.141 GB, free: 85.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/16.64, allocations: 27.03 kB / 7.141 GB, free: 85.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/16.64, allocations: 0.4903 MB / 7.141 GB, free: 85.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/16.64, allocations: 0 / 7.141 GB, free: 85.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/16.64, allocations: 15.97 kB / 7.142 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/16.64, allocations: 18.7 kB / 7.142 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/16.64, allocations: 0.886 MB / 7.142 GB, free: 85.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/16.65, allocations: 1.807 MB / 7.144 GB, free: 83.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/16.65, allocations: 334.2 kB / 7.144 GB, free: 83.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/16.66, allocations: 12.84 MB / 7.157 GB, free: 70.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/16.66, allocations: 238.2 kB / 7.157 GB, free: 70.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 5.105e-06/16.66, allocations: 0 / 7.157 GB, free: 70.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.003206/16.67, allocations: 0.7978 MB / 7.158 GB, free: 69.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/16.67, allocations: 272.1 kB / 7.158 GB, free: 69.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/16.67, allocations: 191.1 kB / 7.158 GB, free: 69.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/16.67, allocations: 33.3 kB / 7.159 GB, free: 69.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/16.67, allocations: 263.1 kB / 7.159 GB, free: 69.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/16.67, allocations: 128.7 kB / 7.159 GB, free: 69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/16.67, allocations: 11.88 kB / 7.159 GB, free: 68.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/16.67, allocations: 326.6 kB / 7.159 GB, free: 68.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/16.67, allocations: 88.89 kB / 7.159 GB, free: 68.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/16.67, allocations: 359.7 kB / 7.16 GB, free: 68.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/16.67, allocations: 153.8 kB / 7.16 GB, free: 68.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.562e-06/16.67, allocations: 0 / 7.16 GB, free: 68.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001696/16.67, allocations: 0.4922 MB / 7.16 GB, free: 68.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/16.67, allocations: 7.812 kB / 7.16 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/16.67, allocations: 7.719 kB / 7.16 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/16.67, allocations: 19.48 kB / 7.16 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/16.67, allocations: 178.6 kB / 7.16 GB, free: 67.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005399/16.67, allocations: 1.19 MB / 7.162 GB, free: 66.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/16.67, allocations: 25.94 kB / 7.162 GB, free: 66.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.993e-05/16.67, allocations: 52.7 kB / 7.162 GB, free: 66.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (66): * Single equations (assignments): 64 * 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.0002403/16.67, allocations: 170.3 kB / 7.162 GB, free: 66.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/16.67, allocations: 36.67 kB / 7.162 GB, free: 66.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/16.68, allocations: 0.5047 MB / 7.162 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.681e-06/16.68, allocations: 4.031 kB / 7.162 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-06/16.68, allocations: 0.625 kB / 7.162 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-06/16.68, allocations: 1.438 kB / 7.162 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/16.68, allocations: 0.5762 MB / 7.163 GB, free: 65.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.767e-06/16.68, allocations: 0 / 7.163 GB, free: 65.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/16.68, allocations: 80.7 kB / 7.163 GB, free: 65.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-06/16.68, allocations: 3.938 kB / 7.163 GB, free: 65.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/16.68, allocations: 11.78 kB / 7.163 GB, free: 65.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004461/16.68, allocations: 1.171 MB / 7.164 GB, free: 64.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.174e-06/16.68, allocations: 0 / 7.164 GB, free: 64.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/16.68, allocations: 331.4 kB / 7.165 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/16.68, allocations: 131.3 kB / 7.165 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/16.68, allocations: 11 kB / 7.165 GB, free: 64.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/16.68, allocations: 14.94 kB / 7.165 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/16.68, allocations: 18.3 kB / 7.165 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/16.68, allocations: 14.56 kB / 7.165 GB, free: 64.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002176/16.68, allocations: 173.9 kB / 7.165 GB, free: 64.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.06e-07/16.68, allocations: 0 / 7.165 GB, free: 64.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007986/16.69, allocations: 1.934 MB / 7.167 GB, free: 63.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 19 * 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 Backend phase and start with SimCode phase: time 0.01371/16.7, allocations: 2.732 MB / 7.169 GB, free: 61.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/16.7, allocations: 310.2 kB / 7.17 GB, free: 60.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.707e-06/16.7, allocations: 0 / 7.17 GB, free: 60.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/16.7, allocations: 115.3 kB / 7.17 GB, free: 60.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/16.7, allocations: 52.27 kB / 7.17 GB, free: 60.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.254/17.96, allocations: 271.1 MB / 7.435 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/17.96, allocations: 0.7573 MB / 7.435 GB, free: 74.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/17.96, allocations: 61.42 kB / 7.435 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.654e-06/17.96, allocations: 0 / 7.435 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.07875/18.04, allocations: 47.24 MB / 7.482 GB, free: 68.79 MB / 0.4948 GB