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.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.CombiTable1D.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.CombiTable1D.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004379, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3708, allocations: 48.7 MB / 331.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.5112, allocations: 74.75 MB / 406.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5116, allocations: 79.95 kB / 406.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.5266, allocations: 3.402 MB / 410 MB, free: 232 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5267, allocations: 0 / 410 MB, free: 232 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5267, allocations: 4 kB / 410 MB, free: 228 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.0006242/0.5274, allocations: 404.9 kB / 410.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5274, allocations: 8.031 kB / 410.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.5275, allocations: 7.906 kB / 410.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.5278, allocations: 187 kB / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5278, allocations: 0 / 410.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.5278, allocations: 3.984 kB / 410.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.5281, allocations: 67.34 kB / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5281, allocations: 0 / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5281, allocations: 4 kB / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5282, allocations: 4 kB / 410.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.5283, allocations: 31.97 kB / 410.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.5289, allocations: 284.8 kB / 411 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.5292, allocations: 50.5 kB / 411.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5293, allocations: 0 / 411.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.5293, allocations: 42.64 kB / 411.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.5293, allocations: 0 / 411.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009511/0.5303, allocations: 157.4 kB / 411.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.5304, allocations: 81.11 kB / 411.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.5306, allocations: 129.7 kB / 411.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.5306, allocations: 25.7 kB / 411.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.5307, allocations: 158.6 kB / 411.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.5307, allocations: 15.75 kB / 411.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.5308, allocations: 4 kB / 411.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5309, allocations: 318.8 kB / 412 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5311, allocations: 27.92 kB / 412 MB, free: 14.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.5312, allocations: 45.7 kB / 412 MB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.5314, allocations: 57.69 kB / 412.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5315, allocations: 3.984 kB / 412.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004155/0.5319, allocations: 127.2 kB / 412.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.532, allocations: 33.7 kB / 412.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.532, allocations: 0 / 412.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.532, allocations: 3.984 kB / 412.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.5321, allocations: 12 kB / 412.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5322, allocations: 0 / 412.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.5323, allocations: 7.984 kB / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.5323, allocations: 8 kB / 412.3 MB, free: 13.7 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.0001282/0.5324, allocations: 121.8 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.5325, allocations: 4 kB / 412.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.533, allocations: 105.5 kB / 412.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.533, allocations: 0 / 412.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.533, allocations: 0 / 412.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.533, allocations: 8 kB / 412.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.5337, allocations: 354.8 kB / 412.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5338, allocations: 3.984 kB / 412.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5339, allocations: 19.94 kB / 412.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5339, allocations: 4 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.534, allocations: 8 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.534, allocations: 0 / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.534, allocations: 3.984 kB / 412.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.5344, allocations: 187.5 kB / 413.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.5345, allocations: 89 kB / 413.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.5346, allocations: 4 kB / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5347, allocations: 4 kB / 413.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.5347, allocations: 7.984 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.5348, allocations: 0 / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.5349, allocations: 99.27 kB / 413.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.176e-06/0.5349, allocations: 0 / 413.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.5353, allocations: 23.94 kB / 413.3 MB, free: 12.57 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.0009763/0.5363, allocations: 337.8 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.5368, allocations: 119.4 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5368, allocations: 0 / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.537, allocations: 31.98 kB / 413.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.5373, allocations: 4 kB / 413.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.5378, allocations: 206.9 kB / 414 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.5382, allocations: 0.6926 MB / 414.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.5383, allocations: 11.44 kB / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5383, allocations: 0 / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of Templates: time 0.006039/0.5444, allocations: 1.469 MB / 416.2 MB, free: 9.707 MB / 346.7 MB