Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.726e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.261, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3718, allocations: 73.73 MB / 393.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.372, allocations: 67.97 kB / 393.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.3824, allocations: 2.623 MB / 396.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.198e-06/0.3825, allocations: 0 / 396.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.3825, allocations: 4 kB / 396.4 MB, free: 4.031 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.0004683/0.383, allocations: 391.3 kB / 396.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3831, allocations: 8.031 kB / 396.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.3831, allocations: 7.906 kB / 396.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3834, allocations: 195.9 kB / 397 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3834, allocations: 0 / 397 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3834, allocations: 4 kB / 397 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.526e-05/0.3835, allocations: 16 kB / 397 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3836, allocations: 41.62 kB / 397.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3837, allocations: 0 / 397.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3837, allocations: 4 kB / 397.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3837, allocations: 3.938 kB / 397.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3841, allocations: 245.4 kB / 397.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3843, allocations: 42.56 kB / 397.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.3843, allocations: 12.86 kB / 397.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3844, allocations: 3.984 kB / 397.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3844, allocations: 34.5 kB / 397.4 MB, free: 2.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.142e-06/0.3844, allocations: 0 / 397.4 MB, free: 2.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004369/0.3849, allocations: 93.58 kB / 397.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3849, allocations: 55.41 kB / 397.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3851, allocations: 152 kB / 397.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3852, allocations: 25.7 kB / 397.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.3853, allocations: 158.5 kB / 397.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.3853, allocations: 15.8 kB / 397.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.3853, allocations: 0 / 397.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3855, allocations: 318.8 kB / 398.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.3855, allocations: 15.94 kB / 398.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.3856, allocations: 11.94 kB / 398.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.3856, allocations: 20.19 kB / 398.3 MB, free: 2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-06/0.3856, allocations: 0 / 398.3 MB, free: 2 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001447/0.3858, allocations: 57.69 kB / 398.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.3858, allocations: 33.7 kB / 398.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.354e-06/0.3859, allocations: 0 / 398.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3859, allocations: 3.984 kB / 398.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.386, allocations: 12 kB / 398.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.917e-06/0.386, allocations: 3.984 kB / 398.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.3861, allocations: 11.98 kB / 398.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.3861, allocations: 8 kB / 398.4 MB, free: 1.859 MB / 330.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 8.991e-05/0.3862, allocations: 108.9 kB / 398.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.3863, allocations: 7.906 kB / 398.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.3864, allocations: 66 kB / 398.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.776e-06/0.3865, allocations: 7.984 kB / 398.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-06/0.3865, allocations: 0 / 398.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.3865, allocations: 0 / 398.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.3869, allocations: 311.1 kB / 398.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-06/0.387, allocations: 3.938 kB / 398.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.387, allocations: 15.98 kB / 398.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.064e-06/0.3871, allocations: 0 / 398.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-06/0.3871, allocations: 0 / 398.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.001e-06/0.3871, allocations: 0 / 398.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.568e-06/0.3871, allocations: 0 / 398.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3873, allocations: 163.6 kB / 399.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.3874, allocations: 81.17 kB / 399.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3874, allocations: 11.98 kB / 399.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3875, allocations: 4 kB / 399.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3876, allocations: 4 kB / 399.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.582e-06/0.3876, allocations: 3.984 kB / 399.2 MB, free: 1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3877, allocations: 120.9 kB / 399.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.3877, allocations: 0 / 399.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000333/0.3881, allocations: 23.94 kB / 399.3 MB, free: 0.8594 MB / 330.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.0006069/0.3887, allocations: 209.2 kB / 399.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.3889, allocations: 79.41 kB / 399.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.541e-06/0.3889, allocations: 4 kB / 399.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.389, allocations: 19.94 kB / 399.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3892, allocations: 11.89 kB / 399.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.3896, allocations: 150.5 kB / 399.8 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.39, allocations: 0.6963 MB / 400.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.3901, allocations: 15.44 kB / 400.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.546e-06/0.3901, allocations: 7.938 kB / 400.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Templates: time 0.003409/0.3935, allocations: 1.215 MB / 401.7 MB, free: 14.42 MB / 346.7 MB