Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.789/8.894, allocations: 2.901 GB / 3.203 GB, free: 75.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/8.895, allocations: 90.91 kB / 3.203 GB, free: 75.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.955/13.85, allocations: 0.9808 GB / 4.184 GB, free: 59.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/13.85, allocations: 0 / 4.184 GB, free: 59.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/13.85, allocations: 7.688 kB / 4.184 GB, free: 59.44 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.005258/13.86, allocations: 1.223 MB / 4.185 GB, free: 58.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/13.86, allocations: 11.91 kB / 4.185 GB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/13.86, allocations: 51.52 kB / 4.185 GB, free: 58.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/13.86, allocations: 273.7 kB / 4.186 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/13.86, allocations: 25.41 kB / 4.186 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/13.86, allocations: 23.78 kB / 4.186 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/13.86, allocations: 294.2 kB / 4.186 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/13.86, allocations: 0 / 4.186 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/13.86, allocations: 17.34 kB / 4.186 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/13.86, allocations: 13.22 kB / 4.186 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/13.86, allocations: 197.3 kB / 4.186 GB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/13.86, allocations: 1.43 MB / 4.187 GB, free: 57.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/13.86, allocations: 170.8 kB / 4.188 GB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/13.86, allocations: 7.047 kB / 4.188 GB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/13.86, allocations: 46.59 kB / 4.188 GB, free: 57.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.527e-06/13.86, allocations: 0 / 4.188 GB, free: 57.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003708/13.86, allocations: 0.9989 MB / 4.189 GB, free: 57.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/13.86, allocations: 55.16 kB / 4.189 GB, free: 57.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/13.86, allocations: 268.2 kB / 4.189 GB, free: 56.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/13.87, allocations: 29.33 kB / 4.189 GB, free: 56.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/13.87, allocations: 175.7 kB / 4.189 GB, free: 56.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/13.87, allocations: 93.14 kB / 4.189 GB, free: 56.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/13.87, allocations: 10.44 kB / 4.189 GB, free: 56.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/13.87, allocations: 332.2 kB / 4.19 GB, free: 56.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/13.87, allocations: 96.14 kB / 4.19 GB, free: 56.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/13.87, allocations: 164.7 kB / 4.19 GB, free: 56.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/13.87, allocations: 114.6 kB / 4.19 GB, free: 56.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/13.87, allocations: 0 / 4.19 GB, free: 56.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001114/13.87, allocations: 384.1 kB / 4.19 GB, free: 56.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/13.87, allocations: 7.812 kB / 4.19 GB, free: 56.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/13.87, allocations: 3.969 kB / 4.19 GB, free: 56.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/13.87, allocations: 68.44 kB / 4.19 GB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/13.87, allocations: 65.75 kB / 4.19 GB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/13.87, allocations: 2.696 MB / 4.193 GB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/13.87, allocations: 14.77 kB / 4.193 GB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/13.87, allocations: 18.41 kB / 4.193 GB, free: 53.67 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.0002343/13.87, allocations: 155.4 kB / 4.193 GB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/13.87, allocations: 27.19 kB / 4.193 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.862e-05/13.87, allocations: 37.94 kB / 4.193 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/13.87, allocations: 6.688 kB / 4.193 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/13.87, allocations: 0 / 4.193 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008035/13.87, allocations: 0.5634 MB / 4.194 GB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/13.87, allocations: 0.7071 MB / 4.195 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/13.87, allocations: 0 / 4.195 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/13.87, allocations: 43.64 kB / 4.195 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/13.88, allocations: 59.8 kB / 4.195 GB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/13.88, allocations: 7.594 kB / 4.195 GB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/13.88, allocations: 1.402 MB / 4.196 GB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/13.88, allocations: 0 / 4.196 GB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/13.88, allocations: 471.6 kB / 4.196 GB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/13.88, allocations: 100 kB / 4.197 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/13.88, allocations: 5.312 kB / 4.197 GB, free: 51.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/13.88, allocations: 27.27 kB / 4.197 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/13.88, allocations: 21.58 kB / 4.197 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/13.88, allocations: 20 kB / 4.197 GB, free: 51.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002432/13.88, allocations: 180.3 kB / 4.197 GB, free: 51.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/13.88, allocations: 0 / 4.197 GB, free: 51.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008165/13.88, allocations: 121 kB / 4.197 GB, free: 51.14 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.0004625/13.88, allocations: 288.1 kB / 4.197 GB, free: 51.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/13.88, allocations: 477.8 kB / 4.198 GB, free: 50.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/13.88, allocations: 0 / 4.198 GB, free: 50.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/13.88, allocations: 230.7 kB / 4.198 GB, free: 50.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/13.88, allocations: 163 kB / 4.198 GB, free: 50.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/13.88, allocations: 0.8186 MB / 4.199 GB, free: 50.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/13.89, allocations: 0.768 MB / 4.2 GB, free: 49.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004975/13.89, allocations: 57.03 kB / 4.2 GB, free: 49.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/13.89, allocations: 26.34 kB / 4.2 GB, free: 49.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/13.89, allocations: 0 / 4.2 GB, free: 49.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02012/13.91, allocations: 7.958 MB / 4.207 GB, free: 49.42 MB / 410.7 MB