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.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 8 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 44.49 MB / 309 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/0.706, allocations: 185.9 MB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.7064, allocations: 93.31 kB / 495 MB, free: 6.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9534/1.66, allocations: 200.6 MB / 0.6793 GB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.66, allocations: 0 / 0.6793 GB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/1.66, allocations: 4 kB / 0.6793 GB, free: 12.03 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002578/1.663, allocations: 0.9972 MB / 0.6803 GB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.663, allocations: 8.031 kB / 0.6803 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/1.663, allocations: 43.61 kB / 0.6803 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/1.664, allocations: 286.9 kB / 0.6806 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/1.664, allocations: 16.56 kB / 0.6806 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/1.664, allocations: 35.91 kB / 0.6806 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/1.664, allocations: 326.8 kB / 0.681 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.664, allocations: 4 kB / 0.681 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/1.665, allocations: 15.95 kB / 0.681 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.665, allocations: 15.94 kB / 0.681 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/1.665, allocations: 197.5 kB / 0.6812 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/1.668, allocations: 2.061 MB / 0.6832 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/1.668, allocations: 178.6 kB / 0.6834 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/1.668, allocations: 255.5 kB / 0.6836 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.668, allocations: 42.5 kB / 0.6837 GB, free: 7.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 4.248e-06/1.668, allocations: 0 / 0.6837 GB, free: 7.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.003702/1.672, allocations: 1.033 MB / 0.6847 GB, free: 6.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.672, allocations: 59.41 kB / 0.6847 GB, free: 5.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/1.673, allocations: 262.5 kB / 0.685 GB, free: 5.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/1.673, allocations: 29.7 kB / 0.685 GB, free: 5.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.673, allocations: 242.6 kB / 0.6852 GB, free: 5.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/1.673, allocations: 98.55 kB / 0.6853 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/1.673, allocations: 12 kB / 0.6853 GB, free: 5.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/1.673, allocations: 322.8 kB / 0.6856 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.673, allocations: 84.72 kB / 0.6857 GB, free: 4.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/1.674, allocations: 174.6 kB / 0.6859 GB, free: 4.727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/1.674, allocations: 115.7 kB / 0.686 GB, free: 4.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.674, allocations: 0 / 0.686 GB, free: 4.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008623/1.675, allocations: 362.2 kB / 0.6863 GB, free: 4.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.675, allocations: 11.95 kB / 0.6864 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.675, allocations: 4 kB / 0.6864 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/1.675, allocations: 96.72 kB / 0.6865 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/1.676, allocations: 63.91 kB / 0.6865 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006289/1.677, allocations: 0.6538 MB / 0.6871 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/1.677, allocations: 19.98 kB / 0.6872 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/1.677, allocations: 20 kB / 0.6872 GB, free: 3.355 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.000283/1.677, allocations: 153.7 kB / 0.6873 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/1.677, allocations: 31.7 kB / 0.6874 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/1.678, allocations: 384.7 kB / 0.6877 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.678, allocations: 4 kB / 0.6877 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.678, allocations: 0 / 0.6877 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007954/1.679, allocations: 0.5668 MB / 0.6883 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/1.681, allocations: 0.7428 MB / 0.689 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.681, allocations: 0 / 0.689 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/1.681, allocations: 35.92 kB / 0.689 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007551/1.682, allocations: 104.7 kB / 0.6891 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/1.682, allocations: 8 kB / 0.6892 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006031/1.683, allocations: 0.6345 MB / 0.6898 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.683, allocations: 4.078 kB / 0.6898 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2691/1.952, allocations: 495.3 kB / 0.6903 GB, free: 96.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/1.952, allocations: 107.3 kB / 0.6904 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.952, allocations: 3.75 kB / 0.6904 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/1.953, allocations: 15.23 kB / 0.6904 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/1.953, allocations: 17.41 kB / 0.6904 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/1.953, allocations: 18.31 kB / 0.6904 GB, free: 96.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002713/1.953, allocations: 195.7 kB / 0.6906 GB, free: 96.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.953, allocations: 3.656 kB / 0.6906 GB, free: 96.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008809/1.954, allocations: 156 kB / 0.6907 GB, free: 96.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005048/1.954, allocations: 234.2 kB / 0.691 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007476/1.955, allocations: 238 kB / 0.6912 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.955, allocations: 3.625 kB / 0.6912 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/1.956, allocations: 124.2 kB / 0.6913 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.957, allocations: 151 kB / 0.6915 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.959, allocations: 0.79 MB / 0.6922 GB, free: 96.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/1.959, allocations: 0.7694 MB / 0.693 GB, free: 95.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/1.959, allocations: 37.81 kB / 0.693 GB, free: 95.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.959, allocations: 2.531 kB / 0.693 GB, free: 95.31 MB / 410.7 MB Notification: Performance of Templates: time 0.01807/1.977, allocations: 7.314 MB / 0.7002 GB, free: 95.13 MB / 410.7 MB