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.39/2.39, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.899e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6092/0.9318, allocations: 294.9 MB / 0.644 GB, free: 38.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.932, allocations: 72.02 kB / 0.6441 GB, free: 38.89 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06522/0.9972, allocations: 20.15 MB / 0.6638 GB, free: 22.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.9973, allocations: 4 kB / 0.6638 GB, free: 22.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.9973, allocations: 4 kB / 0.6638 GB, free: 22.37 MB / 458.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.001002/0.9983, allocations: 0.5506 MB / 0.6643 GB, free: 21.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9984, allocations: 8.031 kB / 0.6643 GB, free: 21.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.9985, allocations: 27.77 kB / 0.6643 GB, free: 21.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.9988, allocations: 225.6 kB / 0.6645 GB, free: 21.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.999, allocations: 130.2 kB / 0.6647 GB, free: 21.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/0.999, allocations: 23.12 kB / 0.6647 GB, free: 21.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.9995, allocations: 310.8 kB / 0.665 GB, free: 21.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.9995, allocations: 0 / 0.665 GB, free: 21.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.9996, allocations: 15.25 kB / 0.665 GB, free: 21.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.9996, allocations: 15.94 kB / 0.665 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/1, allocations: 0.7311 MB / 0.6657 GB, free: 20.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/1.002, allocations: 1.162 MB / 0.6669 GB, free: 19.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/1.002, allocations: 152.5 kB / 0.667 GB, free: 19.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/1.002, allocations: 70.34 kB / 0.6671 GB, free: 19.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/1.005, allocations: 2.884 MB / 0.6699 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/1.005, allocations: 38.33 kB / 0.6699 GB, free: 15.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 3.089e-06/1.005, allocations: 4 kB / 0.6699 GB, free: 15.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007525/1.006, allocations: 203.3 kB / 0.6701 GB, free: 15.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/1.006, allocations: 55.41 kB / 0.6702 GB, free: 15.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.006, allocations: 184.2 kB / 0.6704 GB, free: 15.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/1.006, allocations: 29.27 kB / 0.6704 GB, free: 15.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/1.006, allocations: 279.7 kB / 0.6707 GB, free: 15.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/1.006, allocations: 54.14 kB / 0.6707 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/1.006, allocations: 7.188 kB / 0.6707 GB, free: 15.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/1.006, allocations: 325.8 kB / 0.671 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/1.006, allocations: 51.42 kB / 0.6711 GB, free: 14.72 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.007, allocations: 302.2 kB / 0.6714 GB, free: 14.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/1.007, allocations: 101.1 kB / 0.6715 GB, free: 14.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.798e-06/1.007, allocations: 4 kB / 0.6715 GB, free: 14.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006513/1.007, allocations: 367.6 kB / 0.6718 GB, free: 13.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.007, allocations: 13.83 kB / 0.6718 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.007, allocations: 8 kB / 0.6718 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/1.008, allocations: 19.98 kB / 0.6719 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/1.008, allocations: 111.4 kB / 0.672 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.008, allocations: 16.41 kB / 0.672 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/1.008, allocations: 18.94 kB / 0.672 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/1.008, allocations: 31.73 kB / 0.672 GB, free: 13.71 MB / 458.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 () * 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.922e-05/1.009, allocations: 138.9 kB / 0.6722 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/1.009, allocations: 19.81 kB / 0.6722 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/1.009, allocations: 172.2 kB / 0.6723 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.009, allocations: 7.938 kB / 0.6723 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.009, allocations: 0 / 0.6723 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.009, allocations: 7.984 kB / 0.6724 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/1.01, allocations: 448.7 kB / 0.6728 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-06/1.01, allocations: 3.953 kB / 0.6728 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/1.01, allocations: 43.91 kB / 0.6728 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.01, allocations: 0 / 0.6728 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.01, allocations: 7.297 kB / 0.6728 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/1.01, allocations: 4 kB / 0.6728 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.01, allocations: 4.062 kB / 0.6728 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/1.011, allocations: 255.4 kB / 0.6731 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/1.011, allocations: 108.1 kB / 0.6732 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/1.011, allocations: 7.984 kB / 0.6732 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/1.011, allocations: 11.94 kB / 0.6732 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/1.011, allocations: 11.98 kB / 0.6732 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/1.011, allocations: 7.984 kB / 0.6732 GB, free: 12.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000121/1.011, allocations: 147.6 kB / 0.6734 GB, free: 12.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.48e-07/1.011, allocations: 0 / 0.6734 GB, free: 12.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000688/1.012, allocations: 99 kB / 0.6735 GB, free: 12.26 MB / 458.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 () * 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.0002926/1.012, allocations: 190.1 kB / 0.6736 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003734/1.013, allocations: 187.8 kB / 0.6738 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.536e-06/1.013, allocations: 0 / 0.6738 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/1.013, allocations: 35.5 kB / 0.6739 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/1.013, allocations: 56.27 kB / 0.6739 GB, free: 11.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.029, allocations: 5.467 MB / 0.6792 GB, free: 7.547 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/1.029, allocations: 0.7289 MB / 0.68 GB, free: 6.785 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/1.029, allocations: 33.92 kB / 0.68 GB, free: 6.754 MB / 458.7 MB Notification: Performance of SimCode: time 2.973e-06/1.029, allocations: 0 / 0.68 GB, free: 6.754 MB / 458.7 MB Notification: Performance of Templates: time 0.006464/1.036, allocations: 3.61 MB / 0.6835 GB, free: 3.16 MB / 458.7 MB