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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.576/1.576, allocations: 171.3 MB / 179.2 MB, free: 8.18 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.577e-05, allocations: 0 / 222.5 MB, free: 8.797 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06499/0.06503, allocations: 38.77 MB / 261.3 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5637/0.6288, allocations: 181.6 MB / 442.9 MB, free: 117.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.6291, allocations: 75.95 kB / 443 MB, free: 117.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06352/0.6926, allocations: 22.11 MB / 465.1 MB, free: 95.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.979e-06/0.6926, allocations: 0 / 465.1 MB, free: 95.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.6927, allocations: 0 / 465.1 MB, free: 95.2 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.0004097/0.6931, allocations: 426.1 kB / 465.5 MB, free: 94.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.6931, allocations: 8.031 kB / 465.5 MB, free: 94.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.6935, allocations: 27.89 kB / 465.5 MB, free: 94.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.6937, allocations: 202.8 kB / 465.7 MB, free: 94.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6937, allocations: 7.953 kB / 465.7 MB, free: 94.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.6938, allocations: 4 kB / 465.8 MB, free: 94.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/0.694, allocations: 99.94 kB / 465.8 MB, free: 94.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.6942, allocations: 117.1 kB / 466 MB, free: 94.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6942, allocations: 3.938 kB / 466 MB, free: 94.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.6942, allocations: 0 / 466 MB, free: 94.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-06/0.6942, allocations: 4 kB / 466 MB, free: 94.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.6948, allocations: 0.5915 MB / 466.6 MB, free: 93.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.695, allocations: 70.56 kB / 466.6 MB, free: 93.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.695, allocations: 36.86 kB / 466.7 MB, free: 93.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.6955, allocations: 0.8114 MB / 467.5 MB, free: 92.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.6956, allocations: 42.55 kB / 467.5 MB, free: 92.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.188e-06/0.6956, allocations: 0 / 467.5 MB, free: 92.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007413/0.6963, allocations: 129.9 kB / 467.6 MB, free: 92.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.6964, allocations: 59.39 kB / 467.7 MB, free: 92.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.6964, allocations: 105.1 kB / 467.8 MB, free: 92.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.6965, allocations: 25.7 kB / 467.8 MB, free: 92.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.6965, allocations: 174.3 kB / 468 MB, free: 91.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.6966, allocations: 39.36 kB / 468 MB, free: 91.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-06/0.6966, allocations: 4.375 kB / 468 MB, free: 91.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.6966, allocations: 318.8 kB / 468.4 MB, free: 91.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.6967, allocations: 19.98 kB / 468.4 MB, free: 91.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.6968, allocations: 65.09 kB / 468.4 MB, free: 91.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.6973, allocations: 72.62 kB / 468.5 MB, free: 91.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-06/0.6974, allocations: 0 / 468.5 MB, free: 91.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007006/0.6981, allocations: 157.5 kB / 468.7 MB, free: 91.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6981, allocations: 4 kB / 468.7 MB, free: 91.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.039e-06/0.6981, allocations: 0 / 468.7 MB, free: 91.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6981, allocations: 4 kB / 468.7 MB, free: 91.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.6983, allocations: 35.94 kB / 468.7 MB, free: 91.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.905e-06/0.6983, allocations: 8.141 kB / 468.7 MB, free: 91.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.6984, allocations: 15.84 kB / 468.7 MB, free: 91.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.6984, allocations: 4 kB / 468.7 MB, free: 91.13 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 5.93e-05/0.6985, allocations: 108.9 kB / 468.8 MB, free: 91.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.6986, allocations: 4 kB / 468.8 MB, free: 91.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007447/0.6993, allocations: 174.5 kB / 469 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6993, allocations: 0 / 469 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-06/0.6994, allocations: 3.953 kB / 469 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.293e-06/0.6994, allocations: 0 / 469 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.7002, allocations: 386.9 kB / 469.4 MB, free: 90.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.7002, allocations: 0 / 469.4 MB, free: 90.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.7003, allocations: 23.98 kB / 469.4 MB, free: 90.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7003, allocations: 0 / 469.4 MB, free: 90.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.7004, allocations: 3.938 kB / 469.4 MB, free: 90.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7004, allocations: 19.89 kB / 469.4 MB, free: 90.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.377e-06/0.7004, allocations: 0 / 469.4 MB, free: 90.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.701, allocations: 219.4 kB / 469.7 MB, free: 90.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.7011, allocations: 105 kB / 469.8 MB, free: 90.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.7011, allocations: 0 / 469.8 MB, free: 90.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7012, allocations: 3.938 kB / 469.8 MB, free: 90.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.7013, allocations: 11.94 kB / 469.8 MB, free: 90 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.7013, allocations: 4 kB / 469.8 MB, free: 90 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.7014, allocations: 91.28 kB / 469.9 MB, free: 89.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.7014, allocations: 0 / 469.9 MB, free: 89.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.7018, allocations: 59.98 kB / 469.9 MB, free: 89.85 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.0002401/0.7021, allocations: 159.3 kB / 470.1 MB, free: 89.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.7023, allocations: 71.92 kB / 470.2 MB, free: 89.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.779e-06/0.7023, allocations: 0 / 470.2 MB, free: 89.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/0.7023, allocations: 35.94 kB / 470.2 MB, free: 89.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.7027, allocations: 36.27 kB / 470.2 MB, free: 89.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.703, allocations: 138 kB / 470.4 MB, free: 89.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.7032, allocations: 0.6967 MB / 471.1 MB, free: 88.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.7033, allocations: 27.42 kB / 471.1 MB, free: 88.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.315e-06/0.7033, allocations: 0 / 471.1 MB, free: 88.62 MB / 346.7 MB Notification: Performance of Templates: time 0.004283/0.7076, allocations: 2.267 MB / 473.3 MB, free: 86.36 MB / 346.7 MB