Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.611/1.611, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08036, allocations: 38.77 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7524/0.8329, allocations: 180.5 MB / 453 MB, free: 91.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.8332, allocations: 96.89 kB / 453.1 MB, free: 91.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8966/1.73, allocations: 196.7 MB / 0.6346 GB, free: 75.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.73, allocations: 0 / 0.6346 GB, free: 75.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.503e-05/1.73, allocations: 8 kB / 0.6346 GB, free: 75.18 MB / 362.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.00242/1.732, allocations: 0.9913 MB / 0.6355 GB, free: 74.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.732, allocations: 12.41 kB / 0.6355 GB, free: 74.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/1.733, allocations: 47.61 kB / 0.6356 GB, free: 74.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/1.733, allocations: 290.3 kB / 0.6359 GB, free: 73.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/1.733, allocations: 20.56 kB / 0.6359 GB, free: 73.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/1.733, allocations: 24 kB / 0.6359 GB, free: 73.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/1.734, allocations: 330.2 kB / 0.6362 GB, free: 73.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.734, allocations: 7.891 kB / 0.6362 GB, free: 73.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/1.734, allocations: 12 kB / 0.6362 GB, free: 73.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.734, allocations: 8 kB / 0.6363 GB, free: 73.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/1.735, allocations: 189.5 kB / 0.6364 GB, free: 73.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/1.737, allocations: 2.076 MB / 0.6385 GB, free: 70.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/1.737, allocations: 185.9 kB / 0.6386 GB, free: 70.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.738, allocations: 254.8 kB / 0.6389 GB, free: 70.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/1.738, allocations: 38.55 kB / 0.6389 GB, free: 70.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.615e-06/1.738, allocations: 3.938 kB / 0.6389 GB, free: 70.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.003502/1.741, allocations: 1.021 MB / 0.6399 GB, free: 69.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/1.741, allocations: 55.41 kB / 0.64 GB, free: 69.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/1.742, allocations: 258.6 kB / 0.6402 GB, free: 68.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/1.742, allocations: 29.7 kB / 0.6402 GB, free: 68.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/1.742, allocations: 242.6 kB / 0.6405 GB, free: 68.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/1.742, allocations: 108.6 kB / 0.6406 GB, free: 68.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/1.742, allocations: 12 kB / 0.6406 GB, free: 68.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/1.742, allocations: 326.8 kB / 0.6409 GB, free: 68.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/1.742, allocations: 80.72 kB / 0.641 GB, free: 68.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/1.743, allocations: 170.6 kB / 0.6411 GB, free: 67.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/1.743, allocations: 115.8 kB / 0.6413 GB, free: 67.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.743, allocations: 0 / 0.6413 GB, free: 67.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000836/1.744, allocations: 365.8 kB / 0.6416 GB, free: 67.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.744, allocations: 4 kB / 0.6416 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.744, allocations: 8 kB / 0.6416 GB, free: 67.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/1.744, allocations: 105 kB / 0.6417 GB, free: 67.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/1.745, allocations: 63.91 kB / 0.6418 GB, free: 67.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006067/1.745, allocations: 0.646 MB / 0.6424 GB, free: 66.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/1.746, allocations: 23.89 kB / 0.6424 GB, free: 66.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/1.746, allocations: 16.06 kB / 0.6424 GB, free: 66.55 MB / 362.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.0002439/1.746, allocations: 156.7 kB / 0.6426 GB, free: 66.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.746, allocations: 31.7 kB / 0.6426 GB, free: 66.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009108/1.747, allocations: 368.8 kB / 0.643 GB, free: 65.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.747, allocations: 7.938 kB / 0.643 GB, free: 65.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.747, allocations: 4 kB / 0.643 GB, free: 65.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007668/1.748, allocations: 0.5707 MB / 0.6435 GB, free: 65.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/1.749, allocations: 0.735 MB / 0.6443 GB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.75, allocations: 0 / 0.6443 GB, free: 64.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/1.75, allocations: 39.92 kB / 0.6443 GB, free: 64.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007356/1.751, allocations: 100.8 kB / 0.6444 GB, free: 64.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/1.751, allocations: 7.094 kB / 0.6444 GB, free: 64.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005713/1.751, allocations: 0.6382 MB / 0.645 GB, free: 63.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.751, allocations: 0 / 0.645 GB, free: 63.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/1.752, allocations: 0.4913 MB / 0.6455 GB, free: 63.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.752, allocations: 104.8 kB / 0.6456 GB, free: 63.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/1.753, allocations: 8 kB / 0.6456 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/1.753, allocations: 15.89 kB / 0.6456 GB, free: 63.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/1.753, allocations: 15.94 kB / 0.6456 GB, free: 63.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/1.753, allocations: 19.98 kB / 0.6457 GB, free: 63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002707/1.753, allocations: 194 kB / 0.6459 GB, free: 62.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.753, allocations: 4.062 kB / 0.6459 GB, free: 62.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009162/1.754, allocations: 163.9 kB / 0.646 GB, free: 62.65 MB / 362.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.0005219/1.755, allocations: 242.3 kB / 0.6462 GB, free: 62.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00076/1.756, allocations: 243.6 kB / 0.6465 GB, free: 62.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.756, allocations: 0 / 0.6465 GB, free: 62.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/1.756, allocations: 124.7 kB / 0.6466 GB, free: 62.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.758, allocations: 144.8 kB / 0.6467 GB, free: 61.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.759, allocations: 0.7909 MB / 0.6475 GB, free: 61.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/1.759, allocations: 0.7805 MB / 0.6483 GB, free: 60.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.76, allocations: 35.42 kB / 0.6483 GB, free: 60.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/1.76, allocations: 3.75 kB / 0.6483 GB, free: 60.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01421/1.774, allocations: 7.315 MB / 0.6554 GB, free: 52.93 MB / 362.7 MB