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.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 209.3 MB / 224.9 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007665/0.0007667, allocations: 15.98 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1391, allocations: 48.7 MB / 331.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.835/0.9741, allocations: 288.6 MB / 0.6054 GB, free: 22.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.9744, allocations: 70.22 kB / 0.6054 GB, free: 22.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06457/1.039, allocations: 20.19 MB / 0.6252 GB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.407e-06/1.039, allocations: 0 / 0.6252 GB, free: 4.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/1.039, allocations: 4 kB / 0.6252 GB, free: 4.508 MB / 410.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.0009929/1.04, allocations: 0.558 MB / 0.6257 GB, free: 3.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.04, allocations: 11.97 kB / 0.6257 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/1.04, allocations: 27.72 kB / 0.6257 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/1.041, allocations: 238.6 kB / 0.626 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.041, allocations: 123.4 kB / 0.6261 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/1.041, allocations: 24 kB / 0.6261 GB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/1.041, allocations: 327.6 kB / 0.6264 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.041, allocations: 0 / 0.6264 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/1.041, allocations: 12 kB / 0.6264 GB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/1.041, allocations: 8 kB / 0.6264 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008318/1.042, allocations: 0.7313 MB / 0.6272 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/1.044, allocations: 1.171 MB / 0.6283 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/1.044, allocations: 146.9 kB / 0.6284 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002936/1.047, allocations: 2.619 MB / 0.631 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.047, allocations: 34.56 kB / 0.631 GB, free: 13.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/1.047, allocations: 0 / 0.631 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009298/1.048, allocations: 237.4 kB / 0.6313 GB, free: 13.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.048, allocations: 59.41 kB / 0.6313 GB, free: 13.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/1.048, allocations: 186.7 kB / 0.6315 GB, free: 13.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/1.048, allocations: 29.7 kB / 0.6315 GB, free: 13.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/1.049, allocations: 273.4 kB / 0.6318 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/1.049, allocations: 59.19 kB / 0.6318 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/1.049, allocations: 8 kB / 0.6318 GB, free: 12.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/1.049, allocations: 330.8 kB / 0.6322 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/1.049, allocations: 48.84 kB / 0.6322 GB, free: 12.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/1.049, allocations: 312.3 kB / 0.6325 GB, free: 12.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/1.05, allocations: 99.86 kB / 0.6326 GB, free: 11.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.122e-06/1.05, allocations: 4 kB / 0.6326 GB, free: 11.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008223/1.05, allocations: 368.8 kB / 0.633 GB, free: 11.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.05, allocations: 9.594 kB / 0.633 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.051, allocations: 8 kB / 0.633 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/1.051, allocations: 20 kB / 0.633 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/1.051, allocations: 107.8 kB / 0.6331 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/1.051, allocations: 15.94 kB / 0.6331 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/1.052, allocations: 27.89 kB / 0.6331 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/1.052, allocations: 27.94 kB / 0.6332 GB, free: 11.41 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0002047/1.052, allocations: 153 kB / 0.6333 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/1.052, allocations: 15.81 kB / 0.6333 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/1.052, allocations: 188.9 kB / 0.6335 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.053, allocations: 0 / 0.6335 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-06/1.053, allocations: 3.938 kB / 0.6335 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-06/1.053, allocations: 0 / 0.6335 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/1.053, allocations: 459.9 kB / 0.6339 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.053, allocations: 7.875 kB / 0.634 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/1.054, allocations: 44.03 kB / 0.634 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.054, allocations: 4 kB / 0.634 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.054, allocations: 0 / 0.634 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.499e-06/1.054, allocations: 4 kB / 0.634 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.201e-06/1.054, allocations: 3.984 kB / 0.634 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/1.054, allocations: 252.5 kB / 0.6343 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.054, allocations: 116.8 kB / 0.6344 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/1.054, allocations: 7.953 kB / 0.6344 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/1.055, allocations: 15.89 kB / 0.6344 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/1.055, allocations: 11.98 kB / 0.6344 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/1.055, allocations: 8.125 kB / 0.6344 GB, free: 10.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000187/1.055, allocations: 148.5 kB / 0.6345 GB, free: 9.867 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.055, allocations: 0 / 0.6345 GB, free: 9.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000759/1.056, allocations: 100 kB / 0.6346 GB, free: 9.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0003601/1.056, allocations: 183 kB / 0.6348 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/1.057, allocations: 173.6 kB / 0.635 GB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.27e-06/1.057, allocations: 0 / 0.635 GB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/1.057, allocations: 43.91 kB / 0.635 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/1.057, allocations: 49.2 kB / 0.6351 GB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/1.075, allocations: 5.795 MB / 0.6407 GB, free: 3.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.076, allocations: 0.7331 MB / 0.6414 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.076, allocations: 39.42 kB / 0.6415 GB, free: 2.625 MB / 426.7 MB Notification: Performance of SimCode: time 1.791e-06/1.076, allocations: 0 / 0.6415 GB, free: 2.625 MB / 426.7 MB Notification: Performance of Templates: time 0.228/1.304, allocations: 3.595 MB / 0.645 GB, free: 137.6 MB / 426.7 MB