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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3385, allocations: 48.71 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.4693, allocations: 74.52 MB / 406.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4697, allocations: 71.97 kB / 406.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.4825, allocations: 2.971 MB / 409.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4825, allocations: 4 kB / 409.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.4826, allocations: 4 kB / 409.4 MB, free: 0.875 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.000547/0.4831, allocations: 420.7 kB / 409.8 MB, free: 420 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4832, allocations: 8.031 kB / 409.8 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.4832, allocations: 11.91 kB / 409.8 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4835, allocations: 203.3 kB / 410 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4836, allocations: 0 / 410 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.4836, allocations: 4 kB / 410 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4838, allocations: 53.69 kB / 410.1 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4838, allocations: 3.938 kB / 410.1 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4839, allocations: 0 / 410.1 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4839, allocations: 0 / 410.1 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.484, allocations: 31.97 kB / 410.1 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.4845, allocations: 280.9 kB / 410.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.4848, allocations: 46.5 kB / 410.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.4849, allocations: 4 kB / 410.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4849, allocations: 30.56 kB / 410.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.4849, allocations: 0 / 410.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008408/0.4858, allocations: 161.3 kB / 410.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4858, allocations: 51.41 kB / 410.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.4861, allocations: 202.3 kB / 410.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.4862, allocations: 25.7 kB / 410.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.4862, allocations: 162.6 kB / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.4863, allocations: 19.78 kB / 411.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4863, allocations: 0 / 411.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4864, allocations: 318.8 kB / 411.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4866, allocations: 23.98 kB / 411.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4867, allocations: 27.98 kB / 411.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.4869, allocations: 49.69 kB / 411.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4869, allocations: 0 / 411.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003617/0.4873, allocations: 119.3 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.4873, allocations: 37.69 kB / 411.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4874, allocations: 0 / 411.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4874, allocations: 0 / 411.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4875, allocations: 16 kB / 411.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4875, allocations: 0 / 411.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.4876, allocations: 12.17 kB / 411.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.4877, allocations: 8 kB / 411.7 MB, free: 14.35 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.0001302/0.4878, allocations: 133.7 kB / 411.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.4879, allocations: 11.81 kB / 411.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.4883, allocations: 105.9 kB / 411.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4883, allocations: 0 / 411.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4883, allocations: 0 / 411.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4883, allocations: 4 kB / 411.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.489, allocations: 366.5 kB / 412.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.489, allocations: 0 / 412.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4892, allocations: 15.98 kB / 412.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4892, allocations: 4 kB / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4892, allocations: 0 / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4892, allocations: 0 / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4892, allocations: 3.938 kB / 412.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.4896, allocations: 187.4 kB / 412.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.4897, allocations: 97.02 kB / 412.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4897, allocations: 0 / 412.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4898, allocations: 8 kB / 412.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.4899, allocations: 4.266 kB / 412.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4899, allocations: 4 kB / 412.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.4901, allocations: 145.9 kB / 412.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4901, allocations: 0 / 412.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.4905, allocations: 23.94 kB / 412.7 MB, free: 13.15 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.0006746/0.4912, allocations: 263.1 kB / 413 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.4916, allocations: 115.3 kB / 413.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4916, allocations: 0 / 413.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.4918, allocations: 31.92 kB / 413.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.492, allocations: 11.98 kB / 413.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.4927, allocations: 271.5 kB / 413.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.493, allocations: 0.7004 MB / 414.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.4931, allocations: 19.38 kB / 414.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4931, allocations: 0 / 414.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of Templates: time 0.004283/0.4974, allocations: 1.318 MB / 415.5 MB, free: 10.41 MB / 346.7 MB