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.Test5.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.Test5,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.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.02/2.02, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 8 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4954, allocations: 74.53 MB / 406.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.4958, allocations: 75.97 kB / 406.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01284/0.5086, allocations: 3.03 MB / 409.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5087, allocations: 0 / 409.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.5087, allocations: 4 kB / 409.4 MB, free: 0.8008 MB / 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.0005807/0.5093, allocations: 423.5 kB / 409.8 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5094, allocations: 12.03 kB / 409.9 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.5094, allocations: 15.84 kB / 409.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.5098, allocations: 206.8 kB / 410.1 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5098, allocations: 3.938 kB / 410.1 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.5098, allocations: 4 kB / 410.1 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.51, allocations: 45.69 kB / 410.1 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5101, allocations: 0 / 410.1 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5101, allocations: 4 kB / 410.1 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5101, allocations: 0 / 410.1 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.5103, allocations: 35.97 kB / 410.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.5108, allocations: 288.8 kB / 410.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.5111, allocations: 54.48 kB / 410.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.5112, allocations: 0 / 410.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5112, allocations: 38.56 kB / 410.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.5112, allocations: 0 / 410.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008859/0.5121, allocations: 177.3 kB / 410.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.5122, allocations: 55.41 kB / 410.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.5125, allocations: 210.1 kB / 411 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.5125, allocations: 25.7 kB / 411 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.5126, allocations: 166.6 kB / 411.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.5127, allocations: 15.8 kB / 411.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.5127, allocations: 0 / 411.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5128, allocations: 322.8 kB / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.513, allocations: 23.98 kB / 411.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.5131, allocations: 27.97 kB / 411.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.5133, allocations: 57.69 kB / 411.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5133, allocations: 4 kB / 411.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004055/0.5137, allocations: 119.3 kB / 411.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.5138, allocations: 37.69 kB / 411.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5138, allocations: 0 / 411.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5138, allocations: 3.938 kB / 411.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.514, allocations: 12 kB / 411.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.514, allocations: 7.938 kB / 411.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.5141, allocations: 11.98 kB / 411.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5141, allocations: 0 / 411.8 MB, free: 14.21 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.0001425/0.5143, allocations: 130.7 kB / 411.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.5143, allocations: 11.81 kB / 411.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.5148, allocations: 121.9 kB / 412.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.5148, allocations: 3.984 kB / 412.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5148, allocations: 0 / 412.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5148, allocations: 0 / 412.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/0.5155, allocations: 386.5 kB / 412.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5155, allocations: 3.938 kB / 412.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5157, allocations: 12 kB / 412.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5157, allocations: 0 / 412.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.5157, allocations: 4.359 kB / 412.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5157, allocations: 0 / 412.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5157, allocations: 4 kB / 412.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.5161, allocations: 195.7 kB / 412.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.5162, allocations: 96.91 kB / 412.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.5163, allocations: 0 / 412.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5164, allocations: 8 kB / 412.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.5165, allocations: 7.969 kB / 412.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.5165, allocations: 8 kB / 412.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.5167, allocations: 159.2 kB / 412.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.837e-06/0.5167, allocations: 0 / 412.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.5171, allocations: 35.86 kB / 413 MB, free: 12.93 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.000741/0.5178, allocations: 249.8 kB / 413.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.5182, allocations: 115.4 kB / 413.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5183, allocations: 3.938 kB / 413.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.5184, allocations: 31.92 kB / 413.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5187, allocations: 15.98 kB / 413.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.5194, allocations: 287.2 kB / 413.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5197, allocations: 0.7083 MB / 414.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.5198, allocations: 19.42 kB / 414.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5198, allocations: 0 / 414.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of Templates: time 0.004528/0.5243, allocations: 1.416 MB / 415.8 MB, free: 10.08 MB / 346.7 MB