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.Test20.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.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.242/2.242, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.969e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3247, allocations: 54.86 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4478, allocations: 81.13 MB / 445.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4481, allocations: 67.97 kB / 445.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.4627, allocations: 3.308 MB / 449 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.881e-06/0.4627, allocations: 0.8438 kB / 449.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.4628, allocations: 4 kB / 449.1 MB, free: 11.97 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.0007239/0.4635, allocations: 388.1 kB / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.4636, allocations: 15.97 kB / 449.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.4637, allocations: 7.859 kB / 449.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.4641, allocations: 179.8 kB / 449.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4641, allocations: 8 kB / 449.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4641, allocations: 0 / 449.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.4644, allocations: 59.41 kB / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4644, allocations: 0 / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4644, allocations: 0 / 449.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.666e-06/0.4644, allocations: 3.953 kB / 449.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.24e-05/0.4646, allocations: 15.94 kB / 449.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.4651, allocations: 269 kB / 450 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.4654, allocations: 39.59 kB / 450 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.4655, allocations: 12.86 kB / 450 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.4656, allocations: 7.984 kB / 450 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4656, allocations: 38.45 kB / 450.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.313e-06/0.4656, allocations: 0 / 450.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006537/0.4663, allocations: 108.9 kB / 450.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.4664, allocations: 85.03 kB / 450.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4666, allocations: 110.3 kB / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.4667, allocations: 29.7 kB / 450.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4668, allocations: 158.5 kB / 450.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.4669, allocations: 15.66 kB / 450.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.4669, allocations: 5.406 kB / 450.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4671, allocations: 318.8 kB / 450.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.4672, allocations: 12 kB / 450.9 MB, free: 9.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4674, allocations: 21.72 kB / 450.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4675, allocations: 45.69 kB / 451 MB, free: 9.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.932e-06/0.4675, allocations: 3.938 kB / 451 MB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003234/0.4679, allocations: 87.39 kB / 451.1 MB, free: 9.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.468, allocations: 37.66 kB / 451.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.617e-06/0.468, allocations: 0 / 451.1 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.468, allocations: 4.031 kB / 451.1 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.4682, allocations: 23.92 kB / 451.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.039e-06/0.4682, allocations: 0 / 451.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.4683, allocations: 8 kB / 451.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4684, allocations: 3.984 kB / 451.1 MB, free: 9.648 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 0.0001194/0.4685, allocations: 105 kB / 451.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.4686, allocations: 11.83 kB / 451.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.4689, allocations: 81.73 kB / 451.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.757e-06/0.469, allocations: 0 / 451.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-06/0.469, allocations: 0 / 451.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.469, allocations: 0 / 451.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.4697, allocations: 327.4 kB / 451.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-06/0.4698, allocations: 0 / 451.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4699, allocations: 19.94 kB / 451.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.47, allocations: 0 / 451.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.47, allocations: 4 kB / 451.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.591e-06/0.47, allocations: 4.375 kB / 451.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.47, allocations: 0 / 451.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4703, allocations: 163.4 kB / 451.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.4704, allocations: 81.11 kB / 451.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.4704, allocations: 3.953 kB / 451.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4706, allocations: 7.984 kB / 451.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.4706, allocations: 8 kB / 451.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.308e-06/0.4706, allocations: 0 / 451.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.4707, allocations: 100.9 kB / 452 MB, free: 8.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.4708, allocations: 0 / 452 MB, free: 8.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000388/0.4712, allocations: 27.94 kB / 452.1 MB, free: 8.621 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.001205/0.4724, allocations: 362.1 kB / 452.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.4726, allocations: 87.34 kB / 452.5 MB, free: 8.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.262e-06/0.4726, allocations: 4 kB / 452.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.4727, allocations: 15.98 kB / 452.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.4729, allocations: 4 kB / 452.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.4733, allocations: 130.7 kB / 452.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4737, allocations: 0.6965 MB / 453.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.4737, allocations: 11.44 kB / 453.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of SimCode: time 1.691e-06/0.4737, allocations: 0 / 453.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of Templates: time 0.003872/0.4776, allocations: 1.443 MB / 454.8 MB, free: 5.887 MB / 378.7 MB