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.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005944/0.0005945, allocations: 8 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3723, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.5118, allocations: 74.74 MB / 406.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5121, allocations: 83.94 kB / 406.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.526, allocations: 3.386 MB / 410 MB, free: 252 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5261, allocations: 0 / 410 MB, free: 252 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5261, allocations: 0 / 410 MB, free: 252 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005737/0.5267, allocations: 396.9 kB / 410.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5268, allocations: 8.031 kB / 410.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.5268, allocations: 15.91 kB / 410.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.5271, allocations: 182.9 kB / 410.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5272, allocations: 11.94 kB / 410.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5272, allocations: 0 / 410.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.5274, allocations: 63.41 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5275, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.5275, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.5275, allocations: 7.984 kB / 410.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.5277, allocations: 27.98 kB / 410.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.5281, allocations: 284.7 kB / 411 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.5284, allocations: 42.56 kB / 411 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5285, allocations: 4 kB / 411 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5285, allocations: 30.56 kB / 411.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.5285, allocations: 0 / 411.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000831/0.5293, allocations: 157.5 kB / 411.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5294, allocations: 77.11 kB / 411.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.5296, allocations: 125.8 kB / 411.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.5296, allocations: 25.7 kB / 411.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.5297, allocations: 158.6 kB / 411.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.5298, allocations: 11.75 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.5298, allocations: 8 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.53, allocations: 314.8 kB / 411.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5301, allocations: 23.98 kB / 411.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.5303, allocations: 49.62 kB / 412 MB, free: 14.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.5305, allocations: 53.72 kB / 412 MB, free: 13.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5305, allocations: 0 / 412 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003719/0.5309, allocations: 119.6 kB / 412.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.5309, allocations: 33.7 kB / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.531, allocations: 0 / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.531, allocations: 4 kB / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5311, allocations: 15.98 kB / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5311, allocations: 0 / 412.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.5312, allocations: 11.98 kB / 412.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.5312, allocations: 3.984 kB / 412.2 MB, free: 13.77 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 (6): * Single equations (assignments): 5 * 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.0001172/0.5314, allocations: 121.7 kB / 412.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.5314, allocations: 4 kB / 412.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.5318, allocations: 97.62 kB / 412.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5318, allocations: 0 / 412.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5318, allocations: 0 / 412.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5318, allocations: 3.938 kB / 412.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.5325, allocations: 362.7 kB / 412.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5325, allocations: 0 / 412.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5326, allocations: 20.05 kB / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5326, allocations: 4 kB / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5327, allocations: 0 / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5327, allocations: 0 / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5327, allocations: 0 / 412.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.533, allocations: 187.5 kB / 413 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.5331, allocations: 81.02 kB / 413.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.5332, allocations: 11.88 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5333, allocations: 15.98 kB / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.5333, allocations: 0 / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.5334, allocations: 4 kB / 413.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.5335, allocations: 91.27 kB / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5335, allocations: 4 kB / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.5338, allocations: 27.98 kB / 413.2 MB, free: 12.65 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 (5): * Single equations (assignments): 5 * 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.0009439/0.5348, allocations: 329.6 kB / 413.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.5352, allocations: 115.4 kB / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.5353, allocations: 0 / 413.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5354, allocations: 35.86 kB / 413.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.5357, allocations: 8 kB / 413.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.5362, allocations: 183.1 kB / 413.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5365, allocations: 0.6887 MB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.5366, allocations: 15.42 kB / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5366, allocations: 0 / 414.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of Templates: time 0.004682/0.5413, allocations: 1.434 MB / 416 MB, free: 9.848 MB / 346.7 MB