Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,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.CombiTable1D.Test23") Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004349, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4369, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.6085, allocations: 74.75 MB / 406.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6089, allocations: 71.97 kB / 406.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.6227, allocations: 3.413 MB / 410 MB, free: 208 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6228, allocations: 0 / 410 MB, free: 208 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.6228, allocations: 0 / 410 MB, free: 208 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.0005399/0.6233, allocations: 404 kB / 410.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6234, allocations: 8.031 kB / 410.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.6235, allocations: 11.89 kB / 410.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.6237, allocations: 183 kB / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6238, allocations: 0 / 410.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.6238, allocations: 8 kB / 410.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.624, allocations: 67.39 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.624, allocations: 0 / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.6241, allocations: 0 / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.6241, allocations: 0 / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.6242, allocations: 23.98 kB / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.6247, allocations: 296.7 kB / 411 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.625, allocations: 42.56 kB / 411.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.6251, allocations: 8 kB / 411.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.6251, allocations: 34.56 kB / 411.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.6251, allocations: 0 / 411.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008646/0.626, allocations: 169.4 kB / 411.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.6261, allocations: 77.11 kB / 411.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.6262, allocations: 117.8 kB / 411.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6263, allocations: 25.7 kB / 411.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.6264, allocations: 162.5 kB / 411.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.6264, allocations: 15.75 kB / 411.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.6264, allocations: 3.938 kB / 411.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6266, allocations: 318.8 kB / 412 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.6267, allocations: 27.98 kB / 412 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.6269, allocations: 49.62 kB / 412 MB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.6271, allocations: 53.69 kB / 412.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6271, allocations: 11.97 kB / 412.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00039/0.6275, allocations: 123.3 kB / 412.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.6276, allocations: 29.7 kB / 412.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6276, allocations: 256 / 412.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6276, allocations: 0 / 412.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6277, allocations: 23.98 kB / 412.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6278, allocations: 0 / 412.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.6279, allocations: 12 kB / 412.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6279, allocations: 0 / 412.3 MB, free: 13.69 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.0001203/0.628, allocations: 125.7 kB / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.6281, allocations: 4 kB / 412.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.6285, allocations: 109.6 kB / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6285, allocations: 0 / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6285, allocations: 0 / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6285, allocations: 0 / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.6292, allocations: 374.3 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6292, allocations: 0 / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6293, allocations: 15.98 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.6294, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.6294, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6294, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6294, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.6298, allocations: 195.4 kB / 413.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.6299, allocations: 85.02 kB / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.6299, allocations: 4 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.63, allocations: 7.984 kB / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.6301, allocations: 0 / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.6301, allocations: 8 kB / 413.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.6302, allocations: 99.2 kB / 413.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6302, allocations: 4 kB / 413.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.6306, allocations: 23.98 kB / 413.3 MB, free: 12.55 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.000945/0.6316, allocations: 338.5 kB / 413.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.632, allocations: 115.4 kB / 413.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.632, allocations: 4 kB / 413.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.6322, allocations: 35.91 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6324, allocations: 8 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.633, allocations: 195 kB / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.6333, allocations: 0.6887 MB / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.6334, allocations: 15.42 kB / 414.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6334, allocations: 0 / 414.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Templates: time 0.004745/0.6381, allocations: 1.477 MB / 416.2 MB, free: 9.684 MB / 346.7 MB