Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001026, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3932, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5331, allocations: 74.8 MB / 406.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5335, allocations: 75.95 kB / 406.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.015/0.5485, allocations: 3.657 MB / 410.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5485, allocations: 0 / 410.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.5486, allocations: 0 / 410.3 MB, free: 15.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005398/0.5491, allocations: 404.9 kB / 410.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5492, allocations: 8.031 kB / 410.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.5493, allocations: 15.84 kB / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.5495, allocations: 198.8 kB / 410.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5496, allocations: 4 kB / 410.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5496, allocations: 4 kB / 411 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.5499, allocations: 75.39 kB / 411 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5499, allocations: 4 kB / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5499, allocations: 0 / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5499, allocations: 3.938 kB / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.5501, allocations: 35.97 kB / 411.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.5506, allocations: 300.7 kB / 411.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.5508, allocations: 50.56 kB / 411.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.5508, allocations: 4 kB / 411.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.5509, allocations: 38.67 kB / 411.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.5509, allocations: 0 / 411.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009572/0.5519, allocations: 193.4 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.5519, allocations: 81.11 kB / 411.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.5521, allocations: 133.7 kB / 411.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5522, allocations: 29.7 kB / 411.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.5523, allocations: 158.8 kB / 412 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.5523, allocations: 31.55 kB / 412.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.5524, allocations: 0 / 412.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5525, allocations: 314.8 kB / 412.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.5527, allocations: 31.98 kB / 412.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.5529, allocations: 53.69 kB / 412.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.5531, allocations: 61.69 kB / 412.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5531, allocations: 0 / 412.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004681/0.5536, allocations: 147.5 kB / 412.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.5536, allocations: 29.7 kB / 412.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5536, allocations: 0 / 412.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5536, allocations: 0 / 412.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.5538, allocations: 19.98 kB / 412.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5539, allocations: 8.062 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.5539, allocations: 8 kB / 412.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.554, allocations: 7.953 kB / 412.7 MB, free: 13.25 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 0.0001224/0.5541, allocations: 125.8 kB / 412.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.5542, allocations: 7.906 kB / 412.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.5546, allocations: 125.9 kB / 413 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5546, allocations: 0 / 413 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5547, allocations: 4 kB / 413 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5547, allocations: 0 / 413 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.5555, allocations: 398.4 kB / 413.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5555, allocations: 0 / 413.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5556, allocations: 23.98 kB / 413.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.5557, allocations: 0 / 413.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5557, allocations: 0 / 413.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5557, allocations: 0 / 413.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5557, allocations: 3.953 kB / 413.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.5562, allocations: 215.3 kB / 413.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.5563, allocations: 81.11 kB / 413.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.5563, allocations: 3.984 kB / 413.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5564, allocations: 4 kB / 413.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.5565, allocations: 11.98 kB / 413.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.5565, allocations: 8.328 kB / 413.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.5566, allocations: 99.27 kB / 413.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5567, allocations: 0 / 413.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.557, allocations: 39.84 kB / 413.9 MB, free: 12.02 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009542/0.558, allocations: 334.6 kB / 414.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.5584, allocations: 135.3 kB / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5585, allocations: 4 kB / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.5586, allocations: 31.98 kB / 414.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.5589, allocations: 11.98 kB / 414.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.5595, allocations: 223.4 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5598, allocations: 0.7004 MB / 415.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.5599, allocations: 11.44 kB / 415.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5599, allocations: 4 kB / 415.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of Templates: time 0.005102/0.5651, allocations: 1.625 MB / 416.9 MB, free: 8.945 MB / 346.7 MB