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.ConstantPropertyLiquidWater.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.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.368/2.368, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004348, allocations: 8 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2811, allocations: 54.86 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6068/0.8879, allocations: 295 MB / 0.6487 GB, free: 3.355 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.8882, allocations: 77.12 kB / 0.6488 GB, free: 3.312 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3198/1.208, allocations: 20.18 MB / 0.6685 GB, free: 190.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.729e-06/1.208, allocations: 0 / 0.6685 GB, free: 190.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/1.208, allocations: 12 kB / 0.6685 GB, free: 190.4 MB / 490.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.001/1.209, allocations: 0.5623 MB / 0.6691 GB, free: 189.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.209, allocations: 12.03 kB / 0.6691 GB, free: 189.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/1.209, allocations: 31.67 kB / 0.6691 GB, free: 189.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/1.21, allocations: 218.8 kB / 0.6693 GB, free: 189.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/1.21, allocations: 127.4 kB / 0.6694 GB, free: 189.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/1.21, allocations: 28 kB / 0.6695 GB, free: 189.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/1.21, allocations: 318.1 kB / 0.6698 GB, free: 188.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.21, allocations: 4 kB / 0.6698 GB, free: 188.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/1.211, allocations: 8 kB / 0.6698 GB, free: 188.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/1.211, allocations: 12 kB / 0.6698 GB, free: 188.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/1.211, allocations: 0.7459 MB / 0.6705 GB, free: 188.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/1.213, allocations: 1.161 MB / 0.6716 GB, free: 187 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/1.213, allocations: 158.5 kB / 0.6718 GB, free: 186.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001994/1.215, allocations: 2.606 MB / 0.6743 GB, free: 183.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/1.215, allocations: 38.5 kB / 0.6744 GB, free: 183.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.655e-06/1.215, allocations: 0 / 0.6744 GB, free: 183.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.000786/1.216, allocations: 247.8 kB / 0.6746 GB, free: 183.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/1.216, allocations: 51.41 kB / 0.6747 GB, free: 183.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.216, allocations: 190.8 kB / 0.6748 GB, free: 183.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/1.216, allocations: 29.7 kB / 0.6749 GB, free: 183.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/1.216, allocations: 268 kB / 0.6751 GB, free: 182.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/1.216, allocations: 59.19 kB / 0.6752 GB, free: 182.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/1.216, allocations: 9.641 kB / 0.6752 GB, free: 182.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/1.216, allocations: 330.8 kB / 0.6755 GB, free: 182.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.216, allocations: 56.77 kB / 0.6756 GB, free: 182.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/1.217, allocations: 304.3 kB / 0.6759 GB, free: 182 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/1.217, allocations: 103.9 kB / 0.676 GB, free: 181.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/1.217, allocations: 4 kB / 0.676 GB, free: 181.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006615/1.218, allocations: 365.7 kB / 0.6763 GB, free: 181.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.218, allocations: 8 kB / 0.6763 GB, free: 181.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.218, allocations: 12 kB / 0.6763 GB, free: 181.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.218, allocations: 15.95 kB / 0.6763 GB, free: 181.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/1.218, allocations: 111.8 kB / 0.6764 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.218, allocations: 19.92 kB / 0.6765 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/1.219, allocations: 20 kB / 0.6765 GB, free: 181.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/1.219, allocations: 27.98 kB / 0.6765 GB, free: 181.3 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.0001327/1.219, allocations: 149.7 kB / 0.6767 GB, free: 181.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/1.219, allocations: 23.72 kB / 0.6767 GB, free: 181.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/1.219, allocations: 180.7 kB / 0.6768 GB, free: 180.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.219, allocations: 7.953 kB / 0.6769 GB, free: 180.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-06/1.219, allocations: 0 / 0.6769 GB, free: 180.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.219, allocations: 0 / 0.6769 GB, free: 180.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/1.22, allocations: 465.3 kB / 0.6773 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-06/1.22, allocations: 4 kB / 0.6773 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/1.22, allocations: 39.91 kB / 0.6773 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.684e-06/1.22, allocations: 3.953 kB / 0.6773 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/1.22, allocations: 8 kB / 0.6774 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/1.22, allocations: 0 / 0.6774 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-06/1.22, allocations: 0 / 0.6774 GB, free: 180.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/1.221, allocations: 256.9 kB / 0.6776 GB, free: 180.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/1.221, allocations: 112.8 kB / 0.6777 GB, free: 179.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/1.221, allocations: 4 kB / 0.6777 GB, free: 179.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/1.221, allocations: 11.98 kB / 0.6777 GB, free: 179.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/1.221, allocations: 19.91 kB / 0.6777 GB, free: 179.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/1.221, allocations: 15.98 kB / 0.6778 GB, free: 179.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001215/1.221, allocations: 140.5 kB / 0.6779 GB, free: 179.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.07e-07/1.221, allocations: 0 / 0.6779 GB, free: 179.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007031/1.222, allocations: 103.9 kB / 0.678 GB, free: 179.7 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.0002573/1.222, allocations: 169.2 kB / 0.6781 GB, free: 179.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003784/1.223, allocations: 184.5 kB / 0.6783 GB, free: 179.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.678e-06/1.223, allocations: 4.062 kB / 0.6783 GB, free: 179.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/1.223, allocations: 39.92 kB / 0.6784 GB, free: 179.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/1.223, allocations: 54.64 kB / 0.6784 GB, free: 179.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.238, allocations: 5.792 MB / 0.6841 GB, free: 173.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/1.238, allocations: 0.7367 MB / 0.6848 GB, free: 172.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/1.239, allocations: 39.42 kB / 0.6848 GB, free: 172.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.5e-06/1.239, allocations: 0 / 0.6848 GB, free: 172.6 MB / 490.7 MB Notification: Performance of Templates: time 0.006307/1.245, allocations: 3.596 MB / 0.6883 GB, free: 169 MB / 490.7 MB