Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.09/2.09, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.093e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2716, allocations: 54.85 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.4624, allocations: 80.19 MB / 438.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4626, allocations: 67.95 kB / 438.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.4738, allocations: 2.684 MB / 441 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.275e-06/0.4738, allocations: 0 / 441 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.4738, allocations: 11.94 kB / 441 MB, free: 11.86 MB / 378.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.0004829/0.4743, allocations: 380.9 kB / 441.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4744, allocations: 12.03 kB / 441.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.4744, allocations: 7.859 kB / 441.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.4747, allocations: 190.9 kB / 441.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-06/0.4747, allocations: 3.938 kB / 441.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4748, allocations: 0 / 441.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.493e-05/0.4749, allocations: 8 kB / 441.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.46e-05/0.475, allocations: 49.62 kB / 441.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.475, allocations: 0 / 441.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-06/0.475, allocations: 0 / 441.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.475, allocations: 3.953 kB / 441.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.4754, allocations: 249.4 kB / 441.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.4756, allocations: 38.56 kB / 441.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.4757, allocations: 12.86 kB / 441.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4757, allocations: 0 / 441.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4757, allocations: 38.5 kB / 442 MB, free: 10.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.85e-06/0.4757, allocations: 0 / 442 MB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004461/0.4762, allocations: 95.34 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4763, allocations: 55.41 kB / 442.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.4764, allocations: 121.2 kB / 442.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.4765, allocations: 29.7 kB / 442.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.4766, allocations: 162.5 kB / 442.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4766, allocations: 19.69 kB / 442.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-06/0.4766, allocations: 0 / 442.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4768, allocations: 314.8 kB / 442.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.4768, allocations: 8 kB / 442.7 MB, free: 9.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.4769, allocations: 12 kB / 442.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.4769, allocations: 15.98 kB / 442.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4769, allocations: 0 / 442.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001561/0.4771, allocations: 57.95 kB / 442.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.992e-05/0.4772, allocations: 33.69 kB / 442.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.028e-06/0.4772, allocations: 4 kB / 442.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4772, allocations: 4 kB / 442.9 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.4773, allocations: 11.95 kB / 442.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4773, allocations: 4 kB / 442.9 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.4774, allocations: 7.984 kB / 442.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4774, allocations: 0 / 442.9 MB, free: 9.742 MB / 378.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 () * 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 9.421e-05/0.4775, allocations: 116.9 kB / 443 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.4776, allocations: 3.906 kB / 443 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.4778, allocations: 66.08 kB / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-06/0.4778, allocations: 4 kB / 443.1 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.157e-06/0.4778, allocations: 3.953 kB / 443.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4778, allocations: 0 / 443.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.4783, allocations: 299.1 kB / 443.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4783, allocations: 4.141 kB / 443.4 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.515e-05/0.4784, allocations: 19.92 kB / 443.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.603e-06/0.4784, allocations: 7.922 kB / 443.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4784, allocations: 4 kB / 443.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.559e-06/0.4784, allocations: 3.953 kB / 443.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4784, allocations: 0 / 443.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4786, allocations: 151.5 kB / 443.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4787, allocations: 89.02 kB / 443.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4787, allocations: 0 / 443.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4789, allocations: 8.172 kB / 443.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4789, allocations: 7.953 kB / 443.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.4789, allocations: 4 kB / 443.7 MB, free: 8.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.479, allocations: 107.7 kB / 443.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4791, allocations: 0 / 443.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.4794, allocations: 8 kB / 443.8 MB, free: 8.766 MB / 378.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 () * 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.0008325/0.4802, allocations: 254.8 kB / 444 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.4804, allocations: 83.41 kB / 444.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4804, allocations: 0 / 444.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.4805, allocations: 19.94 kB / 444.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.4807, allocations: 11.98 kB / 444.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.4811, allocations: 125.7 kB / 444.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.4815, allocations: 0.6924 MB / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.4815, allocations: 11.44 kB / 445 MB, free: 7.531 MB / 378.7 MB Notification: Performance of SimCode: time 5.701e-06/0.4816, allocations: 0 / 445 MB, free: 7.531 MB / 378.7 MB Notification: Performance of Templates: time 0.003378/0.485, allocations: 1.15 MB / 446.1 MB, free: 6.387 MB / 378.7 MB