Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.318, allocations: 408.5 MB / 0.7225 GB, free: 49.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.318, allocations: 100.9 kB / 0.7225 GB, free: 49.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5923/1.91, allocations: 118 MB / 0.8378 GB, free: 105.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.421e-06/1.91, allocations: 0 / 0.8378 GB, free: 105.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.8e-05/1.91, allocations: 16.22 kB / 0.8378 GB, free: 105.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002299/1.913, allocations: 1.053 MB / 0.8388 GB, free: 104.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.913, allocations: 12.03 kB / 0.8388 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/1.913, allocations: 91.05 kB / 0.8389 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/1.914, allocations: 0.5479 MB / 0.8395 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/1.915, allocations: 104.4 kB / 0.8396 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.915, allocations: 51.81 kB / 0.8396 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.916, allocations: 0.8026 MB / 0.8404 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/1.916, allocations: 7.938 kB / 0.8404 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.682e-05/1.916, allocations: 24 kB / 0.8404 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/1.916, allocations: 40.92 kB / 0.8405 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/1.918, allocations: 0.6399 MB / 0.8411 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004984/1.923, allocations: 3.899 MB / 0.8449 GB, free: 98.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.924, allocations: 387.8 kB / 0.8453 GB, free: 97.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/1.924, allocations: 0.495 MB / 0.8458 GB, free: 97.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.924, allocations: 38.88 kB / 0.8458 GB, free: 97.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 4.679e-06/1.924, allocations: 0 / 0.8458 GB, free: 97.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.003802/1.928, allocations: 1.487 MB / 0.8472 GB, free: 95.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.928, allocations: 140.5 kB / 0.8474 GB, free: 95.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/1.929, allocations: 498.1 kB / 0.8479 GB, free: 95.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/1.929, allocations: 33.7 kB / 0.8479 GB, free: 94.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/1.929, allocations: 401.7 kB / 0.8483 GB, free: 94.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.929, allocations: 161.7 kB / 0.8484 GB, free: 94.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/1.929, allocations: 16 kB / 0.8484 GB, free: 94.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/1.929, allocations: 342.8 kB / 0.8488 GB, free: 94.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/1.93, allocations: 217.9 kB / 0.849 GB, free: 93.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/1.93, allocations: 0.5341 MB / 0.8495 GB, free: 93.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/1.931, allocations: 324.5 kB / 0.8498 GB, free: 92.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.854e-06/1.931, allocations: 0 / 0.8498 GB, free: 92.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002186/1.933, allocations: 0.934 MB / 0.8507 GB, free: 91.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.933, allocations: 12 kB / 0.8507 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.933, allocations: 8 kB / 0.8507 GB, free: 91.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/1.935, allocations: 256.7 kB / 0.851 GB, free: 91.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/1.935, allocations: 135.8 kB / 0.8511 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/1.936, allocations: 0.86 MB / 0.8519 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008267/1.937, allocations: 35.98 kB / 0.852 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/1.937, allocations: 44.03 kB / 0.852 GB, free: 90.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004431/1.938, allocations: 249.5 kB / 0.8523 GB, free: 90.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.938, allocations: 63.25 kB / 0.8523 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.94, allocations: 0.7153 MB / 0.853 GB, free: 89.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.94, allocations: 8 kB / 0.853 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.047e-06/1.94, allocations: 0 / 0.853 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.013e-06/1.94, allocations: 3.984 kB / 0.853 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/1.942, allocations: 1.373 MB / 0.8544 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.675e-06/1.942, allocations: 0 / 0.8544 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.944, allocations: 195.9 kB / 0.8546 GB, free: 87.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/1.944, allocations: 56.78 kB / 0.8546 GB, free: 87.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/1.944, allocations: 23.94 kB / 0.8546 GB, free: 87.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/1.947, allocations: 2.797 MB / 0.8574 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.772e-06/1.947, allocations: 7.969 kB / 0.8574 GB, free: 84.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.949, allocations: 1.043 MB / 0.8584 GB, free: 83.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/1.949, allocations: 196.3 kB / 0.8586 GB, free: 83.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.949, allocations: 16 kB / 0.8586 GB, free: 83.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/1.95, allocations: 31.89 kB / 0.8586 GB, free: 83.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.95, allocations: 35.91 kB / 0.8587 GB, free: 83.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/1.95, allocations: 31.92 kB / 0.8587 GB, free: 83.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005885/1.95, allocations: 378.8 kB / 0.8591 GB, free: 82.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.24e-07/1.95, allocations: 0 / 0.8591 GB, free: 82.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001158/1.952, allocations: 224 kB / 0.8593 GB, free: 82.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0005563/1.952, allocations: 264.1 kB / 0.8595 GB, free: 82.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/1.954, allocations: 0.5971 MB / 0.8601 GB, free: 81.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.35e-06/1.954, allocations: 4 kB / 0.8601 GB, free: 81.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.955, allocations: 450.7 kB / 0.8605 GB, free: 81.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/1.957, allocations: 302.6 kB / 0.8608 GB, free: 81.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/1.959, allocations: 1.685 MB / 0.8625 GB, free: 79.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/1.96, allocations: 0.9542 MB / 0.8634 GB, free: 78.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.96, allocations: 59.42 kB / 0.8635 GB, free: 78.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.737e-06/1.96, allocations: 0 / 0.8635 GB, free: 78.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03446/1.995, allocations: 14.68 MB / 0.8778 GB, free: 63.64 MB / 426.7 MB