Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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) 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.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(Modelica): time 1.55/1.55, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.496e-05, allocations: 4 kB / 228.8 MB, free: 15.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 38.78 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.606, allocations: 180.4 MB / 448 MB, free: 3.379 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.6063, allocations: 85.7 kB / 448.1 MB, free: 3.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036/1.642, allocations: 196.1 MB / 0.6291 GB, free: 73.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.181e-06/1.643, allocations: 0 / 0.6291 GB, free: 73.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/1.643, allocations: 6.281 kB / 0.6291 GB, free: 73.5 MB / 346.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.002001/1.645, allocations: 0.9679 MB / 0.63 GB, free: 73.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.645, allocations: 11.09 kB / 0.63 GB, free: 73.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/1.645, allocations: 44.98 kB / 0.6301 GB, free: 73.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/1.645, allocations: 293.5 kB / 0.6304 GB, free: 72.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/1.645, allocations: 19.03 kB / 0.6304 GB, free: 72.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/1.646, allocations: 37.56 kB / 0.6304 GB, free: 72.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/1.646, allocations: 317.9 kB / 0.6307 GB, free: 72.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/1.646, allocations: 0 / 0.6307 GB, free: 72.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/1.646, allocations: 14.25 kB / 0.6307 GB, free: 72.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/1.646, allocations: 9.344 kB / 0.6307 GB, free: 72.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/1.647, allocations: 184.1 kB / 0.6309 GB, free: 72.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/1.649, allocations: 2.068 MB / 0.6329 GB, free: 71.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/1.649, allocations: 189.8 kB / 0.6331 GB, free: 71.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/1.649, allocations: 83.98 kB / 0.6332 GB, free: 71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.65, allocations: 246.5 kB / 0.6334 GB, free: 70.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/1.65, allocations: 46.86 kB / 0.6335 GB, free: 70.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.659e-06/1.65, allocations: 0 / 0.6335 GB, free: 70.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003233/1.653, allocations: 0.8918 MB / 0.6343 GB, free: 70.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.653, allocations: 56.09 kB / 0.6344 GB, free: 70.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.653, allocations: 236.9 kB / 0.6346 GB, free: 70.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/1.653, allocations: 32.98 kB / 0.6347 GB, free: 70.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/1.653, allocations: 241.7 kB / 0.6349 GB, free: 69.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/1.653, allocations: 103.5 kB / 0.635 GB, free: 69.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/1.654, allocations: 6.75 kB / 0.635 GB, free: 69.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.175e-05/1.654, allocations: 327.1 kB / 0.6353 GB, free: 69.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/1.654, allocations: 79.81 kB / 0.6354 GB, free: 69.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.654, allocations: 166.6 kB / 0.6355 GB, free: 69.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.654, allocations: 115.4 kB / 0.6356 GB, free: 69.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.654, allocations: 0 / 0.6356 GB, free: 69.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007909/1.655, allocations: 357.4 kB / 0.636 GB, free: 69.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.655, allocations: 8.969 kB / 0.636 GB, free: 69.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.44e-06/1.655, allocations: 3.938 kB / 0.636 GB, free: 69.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/1.656, allocations: 99.03 kB / 0.6361 GB, free: 69.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/1.656, allocations: 69.31 kB / 0.6362 GB, free: 69.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000559/1.657, allocations: 0.6536 MB / 0.6368 GB, free: 68.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/1.657, allocations: 17.19 kB / 0.6368 GB, free: 68.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/1.657, allocations: 15.38 kB / 0.6368 GB, free: 68.94 MB / 346.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 () * 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.0001247/1.657, allocations: 123.2 kB / 0.6369 GB, free: 68.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/1.657, allocations: 35.14 kB / 0.637 GB, free: 68.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/1.658, allocations: 389 kB / 0.6374 GB, free: 68.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-06/1.658, allocations: 7.734 kB / 0.6374 GB, free: 68.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/1.658, allocations: 2.812 kB / 0.6374 GB, free: 68.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006314/1.659, allocations: 0.564 MB / 0.6379 GB, free: 68.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/1.66, allocations: 0.7381 MB / 0.6386 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.585e-06/1.66, allocations: 0 / 0.6386 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/1.661, allocations: 37.55 kB / 0.6387 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006752/1.661, allocations: 97.94 kB / 0.6388 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/1.661, allocations: 10.88 kB / 0.6388 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000514/1.662, allocations: 0.6314 MB / 0.6394 GB, free: 67.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.955e-06/1.662, allocations: 0.6562 kB / 0.6394 GB, free: 67.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/1.663, allocations: 0.4985 MB / 0.6399 GB, free: 67.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.663, allocations: 115.2 kB / 0.64 GB, free: 67.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/1.663, allocations: 11.25 kB / 0.64 GB, free: 67.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/1.664, allocations: 17.95 kB / 0.64 GB, free: 67.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/1.664, allocations: 11.64 kB / 0.64 GB, free: 67.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/1.664, allocations: 17.23 kB / 0.64 GB, free: 67.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002468/1.664, allocations: 193.4 kB / 0.6402 GB, free: 67 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.78e-07/1.664, allocations: 0 / 0.6402 GB, free: 67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008927/1.665, allocations: 163.1 kB / 0.6404 GB, free: 66.98 MB / 346.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 () * 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.0004407/1.665, allocations: 238.3 kB / 0.6406 GB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006701/1.666, allocations: 229.7 kB / 0.6408 GB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.198e-06/1.666, allocations: 3.938 kB / 0.6408 GB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/1.666, allocations: 119.8 kB / 0.6409 GB, free: 66.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/1.667, allocations: 154.7 kB / 0.6411 GB, free: 66.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.668, allocations: 473.6 kB / 0.6415 GB, free: 66.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.669, allocations: 0.7771 MB / 0.6423 GB, free: 65.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.669, allocations: 27.91 kB / 0.6423 GB, free: 65.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.514e-06/1.669, allocations: 3.688 kB / 0.6423 GB, free: 65.96 MB / 346.7 MB Notification: Performance of Templates: time 0.01191/1.681, allocations: 7.314 MB / 0.6495 GB, free: 65.77 MB / 346.7 MB