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/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.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.51/2.51, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.051e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8984/1.181, allocations: 294.3 MB / 0.637 GB, free: 185.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/1.182, allocations: 73.86 kB / 0.6371 GB, free: 185.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06328/1.245, allocations: 20 MB / 0.6566 GB, free: 169.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.647e-06/1.245, allocations: 0 / 0.6566 GB, free: 169.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/1.245, allocations: 8 kB / 0.6566 GB, free: 169.7 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.0009586/1.246, allocations: 0.5571 MB / 0.6572 GB, free: 169.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.246, allocations: 8.031 kB / 0.6572 GB, free: 169.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/1.246, allocations: 27.77 kB / 0.6572 GB, free: 169.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/1.246, allocations: 230.6 kB / 0.6574 GB, free: 168.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.247, allocations: 127.4 kB / 0.6575 GB, free: 168.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/1.247, allocations: 12 kB / 0.6576 GB, free: 168.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008192/1.247, allocations: 0.7035 MB / 0.6582 GB, free: 168 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/1.248, allocations: 286.6 kB / 0.6585 GB, free: 167.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.248, allocations: 0 / 0.6585 GB, free: 167.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.248, allocations: 0 / 0.6585 GB, free: 167.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/1.248, allocations: 19.94 kB / 0.6585 GB, free: 167.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/1.25, allocations: 3.18 MB / 0.6616 GB, free: 163.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/1.251, allocations: 54.58 kB / 0.6617 GB, free: 163.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/1.251, allocations: 20.86 kB / 0.6617 GB, free: 163.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/1.251, allocations: 166.2 kB / 0.6619 GB, free: 163.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/1.251, allocations: 42.5 kB / 0.6619 GB, free: 163.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 3.376e-06/1.251, allocations: 0 / 0.6619 GB, free: 163.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006593/1.251, allocations: 148.9 kB / 0.662 GB, free: 163.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/1.252, allocations: 51.41 kB / 0.6621 GB, free: 163.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/1.252, allocations: 199.7 kB / 0.6623 GB, free: 163.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.252, allocations: 29.7 kB / 0.6623 GB, free: 163.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.252, allocations: 300.9 kB / 0.6626 GB, free: 162.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/1.252, allocations: 35.55 kB / 0.6626 GB, free: 162.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/1.252, allocations: 0 / 0.6626 GB, free: 162.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.107e-05/1.252, allocations: 330.8 kB / 0.663 GB, free: 162.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/1.252, allocations: 32.88 kB / 0.663 GB, free: 162.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/1.252, allocations: 305.2 kB / 0.6633 GB, free: 162 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/1.253, allocations: 107.8 kB / 0.6634 GB, free: 161.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.558e-06/1.253, allocations: 4 kB / 0.6634 GB, free: 161.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008564/1.254, allocations: 321.1 kB / 0.6637 GB, free: 161.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.254, allocations: 8 kB / 0.6637 GB, free: 161.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.254, allocations: 13.11 kB / 0.6637 GB, free: 161.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/1.254, allocations: 12 kB / 0.6637 GB, free: 161.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/1.254, allocations: 111.8 kB / 0.6638 GB, free: 161.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/1.254, allocations: 31.81 kB / 0.6639 GB, free: 161.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/1.255, allocations: 11.98 kB / 0.6639 GB, free: 161.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/1.255, allocations: 28 kB / 0.6639 GB, free: 161.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 0.0001057/1.255, allocations: 120.8 kB / 0.664 GB, free: 161.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/1.255, allocations: 19.81 kB / 0.664 GB, free: 161.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/1.255, allocations: 96.34 kB / 0.6641 GB, free: 161.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.255, allocations: 4 kB / 0.6641 GB, free: 161.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-06/1.255, allocations: 0 / 0.6641 GB, free: 161.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.289e-06/1.255, allocations: 7.938 kB / 0.6641 GB, free: 161.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/1.256, allocations: 372.7 kB / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.256, allocations: 4 kB / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/1.256, allocations: 23.92 kB / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.706e-06/1.256, allocations: 4.062 kB / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.256, allocations: 0 / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.357e-06/1.256, allocations: 8.125 kB / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.943e-06/1.256, allocations: 3.953 kB / 0.6645 GB, free: 160.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/1.256, allocations: 216.5 kB / 0.6647 GB, free: 160.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.257, allocations: 116.8 kB / 0.6648 GB, free: 160.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/1.257, allocations: 4 kB / 0.6649 GB, free: 160.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/1.257, allocations: 8.078 kB / 0.6649 GB, free: 160.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/1.257, allocations: 11.88 kB / 0.6649 GB, free: 160.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/1.257, allocations: 11.98 kB / 0.6649 GB, free: 160.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001166/1.257, allocations: 140.4 kB / 0.665 GB, free: 160.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.09e-07/1.257, allocations: 0 / 0.665 GB, free: 160.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007314/1.258, allocations: 99.92 kB / 0.6651 GB, free: 160 MB / 474.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 (8): * Single equations (assignments): 7 * 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.0002805/1.258, allocations: 170.8 kB / 0.6653 GB, free: 159.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003118/1.258, allocations: 141 kB / 0.6654 GB, free: 159.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.258, allocations: 0 / 0.6654 GB, free: 159.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/1.259, allocations: 23.98 kB / 0.6654 GB, free: 159.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/1.259, allocations: 25.12 kB / 0.6655 GB, free: 159.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/1.259, allocations: 218.2 kB / 0.6657 GB, free: 159.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/1.259, allocations: 0.7287 MB / 0.6664 GB, free: 158.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/1.26, allocations: 23.44 kB / 0.6664 GB, free: 158.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.721e-06/1.26, allocations: 0 / 0.6664 GB, free: 158.6 MB / 474.7 MB Notification: Performance of Templates: time 0.006351/1.266, allocations: 3.49 MB / 0.6698 GB, free: 155.1 MB / 474.7 MB