Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadModel(ModelicaTest): time 1.8/1.8, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.753e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4635, allocations: 75.77 MB / 402.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.4637, allocations: 71.84 kB / 402.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.4785, allocations: 4.081 MB / 406.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4786, allocations: 4 kB / 406.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4786, allocations: 0 / 406.5 MB, free: 8.484 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003781/0.479, allocations: 417.6 kB / 406.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4791, allocations: 7.688 kB / 406.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.4791, allocations: 7.781 kB / 406.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.4793, allocations: 207.8 kB / 407.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4794, allocations: 3.875 kB / 407.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4794, allocations: 3.812 kB / 407.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4795, allocations: 49.14 kB / 407.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4795, allocations: 4 kB / 407.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.4795, allocations: 0 / 407.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-06/0.4796, allocations: 0 / 407.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.4796, allocations: 14.91 kB / 407.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.48, allocations: 287.8 kB / 407.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4802, allocations: 53.19 kB / 407.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.4802, allocations: 16.52 kB / 407.5 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.4803, allocations: 0 / 407.5 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.4804, allocations: 61.2 kB / 407.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.421e-06/0.4804, allocations: 0 / 407.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003776/0.4808, allocations: 109.4 kB / 407.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.4808, allocations: 51.41 kB / 407.7 MB, free: 7.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.481, allocations: 179.4 kB / 407.9 MB, free: 7.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4811, allocations: 29.7 kB / 407.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.4811, allocations: 164.7 kB / 408.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.4811, allocations: 11.66 kB / 408.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.4812, allocations: 3.312 kB / 408.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.4812, allocations: 314.8 kB / 408.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.4813, allocations: 21.72 kB / 408.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.4813, allocations: 25.69 kB / 408.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.4814, allocations: 55.59 kB / 408.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-06/0.4814, allocations: 0 / 408.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002081/0.4817, allocations: 127.2 kB / 408.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.4817, allocations: 33.02 kB / 408.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4817, allocations: 0 / 408.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4818, allocations: 3.812 kB / 408.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.4818, allocations: 11.62 kB / 408.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.257e-06/0.4818, allocations: 3.984 kB / 408.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.4819, allocations: 11.2 kB / 408.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.4819, allocations: 8.016 kB / 408.7 MB, free: 6.492 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.717e-05/0.482, allocations: 113.1 kB / 408.8 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.482, allocations: 15.66 kB / 408.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.4823, allocations: 86.67 kB / 408.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4823, allocations: 0 / 408.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-06/0.4823, allocations: 7.625 kB / 408.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-06/0.4823, allocations: 0 / 408.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.4827, allocations: 354.3 kB / 409.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-06/0.4827, allocations: 0 / 409.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.4827, allocations: 3.688 kB / 409.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-06/0.4827, allocations: 7.875 kB / 409.3 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4828, allocations: 0 / 409.3 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-06/0.4828, allocations: 0 / 409.3 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-06/0.4828, allocations: 0 / 409.3 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.483, allocations: 188.9 kB / 409.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.483, allocations: 84.92 kB / 409.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4831, allocations: 3.984 kB / 409.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.4832, allocations: 3.781 kB / 409.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.4832, allocations: 11.25 kB / 409.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.95e-06/0.4833, allocations: 0 / 409.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.4834, allocations: 145.4 kB / 409.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4834, allocations: 0 / 409.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.4838, allocations: 37.75 kB / 409.8 MB, free: 5.645 MB / 314.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001012/0.4848, allocations: 355.8 kB / 410.1 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.485, allocations: 111.9 kB / 410.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.485, allocations: 3.938 kB / 410.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.4851, allocations: 15.22 kB / 410.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4854, allocations: 15.2 kB / 410.2 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.4858, allocations: 174.1 kB / 410.4 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.4859, allocations: 0.7074 MB / 411.1 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.486, allocations: 18.59 kB / 411.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.431e-06/0.486, allocations: 0 / 411.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of Templates: time 0.00355/0.4895, allocations: 1.735 MB / 412.9 MB, free: 3.629 MB / 314.7 MB