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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.116/2.116, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004416, allocations: 11.98 kB / 314.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 54.85 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4562, allocations: 80.93 MB / 450.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4565, allocations: 71.97 kB / 450.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.4673, allocations: 2.715 MB / 453 MB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.889e-06/0.4673, allocations: 3.938 kB / 453 MB, free: 8.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4674, allocations: 4 kB / 453 MB, free: 8.934 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.0004924/0.4679, allocations: 400.9 kB / 453.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4679, allocations: 8.031 kB / 453.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.468, allocations: 11.86 kB / 453.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.4682, allocations: 186.8 kB / 453.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4683, allocations: 3.938 kB / 453.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.4683, allocations: 4 kB / 453.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.4685, allocations: 57.61 kB / 453.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4685, allocations: 4 kB / 453.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1e-05/0.4685, allocations: 0 / 453.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-06/0.4685, allocations: 0 / 453.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.4687, allocations: 27.94 kB / 453.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.4691, allocations: 265 kB / 453.9 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.4693, allocations: 54.48 kB / 454 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4694, allocations: 4 kB / 454 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.4694, allocations: 32.38 kB / 454 MB, free: 7.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.026e-06/0.4694, allocations: 0 / 454 MB, free: 7.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006763/0.4701, allocations: 157.4 kB / 454.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4702, allocations: 51.41 kB / 454.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.4703, allocations: 121.2 kB / 454.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4704, allocations: 29.69 kB / 454.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.4705, allocations: 170.4 kB / 454.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4705, allocations: 11.81 kB / 454.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-06/0.4705, allocations: 4 kB / 454.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4707, allocations: 310.8 kB / 454.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4708, allocations: 23.98 kB / 454.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.4709, allocations: 32.05 kB / 454.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.471, allocations: 53.69 kB / 455 MB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-06/0.471, allocations: 0 / 455 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002852/0.4713, allocations: 119.3 kB / 455.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.4714, allocations: 37.7 kB / 455.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.265e-06/0.4714, allocations: 0 / 455.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4714, allocations: 3.953 kB / 455.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.4715, allocations: 15.98 kB / 455.1 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.306e-06/0.4715, allocations: 0 / 455.1 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/0.4716, allocations: 4 kB / 455.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4716, allocations: 4 kB / 455.2 MB, free: 6.535 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 () * 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.000113/0.4718, allocations: 121.8 kB / 455.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.4718, allocations: 3.906 kB / 455.3 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.4722, allocations: 109.5 kB / 455.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.78e-06/0.4722, allocations: 3.953 kB / 455.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.213e-06/0.4722, allocations: 4 kB / 455.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-06/0.4722, allocations: 0 / 455.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.4728, allocations: 342.6 kB / 455.7 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-06/0.4728, allocations: 4 kB / 455.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.4729, allocations: 11.94 kB / 455.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.517e-06/0.4729, allocations: 11.89 kB / 455.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4729, allocations: 7.984 kB / 455.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-06/0.4729, allocations: 0 / 455.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-06/0.473, allocations: 0 / 455.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.4733, allocations: 183.8 kB / 455.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.4734, allocations: 85.02 kB / 456 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.4734, allocations: 11.95 kB / 456 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.4735, allocations: 7.984 kB / 456 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.4736, allocations: 4 kB / 456 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-06/0.4736, allocations: 0 / 456 MB, free: 5.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4737, allocations: 107.2 kB / 456.2 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4737, allocations: 0 / 456.2 MB, free: 5.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.474, allocations: 11.94 kB / 456.2 MB, free: 5.414 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 () * 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.0009629/0.475, allocations: 305.7 kB / 456.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4753, allocations: 119.3 kB / 456.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.719e-06/0.4753, allocations: 0 / 456.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4755, allocations: 27.98 kB / 456.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.4757, allocations: 4 kB / 456.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.4762, allocations: 206.7 kB / 456.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4766, allocations: 0.6887 MB / 457.5 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.4766, allocations: 19.44 kB / 457.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of SimCode: time 1.44e-06/0.4766, allocations: 0 / 457.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of Templates: time 0.003246/0.4799, allocations: 1.159 MB / 458.7 MB, free: 2.898 MB / 378.7 MB