Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.833/1.833, allocations: 209.3 MB / 224.9 MB, free: 180 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.000458, allocations: 8 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3301, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.92/16.25, allocations: 6.53 GB / 6.853 GB, free: 112.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/16.25, allocations: 79.39 kB / 6.853 GB, free: 112.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06/17.31, allocations: 245.8 MB / 7.093 GB, free: 74.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.005e-06/17.31, allocations: 0 / 7.093 GB, free: 74.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/17.31, allocations: 7.469 kB / 7.093 GB, free: 74.74 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.007502/17.32, allocations: 1.912 MB / 7.095 GB, free: 73.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/17.32, allocations: 9.469 kB / 7.095 GB, free: 73.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/17.32, allocations: 29.53 kB / 7.095 GB, free: 73.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/17.32, allocations: 242.5 kB / 7.095 GB, free: 73.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/17.32, allocations: 23.48 kB / 7.095 GB, free: 73.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/17.32, allocations: 28.91 kB / 7.096 GB, free: 73.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/17.32, allocations: 0.492 MB / 7.096 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/17.32, allocations: 0 / 7.096 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/17.32, allocations: 15.94 kB / 7.096 GB, free: 72.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/17.32, allocations: 22.97 kB / 7.096 GB, free: 72.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/17.32, allocations: 0.8844 MB / 7.097 GB, free: 72.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/17.33, allocations: 1.757 MB / 7.099 GB, free: 71.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/17.33, allocations: 331.5 kB / 7.099 GB, free: 71.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/17.34, allocations: 12.85 MB / 7.111 GB, free: 57.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/17.34, allocations: 226.2 kB / 7.112 GB, free: 56.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.471e-06/17.34, allocations: 11.94 kB / 7.112 GB, free: 56.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002796/17.35, allocations: 0.7805 MB / 7.112 GB, free: 56.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/17.35, allocations: 265 kB / 7.113 GB, free: 55.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/17.35, allocations: 192.6 kB / 7.113 GB, free: 55.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/17.35, allocations: 29.7 kB / 7.113 GB, free: 55.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/17.35, allocations: 261.5 kB / 7.113 GB, free: 55.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/17.35, allocations: 128.5 kB / 7.113 GB, free: 55.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/17.35, allocations: 8 kB / 7.113 GB, free: 55.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/17.35, allocations: 338.6 kB / 7.114 GB, free: 54.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/17.35, allocations: 88.06 kB / 7.114 GB, free: 54.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/17.35, allocations: 361.8 kB / 7.114 GB, free: 54.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/17.35, allocations: 158.1 kB / 7.114 GB, free: 54.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.294e-06/17.35, allocations: 4 kB / 7.114 GB, free: 54.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001541/17.35, allocations: 492.5 kB / 7.115 GB, free: 53.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/17.35, allocations: 16 kB / 7.115 GB, free: 53.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/17.35, allocations: 8 kB / 7.115 GB, free: 53.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/17.35, allocations: 12 kB / 7.115 GB, free: 53.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/17.35, allocations: 179.6 kB / 7.115 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005091/17.35, allocations: 1.199 MB / 7.116 GB, free: 52.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/17.35, allocations: 23.94 kB / 7.116 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/17.35, allocations: 43.84 kB / 7.116 GB, free: 52.3 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.0002091/17.35, allocations: 161.3 kB / 7.116 GB, free: 52.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/17.35, allocations: 43.56 kB / 7.116 GB, free: 52.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/17.35, allocations: 0.5123 MB / 7.117 GB, free: 51.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.177e-06/17.35, allocations: 4 kB / 7.117 GB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/17.35, allocations: 0 / 7.117 GB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-06/17.35, allocations: 0 / 7.117 GB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/17.35, allocations: 0.5731 MB / 7.117 GB, free: 51.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.998e-06/17.35, allocations: 3.625 kB / 7.117 GB, free: 51.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/17.35, allocations: 78.14 kB / 7.117 GB, free: 50.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.929e-06/17.35, allocations: 4 kB / 7.117 GB, free: 50.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/17.35, allocations: 11.66 kB / 7.117 GB, free: 50.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000423/17.35, allocations: 1.176 MB / 7.119 GB, free: 49.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-06/17.35, allocations: 0 / 7.119 GB, free: 49.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/17.36, allocations: 321.6 kB / 7.119 GB, free: 49.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/17.36, allocations: 143.3 kB / 7.119 GB, free: 49.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/17.36, allocations: 4 kB / 7.119 GB, free: 49.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/17.36, allocations: 12 kB / 7.119 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/17.36, allocations: 15.64 kB / 7.119 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/17.36, allocations: 12 kB / 7.119 GB, free: 49.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002455/17.36, allocations: 180.4 kB / 7.119 GB, free: 49.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.43e-07/17.36, allocations: 0 / 7.119 GB, free: 49.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007423/17.36, allocations: 1.935 MB / 7.121 GB, free: 47.21 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.01351/17.38, allocations: 2.716 MB / 7.124 GB, free: 44.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/17.38, allocations: 317.6 kB / 7.124 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.193e-06/17.38, allocations: 4.25 kB / 7.124 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005561/17.38, allocations: 107 kB / 7.124 GB, free: 44.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/17.38, allocations: 47.42 kB / 7.124 GB, free: 44.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.273/18.65, allocations: 271 MB / 7.389 GB, free: 61.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/18.65, allocations: 0.7612 MB / 7.39 GB, free: 60.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/18.65, allocations: 61.66 kB / 7.39 GB, free: 60.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.589e-06/18.65, allocations: 0 / 7.39 GB, free: 60.46 MB / 458.7 MB Notification: Performance of Templates: time 0.07802/18.73, allocations: 47.17 MB / 7.436 GB, free: 53.94 MB / 458.7 MB