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.LinearColdWater.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.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.808/1.808, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08244, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8415/0.924, allocations: 362.6 MB / 0.6553 GB, free: 24.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.9244, allocations: 87.44 kB / 0.6554 GB, free: 24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4335/1.358, allocations: 81.3 MB / 0.7348 GB, free: 120 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.869e-06/1.358, allocations: 4 kB / 0.7348 GB, free: 119.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/1.358, allocations: 8.359 kB / 0.7348 GB, free: 119.9 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.0009892/1.359, allocations: 0.6206 MB / 0.7354 GB, free: 119.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.359, allocations: 12.03 kB / 0.7354 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/1.359, allocations: 47.55 kB / 0.7355 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/1.36, allocations: 274.5 kB / 0.7358 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.36, allocations: 20.56 kB / 0.7358 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/1.36, allocations: 24 kB / 0.7358 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/1.36, allocations: 299.7 kB / 0.7361 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/1.36, allocations: 4 kB / 0.7361 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/1.361, allocations: 8 kB / 0.7361 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-06/1.361, allocations: 8 kB / 0.7361 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/1.361, allocations: 197.5 kB / 0.7363 GB, free: 118.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/1.363, allocations: 1.44 MB / 0.7377 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/1.363, allocations: 171.2 kB / 0.7379 GB, free: 116.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/1.363, allocations: 8.125 kB / 0.7379 GB, free: 116.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/1.363, allocations: 38.75 kB / 0.7379 GB, free: 116.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.134e-06/1.363, allocations: 0 / 0.7379 GB, free: 116.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002973/1.366, allocations: 1.01 MB / 0.7389 GB, free: 115.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/1.366, allocations: 55.41 kB / 0.7389 GB, free: 115.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/1.367, allocations: 233.6 kB / 0.7392 GB, free: 115.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/1.367, allocations: 29.7 kB / 0.7392 GB, free: 115.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/1.367, allocations: 238.6 kB / 0.7394 GB, free: 114.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/1.367, allocations: 94.64 kB / 0.7395 GB, free: 114.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/1.367, allocations: 12 kB / 0.7395 GB, free: 114.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/1.367, allocations: 322.8 kB / 0.7398 GB, free: 114.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/1.367, allocations: 79.97 kB / 0.7399 GB, free: 114.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/1.367, allocations: 187 kB / 0.7401 GB, free: 114.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/1.368, allocations: 100.4 kB / 0.7402 GB, free: 114.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.76e-06/1.368, allocations: 8 kB / 0.7402 GB, free: 114 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008777/1.368, allocations: 363.2 kB / 0.7405 GB, free: 113.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.369, allocations: 12 kB / 0.7405 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/1.369, allocations: 4 kB / 0.7405 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/1.369, allocations: 61.67 kB / 0.7406 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/1.369, allocations: 71.84 kB / 0.7407 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.372, allocations: 2.689 MB / 0.7433 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/1.372, allocations: 15.98 kB / 0.7433 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/1.372, allocations: 16 kB / 0.7433 GB, free: 110.5 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.0002549/1.372, allocations: 157.8 kB / 0.7435 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.372, allocations: 31.62 kB / 0.7435 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.723e-05/1.373, allocations: 30.19 kB / 0.7435 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/1.373, allocations: 4 kB / 0.7435 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.373, allocations: 3.984 kB / 0.7436 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007605/1.373, allocations: 0.5631 MB / 0.7441 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/1.375, allocations: 0.699 MB / 0.7448 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.375, allocations: 4 kB / 0.7448 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/1.375, allocations: 51.86 kB / 0.7448 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/1.376, allocations: 64.75 kB / 0.7449 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/1.376, allocations: 4 kB / 0.7449 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/1.377, allocations: 1.394 MB / 0.7463 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.845e-06/1.377, allocations: 4.031 kB / 0.7463 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/1.378, allocations: 490.8 kB / 0.7467 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/1.378, allocations: 96.86 kB / 0.7468 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/1.378, allocations: 4 kB / 0.7468 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/1.378, allocations: 23.83 kB / 0.7469 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/1.378, allocations: 15.98 kB / 0.7469 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/1.378, allocations: 16.05 kB / 0.7469 GB, free: 106.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002178/1.379, allocations: 189.9 kB / 0.7471 GB, free: 106.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.83e-07/1.379, allocations: 0 / 0.7471 GB, free: 106.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006397/1.379, allocations: 96 kB / 0.7472 GB, free: 106.3 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.0002535/1.38, allocations: 175.7 kB / 0.7473 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008847/1.381, allocations: 470.3 kB / 0.7478 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.112e-06/1.381, allocations: 0 / 0.7478 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004294/1.381, allocations: 234.5 kB / 0.748 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.382, allocations: 157.1 kB / 0.7481 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.384, allocations: 0.8637 MB / 0.749 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/1.384, allocations: 0.7687 MB / 0.7497 GB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/1.384, allocations: 27.44 kB / 0.7498 GB, free: 103.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.74e-06/1.384, allocations: 0 / 0.7498 GB, free: 103.5 MB / 410.7 MB Notification: Performance of Templates: time 0.009639/1.394, allocations: 6.282 MB / 0.7559 GB, free: 97.22 MB / 410.7 MB