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.208/2.208, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.234e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 54.86 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.3/15.63, allocations: 6.537 GB / 6.893 GB, free: 35.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/15.63, allocations: 87.14 kB / 6.893 GB, free: 35.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385/17.01, allocations: 246.7 MB / 7.134 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/17.01, allocations: 2.625 kB / 7.134 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.202e-05/17.01, allocations: 4.25 kB / 7.134 GB, free: 81.85 MB / 0.4948 GB 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.008152/17.02, allocations: 1.891 MB / 7.136 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/17.02, allocations: 9.766 kB / 7.136 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/17.02, allocations: 38.36 kB / 7.136 GB, free: 81.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/17.02, allocations: 246.8 kB / 7.136 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/17.02, allocations: 26.48 kB / 7.136 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/17.02, allocations: 23.75 kB / 7.136 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/17.02, allocations: 0.4915 MB / 7.136 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/17.02, allocations: 3.875 kB / 7.136 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/17.02, allocations: 10.8 kB / 7.136 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/17.02, allocations: 20.78 kB / 7.136 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/17.02, allocations: 0.8798 MB / 7.137 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/17.03, allocations: 1.809 MB / 7.139 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/17.03, allocations: 317.2 kB / 7.139 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/17.03, allocations: 103.1 kB / 7.139 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/17.04, allocations: 12.95 MB / 7.152 GB, free: 66.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/17.04, allocations: 233 kB / 7.152 GB, free: 66.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 4.49e-06/17.04, allocations: 0 / 7.152 GB, free: 66.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.003106/17.05, allocations: 0.7264 MB / 7.153 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/17.05, allocations: 266.3 kB / 7.153 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/17.05, allocations: 186.5 kB / 7.153 GB, free: 66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/17.05, allocations: 33.83 kB / 7.153 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/17.05, allocations: 266.9 kB / 7.154 GB, free: 65.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/17.05, allocations: 121 kB / 7.154 GB, free: 65.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/17.05, allocations: 9.875 kB / 7.154 GB, free: 65.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.18e-05/17.05, allocations: 336.8 kB / 7.154 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/17.05, allocations: 83.53 kB / 7.154 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/17.05, allocations: 353.2 kB / 7.155 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/17.05, allocations: 152 kB / 7.155 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.229e-06/17.05, allocations: 6.156 kB / 7.155 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001698/17.05, allocations: 494.7 kB / 7.155 GB, free: 65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/17.05, allocations: 11.16 kB / 7.155 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/17.05, allocations: 10.5 kB / 7.155 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/17.05, allocations: 13.5 kB / 7.155 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/17.05, allocations: 180.2 kB / 7.155 GB, free: 65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005374/17.05, allocations: 1.188 MB / 7.157 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/17.05, allocations: 29.34 kB / 7.157 GB, free: 63.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/17.05, allocations: 44.23 kB / 7.157 GB, free: 63.83 MB / 0.4948 GB 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.0001656/17.05, allocations: 154 kB / 7.157 GB, free: 63.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/17.05, allocations: 37 kB / 7.157 GB, free: 63.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/17.05, allocations: 0.5023 MB / 7.157 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/17.05, allocations: 2.969 kB / 7.157 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.759e-06/17.05, allocations: 1.094 kB / 7.157 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/17.05, allocations: 0 / 7.157 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/17.06, allocations: 0.5722 MB / 7.158 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.157e-06/17.06, allocations: 1 kB / 7.158 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/17.06, allocations: 78.05 kB / 7.158 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.894e-06/17.06, allocations: 1.125 kB / 7.158 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/17.06, allocations: 7.438 kB / 7.158 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004294/17.06, allocations: 1.175 MB / 7.159 GB, free: 62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.94e-06/17.06, allocations: 4.938 kB / 7.159 GB, free: 62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/17.06, allocations: 318.3 kB / 7.159 GB, free: 61.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/17.06, allocations: 140.4 kB / 7.16 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/17.06, allocations: 6.953 kB / 7.16 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/17.06, allocations: 15.11 kB / 7.16 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/17.06, allocations: 18.25 kB / 7.16 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/17.06, allocations: 15.44 kB / 7.16 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002232/17.06, allocations: 169.8 kB / 7.16 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.25e-07/17.06, allocations: 1.344 kB / 7.16 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008493/17.07, allocations: 1.94 MB / 7.162 GB, free: 61.32 MB / 0.4948 GB 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.01438/17.08, allocations: 2.729 MB / 7.164 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001424/17.08, allocations: 308.3 kB / 7.165 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.318e-06/17.08, allocations: 0 / 7.165 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/17.08, allocations: 109.9 kB / 7.165 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/17.08, allocations: 51.05 kB / 7.165 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9063/17.99, allocations: 270.6 MB / 7.429 GB, free: 56.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/17.99, allocations: 0.7593 MB / 7.43 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/17.99, allocations: 59.92 kB / 7.43 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.629e-06/17.99, allocations: 0 / 7.43 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.07493/18.07, allocations: 46.96 MB / 7.476 GB, free: 36.32 MB / 0.4948 GB