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.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.987e-05, allocations: 7.938 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 38.76 MB / 267.6 MB, free: 9.43 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.6141, allocations: 182.3 MB / 449.9 MB, free: 1.508 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.6144, allocations: 71.97 kB / 449.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07958/0.694, allocations: 22.26 MB / 472.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.694, allocations: 0 / 472.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.6941, allocations: 3.984 kB / 472.2 MB, free: 14.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006626/0.6947, allocations: 429.1 kB / 472.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6948, allocations: 15.97 kB / 472.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.6952, allocations: 23.89 kB / 472.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.6955, allocations: 194.2 kB / 472.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.6955, allocations: 11.64 kB / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.6955, allocations: 11.56 kB / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.6958, allocations: 130.7 kB / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.28e-06/0.6958, allocations: 0 / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.6959, allocations: 7.688 kB / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-06/0.6959, allocations: 4 kB / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.6961, allocations: 106 kB / 473.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.697, allocations: 0.6239 MB / 473.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.6972, allocations: 89 kB / 473.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.6973, allocations: 35.73 kB / 473.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008466/0.6981, allocations: 0.8033 MB / 474.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.6982, allocations: 38.5 kB / 474.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.236e-06/0.6982, allocations: 0 / 474.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000298/0.6985, allocations: 100 kB / 474.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.6986, allocations: 59.41 kB / 474.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.6987, allocations: 112.9 kB / 475 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.6988, allocations: 25.7 kB / 475 MB, free: 11.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6989, allocations: 174.2 kB / 475.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.6989, allocations: 46.03 kB / 475.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-06/0.699, allocations: 0 / 475.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6991, allocations: 318.6 kB / 475.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.6992, allocations: 23.38 kB / 475.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.6993, allocations: 69.05 kB / 475.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.6994, allocations: 34.86 kB / 475.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6994, allocations: 0 / 475.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002933/0.6997, allocations: 135.2 kB / 475.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6998, allocations: 8 kB / 475.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-06/0.6998, allocations: 3.953 kB / 475.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6998, allocations: 4 kB / 475.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.7, allocations: 27.98 kB / 475.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.7, allocations: 11.92 kB / 475.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.7001, allocations: 19.28 kB / 475.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.7002, allocations: 4 kB / 475.8 MB, free: 10.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.799e-05/0.7003, allocations: 113 kB / 476 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.7003, allocations: 7.906 kB / 476 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.7007, allocations: 148.2 kB / 476.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-06/0.7008, allocations: 3.953 kB / 476.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-06/0.7008, allocations: 0 / 476.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-06/0.7008, allocations: 7.984 kB / 476.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.7015, allocations: 391.8 kB / 476.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-06/0.7015, allocations: 0 / 476.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.7016, allocations: 31.36 kB / 476.5 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.7016, allocations: 3.953 kB / 476.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.7017, allocations: 4 kB / 476.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.855e-06/0.7017, allocations: 0 / 476.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.034e-06/0.7017, allocations: 3.984 kB / 476.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.702, allocations: 201 kB / 476.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.7021, allocations: 99.73 kB / 476.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.7021, allocations: 6.953 kB / 476.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.7023, allocations: 7.938 kB / 476.9 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.7023, allocations: 19.11 kB / 476.9 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.7024, allocations: 4 kB / 476.9 MB, free: 9.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.467e-05/0.7025, allocations: 90.33 kB / 477 MB, free: 9.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.7025, allocations: 0 / 477 MB, free: 9.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000496/0.703, allocations: 59.25 kB / 477 MB, free: 9.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003362/0.7033, allocations: 161.6 kB / 477.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.7036, allocations: 86.86 kB / 477.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.478e-06/0.7036, allocations: 0 / 477.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.7037, allocations: 35.31 kB / 477.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.7041, allocations: 37.55 kB / 477.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.7045, allocations: 159.1 kB / 477.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.7049, allocations: 0.7008 MB / 478.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.705, allocations: 26.23 kB / 478.2 MB, free: 8.027 MB / 346.7 MB Notification: Performance of SimCode: time 1.733e-06/0.705, allocations: 0 / 478.2 MB, free: 8.027 MB / 346.7 MB Notification: Performance of Templates: time 0.005239/0.7102, allocations: 2.246 MB / 480.5 MB, free: 5.797 MB / 346.7 MB