Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3587, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4977, allocations: 74.74 MB / 406.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4981, allocations: 79.95 kB / 406.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.5121, allocations: 3.369 MB / 410 MB, free: 276 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5122, allocations: 0 / 410 MB, free: 276 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5122, allocations: 0 / 410 MB, free: 276 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006282/0.5129, allocations: 416 kB / 410.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5129, allocations: 11.97 kB / 410.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.513, allocations: 7.906 kB / 410.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.5132, allocations: 186.9 kB / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5133, allocations: 0 / 410.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.5133, allocations: 8 kB / 410.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.5136, allocations: 75.39 kB / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5136, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.5136, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5137, allocations: 0 / 410.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.5139, allocations: 43.91 kB / 410.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.5144, allocations: 292.7 kB / 411 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.5146, allocations: 50.56 kB / 411.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.5147, allocations: 0 / 411.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.5147, allocations: 38.55 kB / 411.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.5147, allocations: 3.938 kB / 411.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.00129/0.516, allocations: 233.4 kB / 411.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.5161, allocations: 89 kB / 411.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5163, allocations: 117.8 kB / 411.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5163, allocations: 25.7 kB / 411.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.5164, allocations: 162.5 kB / 411.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5165, allocations: 23.66 kB / 411.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5165, allocations: 0 / 411.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5166, allocations: 318.8 kB / 412 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.5169, allocations: 43.97 kB / 412.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.5171, allocations: 61.67 kB / 412.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.5174, allocations: 74.02 kB / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5174, allocations: 0 / 412.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005817/0.518, allocations: 159.3 kB / 412.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.5181, allocations: 29.7 kB / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5181, allocations: 3.984 kB / 412.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5181, allocations: 7.938 kB / 412.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.5184, allocations: 27.92 kB / 412.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5184, allocations: 3.953 kB / 412.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.5185, allocations: 19.98 kB / 412.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5185, allocations: 0 / 412.5 MB, free: 13.54 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 (8): * Single equations (assignments): 7 * 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.0001256/0.5187, allocations: 113.8 kB / 412.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.5187, allocations: 7.906 kB / 412.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.5194, allocations: 141.9 kB / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5194, allocations: 0 / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5194, allocations: 0 / 412.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5194, allocations: 7.953 kB / 412.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/0.5203, allocations: 394.5 kB / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5204, allocations: 0 / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.5205, allocations: 27.98 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.5206, allocations: 4 kB / 413.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5206, allocations: 7.938 kB / 413.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5206, allocations: 3.953 kB / 413.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5206, allocations: 0 / 413.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.5212, allocations: 219.4 kB / 413.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.5213, allocations: 89 kB / 413.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.5213, allocations: 0 / 413.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.5215, allocations: 23.98 kB / 413.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.5216, allocations: 7.938 kB / 413.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5216, allocations: 4 kB / 413.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.706e-05/0.5217, allocations: 91.27 kB / 413.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5217, allocations: 0 / 413.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004/0.5221, allocations: 39.92 kB / 413.6 MB, free: 12.27 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 (7): * Single equations (assignments): 7 * 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.0009723/0.5231, allocations: 334.6 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.5238, allocations: 159.3 kB / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5238, allocations: 0 / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.524, allocations: 55.91 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5243, allocations: 11.94 kB / 414.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.5249, allocations: 202.9 kB / 414.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5252, allocations: 0.6887 MB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.5253, allocations: 19.42 kB / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5254, allocations: 0 / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of Templates: time 0.004885/0.5303, allocations: 1.54 MB / 416.6 MB, free: 9.273 MB / 346.7 MB