Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 234.9 MB / 251.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000612/0.0006124, allocations: 8 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3739, allocations: 54.86 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7399/1.114, allocations: 295 MB / 0.6492 GB, free: 1.934 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.114, allocations: 86.2 kB / 0.6493 GB, free: 1.887 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.078/1.192, allocations: 20.18 MB / 0.669 GB, free: 1.301 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.192, allocations: 0 / 0.669 GB, free: 1.301 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/1.192, allocations: 8 kB / 0.669 GB, free: 1.293 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.001359/1.194, allocations: 0.5644 MB / 0.6696 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.194, allocations: 8.031 kB / 0.6696 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/1.194, allocations: 31.67 kB / 0.6696 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/1.194, allocations: 222.2 kB / 0.6698 GB, free: 428 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/1.194, allocations: 134.5 kB / 0.6699 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/1.195, allocations: 27.36 kB / 0.67 GB, free: 256 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/1.195, allocations: 323.5 kB / 0.6703 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.195, allocations: 0 / 0.6703 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/1.195, allocations: 15.5 kB / 0.6703 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/1.195, allocations: 7.984 kB / 0.6703 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/1.197, allocations: 0.7356 MB / 0.671 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/1.199, allocations: 1.162 MB / 0.6722 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/1.199, allocations: 155.1 kB / 0.6723 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003203/1.202, allocations: 2.614 MB / 0.6749 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.202, allocations: 42.38 kB / 0.6749 GB, free: 11.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/1.202, allocations: 0 / 0.6749 GB, free: 11.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009797/1.203, allocations: 235.7 kB / 0.6751 GB, free: 10.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.203, allocations: 55.41 kB / 0.6752 GB, free: 10.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/1.204, allocations: 204.3 kB / 0.6754 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.204, allocations: 25.7 kB / 0.6754 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/1.204, allocations: 276.5 kB / 0.6757 GB, free: 10.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/1.204, allocations: 61.81 kB / 0.6757 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/1.204, allocations: 7.312 kB / 0.6757 GB, free: 10.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/1.204, allocations: 329.9 kB / 0.676 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.204, allocations: 51.33 kB / 0.6761 GB, free: 9.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/1.205, allocations: 312.5 kB / 0.6764 GB, free: 9.488 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/1.205, allocations: 96.73 kB / 0.6765 GB, free: 9.418 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.205, allocations: 4 kB / 0.6765 GB, free: 9.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008809/1.206, allocations: 365.2 kB / 0.6768 GB, free: 9.105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.206, allocations: 15.94 kB / 0.6768 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.206, allocations: 11.95 kB / 0.6769 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/1.206, allocations: 19.94 kB / 0.6769 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/1.207, allocations: 107.4 kB / 0.677 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/1.207, allocations: 15.94 kB / 0.677 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/1.207, allocations: 23.36 kB / 0.677 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/1.207, allocations: 23.25 kB / 0.677 GB, free: 8.906 MB / 490.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.000191/1.207, allocations: 152.7 kB / 0.6772 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/1.207, allocations: 23.7 kB / 0.6772 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/1.208, allocations: 178.2 kB / 0.6774 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.208, allocations: 3.953 kB / 0.6774 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.208, allocations: 0 / 0.6774 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.208, allocations: 3.938 kB / 0.6774 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/1.209, allocations: 461.3 kB / 0.6778 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.209, allocations: 0 / 0.6778 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/1.209, allocations: 36.88 kB / 0.6779 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.209, allocations: 0 / 0.6779 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.209, allocations: 5.75 kB / 0.6779 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.209, allocations: 128 / 0.6779 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.209, allocations: 7.938 kB / 0.6779 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/1.21, allocations: 231 kB / 0.6781 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.21, allocations: 116.1 kB / 0.6782 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/1.21, allocations: 9.391 kB / 0.6782 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/1.21, allocations: 9.547 kB / 0.6782 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/1.21, allocations: 13.53 kB / 0.6782 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/1.21, allocations: 9.688 kB / 0.6782 GB, free: 7.676 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000193/1.211, allocations: 147.7 kB / 0.6784 GB, free: 7.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.211, allocations: 0 / 0.6784 GB, free: 7.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007156/1.211, allocations: 100.2 kB / 0.6785 GB, free: 7.461 MB / 490.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.0003783/1.212, allocations: 174.6 kB / 0.6786 GB, free: 7.285 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004684/1.212, allocations: 177.4 kB / 0.6788 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.212, allocations: 0 / 0.6788 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/1.212, allocations: 43.34 kB / 0.6789 GB, free: 7.102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/1.213, allocations: 51.89 kB / 0.6789 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.233, allocations: 5.818 MB / 0.6846 GB, free: 1.953 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/1.233, allocations: 0.7328 MB / 0.6853 GB, free: 1.188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1.233, allocations: 31.42 kB / 0.6853 GB, free: 1.156 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/1.233, allocations: 3.938 kB / 0.6853 GB, free: 1.152 MB / 490.7 MB Notification: Performance of Templates: time 0.3127/1.546, allocations: 3.591 MB / 0.6888 GB, free: 180.5 MB / 490.7 MB