Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.998/1.998, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 44.49 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.755/8.857, allocations: 2.901 GB / 3.203 GB, free: 98.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/8.857, allocations: 95.84 kB / 3.203 GB, free: 98.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368/13.23, allocations: 0.9808 GB / 4.184 GB, free: 54.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/13.23, allocations: 0 / 4.184 GB, free: 54.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/13.23, allocations: 3.594 kB / 4.184 GB, free: 54.38 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.005577/13.23, allocations: 1.222 MB / 4.185 GB, free: 53.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/13.23, allocations: 7.25 kB / 4.185 GB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/13.23, allocations: 49.36 kB / 4.185 GB, free: 53.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/13.23, allocations: 271.3 kB / 4.185 GB, free: 53.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/13.23, allocations: 20.81 kB / 4.185 GB, free: 53.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/13.23, allocations: 20.81 kB / 4.185 GB, free: 53.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/13.23, allocations: 303 kB / 4.186 GB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/13.23, allocations: 0 / 4.186 GB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/13.23, allocations: 19.22 kB / 4.186 GB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/13.23, allocations: 4.344 kB / 4.186 GB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/13.23, allocations: 202.5 kB / 4.186 GB, free: 53.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/13.24, allocations: 1.433 MB / 4.187 GB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/13.24, allocations: 176.3 kB / 4.188 GB, free: 52.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/13.24, allocations: 3.188 kB / 4.188 GB, free: 52.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/13.24, allocations: 39.53 kB / 4.188 GB, free: 52.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/13.24, allocations: 0 / 4.188 GB, free: 52.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003843/13.24, allocations: 1.011 MB / 4.189 GB, free: 51.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/13.24, allocations: 55.25 kB / 4.189 GB, free: 51.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/13.24, allocations: 263.9 kB / 4.189 GB, free: 51.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/13.24, allocations: 29.39 kB / 4.189 GB, free: 51.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/13.24, allocations: 231.2 kB / 4.189 GB, free: 51.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/13.24, allocations: 90.5 kB / 4.189 GB, free: 51.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/13.24, allocations: 11.41 kB / 4.189 GB, free: 51.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/13.24, allocations: 322.4 kB / 4.19 GB, free: 51.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/13.24, allocations: 89.28 kB / 4.19 GB, free: 51.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/13.24, allocations: 176.4 kB / 4.19 GB, free: 50.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/13.24, allocations: 110 kB / 4.19 GB, free: 50.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/13.24, allocations: 0 / 4.19 GB, free: 50.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001078/13.24, allocations: 376.7 kB / 4.19 GB, free: 50.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/13.24, allocations: 11.48 kB / 4.19 GB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/13.24, allocations: 3.906 kB / 4.19 GB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/13.24, allocations: 66.22 kB / 4.19 GB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/13.24, allocations: 67.78 kB / 4.19 GB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/13.25, allocations: 2.686 MB / 4.193 GB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/13.25, allocations: 26.53 kB / 4.193 GB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/13.25, allocations: 15.91 kB / 4.193 GB, free: 48.23 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.0002463/13.25, allocations: 154.5 kB / 4.193 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/13.25, allocations: 30.66 kB / 4.193 GB, free: 48.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.14e-05/13.25, allocations: 37.88 kB / 4.193 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/13.25, allocations: 3.875 kB / 4.193 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/13.25, allocations: 0 / 4.193 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008279/13.25, allocations: 0.5626 MB / 4.194 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/13.25, allocations: 0.6989 MB / 4.195 GB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/13.25, allocations: 0.625 kB / 4.195 GB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/13.25, allocations: 44.59 kB / 4.195 GB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/13.25, allocations: 60.16 kB / 4.195 GB, free: 47.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/13.25, allocations: 4 kB / 4.195 GB, free: 47.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/13.25, allocations: 1.404 MB / 4.196 GB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/13.25, allocations: 0 / 4.196 GB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/13.25, allocations: 475.7 kB / 4.196 GB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/13.25, allocations: 104.6 kB / 4.197 GB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/13.25, allocations: 11.91 kB / 4.197 GB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/13.25, allocations: 11.08 kB / 4.197 GB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/13.25, allocations: 23.69 kB / 4.197 GB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/13.25, allocations: 10.33 kB / 4.197 GB, free: 45.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002812/13.25, allocations: 183.5 kB / 4.197 GB, free: 45.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/13.25, allocations: 0 / 4.197 GB, free: 45.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008961/13.26, allocations: 127 kB / 4.197 GB, free: 45.11 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.0004966/13.26, allocations: 294.7 kB / 4.197 GB, free: 45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/13.26, allocations: 471.1 kB / 4.198 GB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/13.26, allocations: 0 / 4.198 GB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005824/13.26, allocations: 240.3 kB / 4.198 GB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/13.26, allocations: 151.2 kB / 4.198 GB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/13.26, allocations: 0.8495 MB / 4.199 GB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/13.26, allocations: 0.7677 MB / 4.2 GB, free: 43.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/13.26, allocations: 30.97 kB / 4.2 GB, free: 43.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/13.26, allocations: 0 / 4.2 GB, free: 43.35 MB / 410.7 MB Notification: Performance of Templates: time 0.01449/13.28, allocations: 7.17 MB / 4.207 GB, free: 42.88 MB / 410.7 MB