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.718/1.718, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 11.98 kB / 233.3 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07086/0.07125, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5984/0.6697, allocations: 180.5 MB / 452.5 MB, free: 116.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.6701, allocations: 92.81 kB / 452.6 MB, free: 116.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7479/1.418, allocations: 196.7 MB / 0.634 GB, free: 52.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.292e-06/1.418, allocations: 0 / 0.634 GB, free: 52.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.993e-05/1.418, allocations: 8 kB / 0.6341 GB, free: 52.05 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.001974/1.42, allocations: 0.9983 MB / 0.635 GB, free: 51.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.42, allocations: 12.03 kB / 0.635 GB, free: 51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/1.421, allocations: 43.61 kB / 0.6351 GB, free: 50.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/1.421, allocations: 284.8 kB / 0.6354 GB, free: 50.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.421, allocations: 24.56 kB / 0.6354 GB, free: 50.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/1.421, allocations: 24 kB / 0.6354 GB, free: 50.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/1.422, allocations: 338.2 kB / 0.6357 GB, free: 50.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/1.422, allocations: 0 / 0.6357 GB, free: 50.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/1.422, allocations: 12 kB / 0.6357 GB, free: 50.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.422, allocations: 8 kB / 0.6357 GB, free: 50.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/1.422, allocations: 189.5 kB / 0.6359 GB, free: 50.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/1.424, allocations: 2.077 MB / 0.638 GB, free: 47.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/1.425, allocations: 182 kB / 0.6381 GB, free: 47.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/1.425, allocations: 257.8 kB / 0.6384 GB, free: 47.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/1.425, allocations: 38.56 kB / 0.6384 GB, free: 47.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.24e-06/1.425, allocations: 0 / 0.6384 GB, free: 47.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003061/1.428, allocations: 1.017 MB / 0.6394 GB, free: 46.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/1.428, allocations: 63.34 kB / 0.6395 GB, free: 46.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/1.428, allocations: 237.6 kB / 0.6397 GB, free: 45.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/1.428, allocations: 33.7 kB / 0.6397 GB, free: 45.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/1.428, allocations: 236.7 kB / 0.6399 GB, free: 45.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/1.428, allocations: 101.4 kB / 0.64 GB, free: 45.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/1.428, allocations: 12 kB / 0.6401 GB, free: 45.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/1.429, allocations: 326.8 kB / 0.6404 GB, free: 45.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/1.429, allocations: 85.81 kB / 0.6404 GB, free: 45.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/1.429, allocations: 166.6 kB / 0.6406 GB, free: 44.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/1.429, allocations: 119.6 kB / 0.6407 GB, free: 44.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.439e-06/1.429, allocations: 4 kB / 0.6407 GB, free: 44.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007394/1.43, allocations: 357.9 kB / 0.6411 GB, free: 44.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.43, allocations: 4 kB / 0.6411 GB, free: 44.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.43, allocations: 4 kB / 0.6411 GB, free: 44.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/1.431, allocations: 96.78 kB / 0.6412 GB, free: 44.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/1.431, allocations: 68.22 kB / 0.6412 GB, free: 44.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/1.431, allocations: 0.6538 MB / 0.6419 GB, free: 43.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.432, allocations: 16 kB / 0.6419 GB, free: 43.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/1.432, allocations: 16 kB / 0.6419 GB, free: 43.45 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 () * 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.0002116/1.432, allocations: 165.7 kB / 0.6421 GB, free: 43.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/1.432, allocations: 31.72 kB / 0.6421 GB, free: 43.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/1.433, allocations: 372.8 kB / 0.6424 GB, free: 42.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.433, allocations: 7.938 kB / 0.6425 GB, free: 42.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.433, allocations: 0 / 0.6425 GB, free: 42.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006501/1.434, allocations: 0.5747 MB / 0.643 GB, free: 42.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/1.435, allocations: 0.7377 MB / 0.6437 GB, free: 41.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.195e-06/1.435, allocations: 0 / 0.6437 GB, free: 41.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/1.435, allocations: 31.98 kB / 0.6438 GB, free: 41.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/1.436, allocations: 111.7 kB / 0.6439 GB, free: 41.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/1.436, allocations: 8 kB / 0.6439 GB, free: 41.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005194/1.436, allocations: 0.6304 MB / 0.6445 GB, free: 40.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.436, allocations: 4.047 kB / 0.6445 GB, free: 40.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/1.437, allocations: 0.5016 MB / 0.645 GB, free: 40.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.438, allocations: 112.8 kB / 0.6451 GB, free: 39.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/1.438, allocations: 11.98 kB / 0.6451 GB, free: 39.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/1.438, allocations: 12.09 kB / 0.6451 GB, free: 39.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/1.438, allocations: 23.91 kB / 0.6451 GB, free: 39.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/1.438, allocations: 11.95 kB / 0.6452 GB, free: 39.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002517/1.438, allocations: 201.9 kB / 0.6453 GB, free: 39.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.4e-07/1.438, allocations: 0 / 0.6453 GB, free: 39.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008508/1.439, allocations: 167.9 kB / 0.6455 GB, free: 39.48 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 () * 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.0004236/1.44, allocations: 238.2 kB / 0.6457 GB, free: 39.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006242/1.44, allocations: 223.8 kB / 0.6459 GB, free: 39.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.44, allocations: 0 / 0.6459 GB, free: 39.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/1.441, allocations: 128.6 kB / 0.6461 GB, free: 38.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.442, allocations: 152.7 kB / 0.6462 GB, free: 38.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/1.443, allocations: 0.7919 MB / 0.647 GB, free: 37.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/1.443, allocations: 0.7766 MB / 0.6477 GB, free: 37.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.443, allocations: 35.42 kB / 0.6478 GB, free: 37.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.615e-06/1.443, allocations: 0 / 0.6478 GB, free: 37.09 MB / 346.7 MB Notification: Performance of Templates: time 0.01189/1.455, allocations: 7.319 MB / 0.6549 GB, free: 29.78 MB / 346.7 MB