Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08384, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.584/6.667, allocations: 2.901 GB / 3.203 GB, free: 84.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/6.668, allocations: 90.44 kB / 3.203 GB, free: 84.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657/10.32, allocations: 0.9808 GB / 4.183 GB, free: 40.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/10.32, allocations: 7.938 kB / 4.183 GB, free: 40.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/10.32, allocations: 4 kB / 4.183 GB, free: 40.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004222/10.33, allocations: 1.224 MB / 4.185 GB, free: 39.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/10.33, allocations: 12.03 kB / 4.185 GB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/10.33, allocations: 43.3 kB / 4.185 GB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/10.33, allocations: 277.3 kB / 4.185 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/10.33, allocations: 23.52 kB / 4.185 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/10.33, allocations: 24 kB / 4.185 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/10.33, allocations: 294 kB / 4.185 GB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/10.33, allocations: 4 kB / 4.185 GB, free: 39.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/10.33, allocations: 12 kB / 4.185 GB, free: 39.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/10.33, allocations: 11.95 kB / 4.185 GB, free: 39.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/10.33, allocations: 199 kB / 4.185 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/10.33, allocations: 1.433 MB / 4.187 GB, free: 37.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/10.33, allocations: 174.6 kB / 4.187 GB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/10.33, allocations: 4.188 kB / 4.187 GB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/10.33, allocations: 34.75 kB / 4.187 GB, free: 37.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.09e-06/10.33, allocations: 4 kB / 4.187 GB, free: 37.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002773/10.34, allocations: 1.004 MB / 4.188 GB, free: 36.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/10.34, allocations: 51.41 kB / 4.188 GB, free: 36.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/10.34, allocations: 232.2 kB / 4.188 GB, free: 35.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/10.34, allocations: 29.7 kB / 4.188 GB, free: 35.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/10.34, allocations: 240.8 kB / 4.189 GB, free: 35.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/10.34, allocations: 86.14 kB / 4.189 GB, free: 35.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/10.34, allocations: 8 kB / 4.189 GB, free: 35.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/10.34, allocations: 326.5 kB / 4.189 GB, free: 35.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/10.34, allocations: 86.97 kB / 4.189 GB, free: 35.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/10.34, allocations: 170.8 kB / 4.189 GB, free: 35.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/10.34, allocations: 117.4 kB / 4.189 GB, free: 34.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.774e-06/10.34, allocations: 0 / 4.189 GB, free: 34.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008323/10.34, allocations: 369.5 kB / 4.19 GB, free: 34.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/10.34, allocations: 11.94 kB / 4.19 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/10.34, allocations: 4 kB / 4.19 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/10.34, allocations: 65.3 kB / 4.19 GB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/10.34, allocations: 71.89 kB / 4.19 GB, free: 34.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/10.34, allocations: 2.687 MB / 4.192 GB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/10.34, allocations: 23.47 kB / 4.193 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/10.34, allocations: 12 kB / 4.193 GB, free: 31.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002026/10.34, allocations: 161.4 kB / 4.193 GB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/10.34, allocations: 27.72 kB / 4.193 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/10.34, allocations: 34.03 kB / 4.193 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-06/10.34, allocations: 7.938 kB / 4.193 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/10.34, allocations: 0 / 4.193 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006548/10.34, allocations: 0.5649 MB / 4.193 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/10.34, allocations: 0.7022 MB / 4.194 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.202e-06/10.34, allocations: 1.562 kB / 4.194 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/10.34, allocations: 47.83 kB / 4.194 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/10.34, allocations: 60.25 kB / 4.194 GB, free: 29.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/10.34, allocations: 4 kB / 4.194 GB, free: 29.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/10.35, allocations: 1.401 MB / 4.195 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.783e-06/10.35, allocations: 4.031 kB / 4.195 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/10.35, allocations: 481 kB / 4.196 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/10.35, allocations: 104.3 kB / 4.196 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/10.35, allocations: 4 kB / 4.196 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/10.35, allocations: 19.66 kB / 4.196 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/10.35, allocations: 19.02 kB / 4.196 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/10.35, allocations: 11.7 kB / 4.196 GB, free: 27.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002124/10.35, allocations: 183.9 kB / 4.196 GB, free: 27.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.86e-07/10.35, allocations: 0 / 4.196 GB, free: 27.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000734/10.35, allocations: 118.7 kB / 4.196 GB, free: 27.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003735/10.35, allocations: 298.2 kB / 4.197 GB, free: 27.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008372/10.35, allocations: 471.9 kB / 4.197 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/10.35, allocations: 0 / 4.197 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004152/10.35, allocations: 241.3 kB / 4.197 GB, free: 26.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/10.35, allocations: 156.6 kB / 4.197 GB, free: 26.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/10.35, allocations: 0.8523 MB / 4.198 GB, free: 25.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/10.35, allocations: 0.7746 MB / 4.199 GB, free: 24.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/10.35, allocations: 27.44 kB / 4.199 GB, free: 24.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.6e-06/10.35, allocations: 0 / 4.199 GB, free: 24.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01045/10.36, allocations: 7.164 MB / 4.206 GB, free: 20.88 MB / 410.7 MB