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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.212/2.212, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.498e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.27, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6274/0.8974, allocations: 287.9 MB / 0.5936 GB, free: 3.801 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.8977, allocations: 68.53 kB / 0.5937 GB, free: 3.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2893/1.187, allocations: 20 MB / 0.6132 GB, free: 161.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.968e-06/1.187, allocations: 0 / 0.6132 GB, free: 161.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/1.187, allocations: 4 kB / 0.6132 GB, free: 161.4 MB / 426.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.0009766/1.188, allocations: 0.5605 MB / 0.6138 GB, free: 160.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.188, allocations: 12.03 kB / 0.6138 GB, free: 160.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/1.188, allocations: 19.81 kB / 0.6138 GB, free: 160.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/1.189, allocations: 234.5 kB / 0.614 GB, free: 160.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.189, allocations: 123.3 kB / 0.6142 GB, free: 160.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/1.189, allocations: 15.94 kB / 0.6142 GB, free: 160.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008637/1.19, allocations: 0.7074 MB / 0.6149 GB, free: 159.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/1.19, allocations: 282.6 kB / 0.6151 GB, free: 159.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.19, allocations: 0 / 0.6151 GB, free: 159.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/1.19, allocations: 4 kB / 0.6151 GB, free: 159.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/1.19, allocations: 4 kB / 0.6151 GB, free: 159.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/1.193, allocations: 3.192 MB / 0.6183 GB, free: 155.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/1.193, allocations: 46.61 kB / 0.6183 GB, free: 155.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/1.193, allocations: 24.89 kB / 0.6183 GB, free: 155.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/1.193, allocations: 166.2 kB / 0.6185 GB, free: 155.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/1.193, allocations: 38.5 kB / 0.6185 GB, free: 155.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 3.644e-06/1.193, allocations: 0 / 0.6185 GB, free: 155.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006863/1.194, allocations: 152.6 kB / 0.6187 GB, free: 155.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/1.194, allocations: 59.34 kB / 0.6187 GB, free: 155 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/1.194, allocations: 199.7 kB / 0.6189 GB, free: 154.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.194, allocations: 25.7 kB / 0.6189 GB, free: 154.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/1.194, allocations: 292.9 kB / 0.6192 GB, free: 154.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/1.194, allocations: 39.55 kB / 0.6193 GB, free: 154.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/1.194, allocations: 0 / 0.6193 GB, free: 154.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/1.194, allocations: 334.8 kB / 0.6196 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/1.195, allocations: 36.88 kB / 0.6196 GB, free: 154.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/1.195, allocations: 301.2 kB / 0.6199 GB, free: 153.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/1.195, allocations: 115.8 kB / 0.62 GB, free: 153.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.416e-06/1.195, allocations: 0 / 0.62 GB, free: 153.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008162/1.196, allocations: 325.5 kB / 0.6203 GB, free: 153.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.196, allocations: 12 kB / 0.6203 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.196, allocations: 8 kB / 0.6203 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/1.196, allocations: 19.94 kB / 0.6204 GB, free: 153.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/1.197, allocations: 107.8 kB / 0.6205 GB, free: 153.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.197, allocations: 15.94 kB / 0.6205 GB, free: 153.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/1.197, allocations: 16.36 kB / 0.6205 GB, free: 153.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.197, allocations: 28 kB / 0.6205 GB, free: 153 MB / 426.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 9.836e-05/1.197, allocations: 124.8 kB / 0.6206 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/1.197, allocations: 15.81 kB / 0.6207 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/1.198, allocations: 112.6 kB / 0.6208 GB, free: 152.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.198, allocations: 0 / 0.6208 GB, free: 152.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-06/1.198, allocations: 0 / 0.6208 GB, free: 152.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-06/1.198, allocations: 7.984 kB / 0.6208 GB, free: 152.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/1.198, allocations: 384.7 kB / 0.6211 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-06/1.198, allocations: 0 / 0.6211 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/1.198, allocations: 19.98 kB / 0.6212 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.619e-06/1.198, allocations: 4 kB / 0.6212 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.198, allocations: 0 / 0.6212 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.822e-06/1.198, allocations: 0 / 0.6212 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.198, allocations: 4.312 kB / 0.6212 GB, free: 152.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/1.199, allocations: 224.4 kB / 0.6214 GB, free: 152.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/1.199, allocations: 112.9 kB / 0.6215 GB, free: 151.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/1.199, allocations: 0 / 0.6215 GB, free: 151.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/1.199, allocations: 11.98 kB / 0.6215 GB, free: 151.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/1.199, allocations: 7.953 kB / 0.6215 GB, free: 151.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.199, allocations: 7.984 kB / 0.6215 GB, free: 151.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001147/1.199, allocations: 140.5 kB / 0.6216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.199, allocations: 0 / 0.6216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007137/1.2, allocations: 87.98 kB / 0.6217 GB, free: 151.7 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 () * 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.0002739/1.2, allocations: 183 kB / 0.6219 GB, free: 151.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/1.201, allocations: 137.2 kB / 0.622 GB, free: 151.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.494e-06/1.201, allocations: 1.062 kB / 0.622 GB, free: 151.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/1.201, allocations: 23.92 kB / 0.6221 GB, free: 151.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/1.201, allocations: 24.56 kB / 0.6221 GB, free: 151.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/1.201, allocations: 221.7 kB / 0.6223 GB, free: 151.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/1.202, allocations: 0.7287 MB / 0.623 GB, free: 150.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/1.202, allocations: 35.42 kB / 0.623 GB, free: 150.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.768e-06/1.202, allocations: 0 / 0.623 GB, free: 150.3 MB / 426.7 MB Notification: Performance of Templates: time 0.006264/1.208, allocations: 3.497 MB / 0.6265 GB, free: 146.8 MB / 426.7 MB