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.ReferenceMoistAir.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.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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 225.4 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004292, allocations: 12 kB / 283.1 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 48.71 MB / 331.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.76/20.87, allocations: 6.53 GB / 6.854 GB, free: 100 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/20.87, allocations: 85.2 kB / 6.854 GB, free: 100 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341/22.22, allocations: 245.8 MB / 7.094 GB, free: 60.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/22.22, allocations: 4 kB / 7.094 GB, free: 60.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/22.22, allocations: 4 kB / 7.094 GB, free: 60.38 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009846/22.23, allocations: 1.905 MB / 7.096 GB, free: 58.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/22.23, allocations: 8.031 kB / 7.096 GB, free: 58.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/22.23, allocations: 35.72 kB / 7.096 GB, free: 58.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/22.23, allocations: 250.7 kB / 7.096 GB, free: 58.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/22.23, allocations: 20.52 kB / 7.096 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/22.23, allocations: 31.98 kB / 7.096 GB, free: 58.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/22.23, allocations: 0.4898 MB / 7.096 GB, free: 57.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/22.23, allocations: 0 / 7.096 GB, free: 57.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/22.23, allocations: 19.92 kB / 7.097 GB, free: 57.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/22.23, allocations: 24.55 kB / 7.097 GB, free: 57.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/22.23, allocations: 0.8842 MB / 7.097 GB, free: 56.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/22.23, allocations: 1.746 MB / 7.099 GB, free: 54.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/22.23, allocations: 333 kB / 7.099 GB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01934/22.25, allocations: 12.86 MB / 7.112 GB, free: 39.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006008/22.25, allocations: 237.1 kB / 7.112 GB, free: 38.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 4.789e-06/22.25, allocations: 0 / 7.112 GB, free: 38.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.003257/22.26, allocations: 0.785 MB / 7.113 GB, free: 37.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/22.26, allocations: 265 kB / 7.113 GB, free: 37.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/22.26, allocations: 202.2 kB / 7.113 GB, free: 37.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/22.26, allocations: 33.7 kB / 7.113 GB, free: 37.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/22.26, allocations: 266.1 kB / 7.114 GB, free: 37.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/22.26, allocations: 122.2 kB / 7.114 GB, free: 37.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/22.26, allocations: 12 kB / 7.114 GB, free: 37.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/22.26, allocations: 338.8 kB / 7.114 GB, free: 36.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/22.26, allocations: 89.05 kB / 7.114 GB, free: 36.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/22.26, allocations: 369.3 kB / 7.115 GB, free: 36.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/22.26, allocations: 151.8 kB / 7.115 GB, free: 35.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/22.26, allocations: 0 / 7.115 GB, free: 35.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001647/22.26, allocations: 0.4886 MB / 7.115 GB, free: 35.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/22.26, allocations: 10.81 kB / 7.115 GB, free: 35.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/22.26, allocations: 12 kB / 7.115 GB, free: 35.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/22.26, allocations: 12 kB / 7.115 GB, free: 35.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/22.26, allocations: 179.7 kB / 7.115 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005288/22.26, allocations: 1.2 MB / 7.117 GB, free: 34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/22.26, allocations: 23.94 kB / 7.117 GB, free: 33.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/22.26, allocations: 47.97 kB / 7.117 GB, free: 33.93 MB / 442.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.0002347/22.26, allocations: 169.7 kB / 7.117 GB, free: 33.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/22.26, allocations: 39.66 kB / 7.117 GB, free: 33.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/22.27, allocations: 0.51 MB / 7.117 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/22.27, allocations: 0 / 7.117 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/22.27, allocations: 4 kB / 7.117 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/22.27, allocations: 4.031 kB / 7.117 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/22.27, allocations: 0.5662 MB / 7.118 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/22.27, allocations: 0 / 7.118 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/22.27, allocations: 75.88 kB / 7.118 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/22.27, allocations: 7.375 kB / 7.118 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/22.27, allocations: 7.984 kB / 7.118 GB, free: 32.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004268/22.27, allocations: 1.168 MB / 7.119 GB, free: 31.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/22.27, allocations: 3.938 kB / 7.119 GB, free: 31.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/22.27, allocations: 288.5 kB / 7.119 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/22.27, allocations: 140.6 kB / 7.12 GB, free: 30.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/22.27, allocations: 11.95 kB / 7.12 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/22.27, allocations: 15.98 kB / 7.12 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/22.27, allocations: 11.98 kB / 7.12 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/22.27, allocations: 12 kB / 7.12 GB, free: 30.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002248/22.27, allocations: 181.9 kB / 7.12 GB, free: 30.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/22.27, allocations: 0 / 7.12 GB, free: 30.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009398/22.28, allocations: 1.935 MB / 7.122 GB, free: 28.58 MB / 442.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.01766/22.3, allocations: 2.724 MB / 7.124 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/22.3, allocations: 309.9 kB / 7.125 GB, free: 25.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/22.3, allocations: 8.062 kB / 7.125 GB, free: 25.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/22.3, allocations: 119.8 kB / 7.125 GB, free: 25.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/22.3, allocations: 48.42 kB / 7.125 GB, free: 25.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.554/23.85, allocations: 270.9 MB / 7.389 GB, free: 55.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/23.85, allocations: 0.7531 MB / 7.39 GB, free: 54.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/23.85, allocations: 63.83 kB / 7.39 GB, free: 54.51 MB / 458.7 MB Notification: Performance of SimCode: time 3.296e-06/23.85, allocations: 0 / 7.39 GB, free: 54.51 MB / 458.7 MB Notification: Performance of Templates: time 0.1594/24.01, allocations: 47.18 MB / 7.436 GB, free: 45.36 MB / 458.7 MB