Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.505/2.505, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006273/0.0006276, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4642, allocations: 54.86 MB / 369.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.52/19.98, allocations: 6.537 GB / 6.898 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/19.98, allocations: 91.61 kB / 6.898 GB, free: 108.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328/21.31, allocations: 247.1 MB / 7.139 GB, free: 65.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.146e-06/21.31, allocations: 0 / 7.139 GB, free: 65.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/21.31, allocations: 7.938 kB / 7.139 GB, free: 65.93 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.009445/21.32, allocations: 1.905 MB / 7.141 GB, free: 63.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/21.32, allocations: 16.03 kB / 7.141 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/21.32, allocations: 31.67 kB / 7.141 GB, free: 63.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/21.32, allocations: 238.7 kB / 7.141 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/21.32, allocations: 20.56 kB / 7.142 GB, free: 63.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/21.32, allocations: 27.94 kB / 7.142 GB, free: 63.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/21.32, allocations: 0.4934 MB / 7.142 GB, free: 63.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/21.32, allocations: 3.938 kB / 7.142 GB, free: 63.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/21.32, allocations: 19.81 kB / 7.142 GB, free: 63.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/21.32, allocations: 20.55 kB / 7.142 GB, free: 63.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/21.32, allocations: 0.8842 MB / 7.143 GB, free: 62.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/21.33, allocations: 1.807 MB / 7.145 GB, free: 60.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/21.33, allocations: 329 kB / 7.145 GB, free: 59.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/21.35, allocations: 12.84 MB / 7.158 GB, free: 44.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005665/21.35, allocations: 237.1 kB / 7.158 GB, free: 44.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/21.35, allocations: 0 / 7.158 GB, free: 44.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.003098/21.35, allocations: 0.8038 MB / 7.159 GB, free: 43.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/21.35, allocations: 261 kB / 7.159 GB, free: 43.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/21.35, allocations: 206.3 kB / 7.159 GB, free: 42.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/21.35, allocations: 41.69 kB / 7.159 GB, free: 42.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/21.35, allocations: 261.9 kB / 7.159 GB, free: 42.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.518e-05/21.35, allocations: 134.1 kB / 7.159 GB, free: 42.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/21.35, allocations: 12 kB / 7.159 GB, free: 42.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/21.35, allocations: 330.8 kB / 7.16 GB, free: 42.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/21.35, allocations: 85.06 kB / 7.16 GB, free: 42.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/21.35, allocations: 361.5 kB / 7.16 GB, free: 41.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/21.35, allocations: 154.8 kB / 7.16 GB, free: 41.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/21.35, allocations: 4 kB / 7.16 GB, free: 41.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001616/21.35, allocations: 489 kB / 7.161 GB, free: 40.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/21.35, allocations: 15.98 kB / 7.161 GB, free: 40.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/21.35, allocations: 11.95 kB / 7.161 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/21.35, allocations: 16 kB / 7.161 GB, free: 40.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/21.36, allocations: 167.8 kB / 7.161 GB, free: 40.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005208/21.36, allocations: 1.196 MB / 7.162 GB, free: 39.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/21.36, allocations: 27.89 kB / 7.162 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/21.36, allocations: 43.98 kB / 7.162 GB, free: 39.43 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.0002239/21.36, allocations: 177.8 kB / 7.162 GB, free: 39.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/21.36, allocations: 27.72 kB / 7.162 GB, free: 39.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/21.36, allocations: 0.5134 MB / 7.163 GB, free: 38.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/21.36, allocations: 4 kB / 7.163 GB, free: 38.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/21.36, allocations: 4.031 kB / 7.163 GB, free: 38.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/21.36, allocations: 3.938 kB / 7.163 GB, free: 38.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/21.36, allocations: 0.5701 MB / 7.163 GB, free: 38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/21.36, allocations: 4 kB / 7.163 GB, free: 38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/21.36, allocations: 83.8 kB / 7.164 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/21.36, allocations: 0 / 7.164 GB, free: 37.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/21.36, allocations: 8 kB / 7.164 GB, free: 37.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004264/21.36, allocations: 1.172 MB / 7.165 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/21.36, allocations: 0 / 7.165 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/21.36, allocations: 297.3 kB / 7.165 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/21.36, allocations: 136.7 kB / 7.165 GB, free: 36.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-05/21.36, allocations: 7.984 kB / 7.165 GB, free: 36.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/21.36, allocations: 8 kB / 7.165 GB, free: 36.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/21.36, allocations: 19.92 kB / 7.165 GB, free: 36.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/21.36, allocations: 15.98 kB / 7.165 GB, free: 36.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000215/21.36, allocations: 178 kB / 7.165 GB, free: 36 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/21.36, allocations: 0 / 7.165 GB, free: 36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00904/21.37, allocations: 1.935 MB / 7.167 GB, free: 34.07 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.0167/21.39, allocations: 2.726 MB / 7.17 GB, free: 31.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/21.39, allocations: 317.6 kB / 7.17 GB, free: 31.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/21.39, allocations: 4 kB / 7.17 GB, free: 31.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/21.39, allocations: 107.8 kB / 7.17 GB, free: 30.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/21.39, allocations: 51.83 kB / 7.17 GB, free: 30.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.491/22.88, allocations: 271.1 MB / 7.435 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/22.88, allocations: 0.7603 MB / 7.436 GB, free: 74.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/22.88, allocations: 61.12 kB / 7.436 GB, free: 74.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/22.88, allocations: 0 / 7.436 GB, free: 74.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.1015/22.98, allocations: 47.24 MB / 7.482 GB, free: 67.67 MB / 0.4948 GB