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.895/1.895, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-05/6.878e-05, allocations: 8 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09341, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.43/15.53, allocations: 6.53 GB / 6.848 GB, free: 52.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/15.53, allocations: 78.8 kB / 6.849 GB, free: 52.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382/16.91, allocations: 245.4 MB / 7.088 GB, free: 68.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/16.91, allocations: 0 / 7.088 GB, free: 68.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/16.91, allocations: 8.812 kB / 7.088 GB, free: 68.42 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.007327/16.92, allocations: 1.893 MB / 7.09 GB, free: 67.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/16.92, allocations: 11 kB / 7.09 GB, free: 67.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/16.92, allocations: 36.11 kB / 7.09 GB, free: 67.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/16.92, allocations: 244.3 kB / 7.09 GB, free: 67.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/16.92, allocations: 25.39 kB / 7.09 GB, free: 67.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/16.92, allocations: 23.31 kB / 7.09 GB, free: 67.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/16.92, allocations: 498.9 kB / 7.091 GB, free: 67.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/16.92, allocations: 3.906 kB / 7.091 GB, free: 67.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/16.92, allocations: 15.5 kB / 7.091 GB, free: 67.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/16.92, allocations: 19.5 kB / 7.091 GB, free: 67.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/16.92, allocations: 0.8817 MB / 7.092 GB, free: 67.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/16.92, allocations: 1.749 MB / 7.093 GB, free: 66.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/16.92, allocations: 330.5 kB / 7.094 GB, free: 65.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/16.92, allocations: 101.8 kB / 7.094 GB, free: 65.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/16.94, allocations: 12.94 MB / 7.107 GB, free: 53.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/16.94, allocations: 238.1 kB / 7.107 GB, free: 53.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 4.543e-06/16.94, allocations: 0 / 7.107 GB, free: 53.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002757/16.94, allocations: 0.7069 MB / 7.107 GB, free: 52.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/16.94, allocations: 266 kB / 7.108 GB, free: 52.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/16.94, allocations: 188.1 kB / 7.108 GB, free: 52.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/16.94, allocations: 33.27 kB / 7.108 GB, free: 52.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/16.94, allocations: 265.7 kB / 7.108 GB, free: 52.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/16.94, allocations: 129 kB / 7.108 GB, free: 52.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/16.94, allocations: 8.75 kB / 7.108 GB, free: 52.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/16.94, allocations: 334 kB / 7.109 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/16.94, allocations: 84.69 kB / 7.109 GB, free: 51.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/16.94, allocations: 359.3 kB / 7.109 GB, free: 51.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/16.94, allocations: 156.3 kB / 7.109 GB, free: 51.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.658e-06/16.94, allocations: 3.844 kB / 7.109 GB, free: 51.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00164/16.94, allocations: 482.7 kB / 7.11 GB, free: 51.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/16.94, allocations: 14.5 kB / 7.11 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/16.94, allocations: 6.656 kB / 7.11 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/16.94, allocations: 16 kB / 7.11 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/16.95, allocations: 181.9 kB / 7.11 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004992/16.95, allocations: 1.193 MB / 7.111 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/16.95, allocations: 26.66 kB / 7.111 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/16.95, allocations: 48.8 kB / 7.111 GB, free: 50.22 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 () * 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.0001423/16.95, allocations: 141 kB / 7.111 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/16.95, allocations: 35.83 kB / 7.111 GB, free: 50.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/16.95, allocations: 0.5146 MB / 7.112 GB, free: 49.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-06/16.95, allocations: 3.812 kB / 7.112 GB, free: 49.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/16.95, allocations: 0 / 7.112 GB, free: 49.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/16.95, allocations: 6.422 kB / 7.112 GB, free: 49.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/16.95, allocations: 0.5624 MB / 7.112 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.712e-06/16.95, allocations: 3.938 kB / 7.112 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/16.95, allocations: 79.09 kB / 7.112 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/16.95, allocations: 2.672 kB / 7.112 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/16.95, allocations: 18.95 kB / 7.112 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004246/16.95, allocations: 1.167 MB / 7.114 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.236e-06/16.95, allocations: 0.5625 kB / 7.114 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/16.95, allocations: 327.6 kB / 7.114 GB, free: 48.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/16.95, allocations: 136.9 kB / 7.114 GB, free: 48.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/16.95, allocations: 10.11 kB / 7.114 GB, free: 48.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/16.95, allocations: 11.5 kB / 7.114 GB, free: 48.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/16.95, allocations: 18.77 kB / 7.114 GB, free: 48.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/16.95, allocations: 7.219 kB / 7.114 GB, free: 48.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00021/16.95, allocations: 180.3 kB / 7.114 GB, free: 47.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.76e-07/16.95, allocations: 0 / 7.114 GB, free: 47.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007637/16.96, allocations: 1.937 MB / 7.116 GB, free: 47.53 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 () * 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.0135/16.97, allocations: 2.732 MB / 7.119 GB, free: 46.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/16.98, allocations: 306.7 kB / 7.119 GB, free: 46.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.164e-06/16.98, allocations: 0 / 7.119 GB, free: 46.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005978/16.98, allocations: 101.3 kB / 7.119 GB, free: 46.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/16.98, allocations: 52.33 kB / 7.119 GB, free: 46.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9847/17.96, allocations: 270.5 MB / 7.383 GB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/17.96, allocations: 0.7601 MB / 7.384 GB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/17.96, allocations: 61.8 kB / 7.384 GB, free: 1.148 MB / 442.7 MB Notification: Performance of SimCode: time 1.774e-06/17.96, allocations: 0 / 7.384 GB, free: 1.148 MB / 442.7 MB Notification: Performance of Templates: time 0.4112/18.37, allocations: 46.9 MB / 7.43 GB, free: 64.04 MB / 458.7 MB