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.LinearWater_pT_Ambient.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadModel(ModelicaTest): time 2.256/2.256, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.413e-05, allocations: 3.938 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.565/7.832, allocations: 2.908 GB / 3.258 GB, free: 90.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/7.832, allocations: 69.86 kB / 3.258 GB, free: 90.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8543/8.686, allocations: 208.1 MB / 3.461 GB, free: 96.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.443e-06/8.686, allocations: 0 / 3.461 GB, free: 96.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/8.686, allocations: 6.5 kB / 3.461 GB, free: 96.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004279/8.691, allocations: 1.15 MB / 3.462 GB, free: 96.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/8.691, allocations: 10.78 kB / 3.462 GB, free: 96.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/8.691, allocations: 30.78 kB / 3.462 GB, free: 96.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/8.691, allocations: 226.4 kB / 3.462 GB, free: 95.99 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/8.691, allocations: 114.9 kB / 3.462 GB, free: 95.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/8.691, allocations: 15.83 kB / 3.462 GB, free: 95.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009108/8.692, allocations: 0.7119 MB / 3.463 GB, free: 95.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/8.693, allocations: 282.8 kB / 3.463 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/8.693, allocations: 3.969 kB / 3.463 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/8.693, allocations: 0 / 3.463 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/8.693, allocations: 7.844 kB / 3.463 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/8.696, allocations: 3.504 MB / 3.467 GB, free: 92.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/8.696, allocations: 43.33 kB / 3.467 GB, free: 92.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/8.696, allocations: 24.42 kB / 3.467 GB, free: 92.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/8.697, allocations: 445.5 kB / 3.467 GB, free: 91.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/8.697, allocations: 38.69 kB / 3.467 GB, free: 91.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 3.011e-06/8.697, allocations: 0 / 3.467 GB, free: 91.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002137/8.697, allocations: 60.75 kB / 3.467 GB, free: 91.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/8.697, allocations: 51.41 kB / 3.467 GB, free: 91.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/8.697, allocations: 216.1 kB / 3.468 GB, free: 91.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/8.697, allocations: 25.7 kB / 3.468 GB, free: 91.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/8.697, allocations: 316 kB / 3.468 GB, free: 91.37 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/8.697, allocations: 19.02 kB / 3.468 GB, free: 91.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/8.697, allocations: 7.188 kB / 3.468 GB, free: 91.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/8.697, allocations: 324 kB / 3.468 GB, free: 91.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/8.698, allocations: 36.5 kB / 3.468 GB, free: 91.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/8.698, allocations: 339 kB / 3.469 GB, free: 90.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/8.698, allocations: 117.3 kB / 3.469 GB, free: 90.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.761e-06/8.698, allocations: 7.688 kB / 3.469 GB, free: 90.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000896/8.699, allocations: 331 kB / 3.469 GB, free: 90.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/8.699, allocations: 7.844 kB / 3.469 GB, free: 90.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/8.699, allocations: 15.44 kB / 3.469 GB, free: 90.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/8.699, allocations: 15.38 kB / 3.469 GB, free: 90.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/8.7, allocations: 105.2 kB / 3.469 GB, free: 90.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/8.7, allocations: 31.06 kB / 3.469 GB, free: 90.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/8.7, allocations: 45.59 kB / 3.469 GB, free: 90.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/8.7, allocations: 33.97 kB / 3.469 GB, free: 90.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/8.7, allocations: 126.9 kB / 3.469 GB, free: 90.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/8.7, allocations: 19.56 kB / 3.469 GB, free: 90.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/8.7, allocations: 17.48 kB / 3.469 GB, free: 90.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/8.7, allocations: 3.562 kB / 3.469 GB, free: 90.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.425e-06/8.7, allocations: 3.719 kB / 3.469 GB, free: 90.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-06/8.7, allocations: 7.578 kB / 3.469 GB, free: 90.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/8.701, allocations: 168.7 kB / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-06/8.701, allocations: 0 / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-06/8.701, allocations: 0 / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.781e-06/8.701, allocations: 3.938 kB / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-06/8.701, allocations: 0 / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/8.701, allocations: 0 / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-06/8.701, allocations: 3.688 kB / 3.47 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/8.701, allocations: 150.2 kB / 3.47 GB, free: 90.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/8.701, allocations: 116.8 kB / 3.47 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/8.701, allocations: 0 / 3.47 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/8.701, allocations: 3.906 kB / 3.47 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/8.701, allocations: 0 / 3.47 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/8.701, allocations: 0 / 3.47 GB, free: 89.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001228/8.701, allocations: 159.4 kB / 3.47 GB, free: 89.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.14e-07/8.701, allocations: 0 / 3.47 GB, free: 89.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008154/8.702, allocations: 101.8 kB / 3.47 GB, free: 89.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/8.703, allocations: 301.1 kB / 3.47 GB, free: 89.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/8.703, allocations: 127.3 kB / 3.471 GB, free: 89.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.521e-06/8.703, allocations: 0 / 3.471 GB, free: 89.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/8.703, allocations: 0 / 3.471 GB, free: 89.74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/8.703, allocations: 24.47 kB / 3.471 GB, free: 89.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2524/8.956, allocations: 95.64 MB / 3.564 GB, free: 37.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/8.956, allocations: 0.7209 MB / 3.565 GB, free: 37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/8.956, allocations: 35.42 kB / 3.565 GB, free: 36.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.818e-06/8.956, allocations: 0 / 3.565 GB, free: 36.97 MB / 474.7 MB Notification: Performance of Templates: time 0.006801/8.963, allocations: 4.026 MB / 3.569 GB, free: 32.95 MB / 474.7 MB