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.LinearColdWater.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.LinearColdWater,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.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 44.49 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.246, allocations: 362.6 MB / 0.6558 GB, free: 19.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.246, allocations: 90.02 kB / 0.6559 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5067/1.753, allocations: 81.31 MB / 0.7353 GB, free: 115.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.753, allocations: 0 / 0.7353 GB, free: 115.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/1.753, allocations: 8 kB / 0.7353 GB, free: 115.1 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.001229/1.754, allocations: 0.6245 MB / 0.736 GB, free: 114.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.754, allocations: 8.031 kB / 0.736 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/1.755, allocations: 39.62 kB / 0.736 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/1.755, allocations: 286.7 kB / 0.7363 GB, free: 114.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.755, allocations: 16.56 kB / 0.7363 GB, free: 114.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/1.755, allocations: 24 kB / 0.7363 GB, free: 114 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/1.756, allocations: 303.7 kB / 0.7366 GB, free: 113.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.756, allocations: 0 / 0.7366 GB, free: 113.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/1.756, allocations: 12 kB / 0.7366 GB, free: 113.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.756, allocations: 8 kB / 0.7366 GB, free: 113.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/1.756, allocations: 197.5 kB / 0.7368 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/1.759, allocations: 1.44 MB / 0.7382 GB, free: 111.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/1.759, allocations: 175.2 kB / 0.7384 GB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/1.759, allocations: 4.188 kB / 0.7384 GB, free: 111.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/1.759, allocations: 34.75 kB / 0.7384 GB, free: 111.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.277e-06/1.759, allocations: 0 / 0.7384 GB, free: 111.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003956/1.763, allocations: 1.014 MB / 0.7394 GB, free: 110.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/1.764, allocations: 51.41 kB / 0.7395 GB, free: 110.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/1.764, allocations: 258.5 kB / 0.7397 GB, free: 110.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.764, allocations: 33.7 kB / 0.7397 GB, free: 110.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.764, allocations: 238.6 kB / 0.74 GB, free: 110 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/1.764, allocations: 94.64 kB / 0.7401 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/1.764, allocations: 4 kB / 0.7401 GB, free: 109.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/1.764, allocations: 330.8 kB / 0.7404 GB, free: 109.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/1.765, allocations: 79.97 kB / 0.7404 GB, free: 109.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/1.765, allocations: 179.1 kB / 0.7406 GB, free: 109.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/1.765, allocations: 115.9 kB / 0.7407 GB, free: 109.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.765, allocations: 0 / 0.7407 GB, free: 109.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001019/1.766, allocations: 367 kB / 0.7411 GB, free: 108.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.766, allocations: 4.625 kB / 0.7411 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.766, allocations: 4 kB / 0.7411 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/1.767, allocations: 65.61 kB / 0.7412 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/1.767, allocations: 71.91 kB / 0.7412 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.77, allocations: 2.682 MB / 0.7438 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/1.77, allocations: 27.98 kB / 0.7439 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/1.77, allocations: 16 kB / 0.7439 GB, free: 105.7 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.0002331/1.77, allocations: 153.7 kB / 0.744 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/1.77, allocations: 27.62 kB / 0.7441 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/1.771, allocations: 34.17 kB / 0.7441 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.771, allocations: 4 kB / 0.7441 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.771, allocations: 0 / 0.7441 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008141/1.771, allocations: 0.563 MB / 0.7446 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.773, allocations: 0.699 MB / 0.7453 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.773, allocations: 7.953 kB / 0.7453 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.773, allocations: 51.88 kB / 0.7454 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/1.774, allocations: 52.8 kB / 0.7454 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/1.774, allocations: 15.98 kB / 0.7454 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.775, allocations: 1.394 MB / 0.7468 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.775, allocations: 0 / 0.7468 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.776, allocations: 481.7 kB / 0.7473 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.776, allocations: 100.8 kB / 0.7474 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/1.776, allocations: 8 kB / 0.7474 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/1.777, allocations: 11.91 kB / 0.7474 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/1.777, allocations: 24.03 kB / 0.7474 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/1.777, allocations: 11.98 kB / 0.7474 GB, free: 101.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002405/1.777, allocations: 182 kB / 0.7476 GB, free: 101.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.777, allocations: 0 / 0.7476 GB, free: 101.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006673/1.778, allocations: 104 kB / 0.7477 GB, free: 101.4 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.0002807/1.778, allocations: 171.1 kB / 0.7479 GB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009763/1.779, allocations: 469.7 kB / 0.7483 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.779, allocations: 0 / 0.7483 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/1.78, allocations: 234.5 kB / 0.7485 GB, free: 100.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.781, allocations: 160.4 kB / 0.7487 GB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/1.783, allocations: 0.8546 MB / 0.7495 GB, free: 99.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/1.783, allocations: 0.7726 MB / 0.7503 GB, free: 98.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/1.783, allocations: 27.44 kB / 0.7503 GB, free: 98.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.783, allocations: 0 / 0.7503 GB, free: 98.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01203/1.795, allocations: 6.287 MB / 0.7564 GB, free: 92.36 MB / 410.7 MB