Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006324/0.0006326, allocations: 16 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1409, allocations: 48.71 MB / 331.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.5361, allocations: 75.81 MB / 407.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5365, allocations: 71.94 kB / 407.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.5537, allocations: 3.88 MB / 411.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5538, allocations: 0 / 411.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.5538, allocations: 4 kB / 411.6 MB, free: 5.402 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000582/0.5544, allocations: 423.8 kB / 412 MB, free: 4.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5544, allocations: 8.031 kB / 412 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.5545, allocations: 11.91 kB / 412 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.5548, allocations: 202.8 kB / 412.2 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5548, allocations: 8 kB / 412.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.5549, allocations: 4 kB / 412.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.555, allocations: 41.69 kB / 412.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.555, allocations: 4 kB / 412.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5551, allocations: 0 / 412.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5551, allocations: 0 / 412.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.5552, allocations: 15.98 kB / 412.3 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.5556, allocations: 296.8 kB / 412.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.5559, allocations: 42.5 kB / 412.6 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5559, allocations: 4 kB / 412.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.5561, allocations: 59.47 kB / 412.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.5561, allocations: 0 / 412.7 MB, free: 4.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005064/0.5566, allocations: 117.3 kB / 412.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.5566, allocations: 55.41 kB / 412.9 MB, free: 3.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.5569, allocations: 158.1 kB / 413 MB, free: 3.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.5569, allocations: 33.7 kB / 413 MB, free: 3.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.557, allocations: 154.6 kB / 413.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.557, allocations: 27.67 kB / 413.2 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.5571, allocations: 0 / 413.2 MB, free: 3.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5572, allocations: 314.8 kB / 413.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.5573, allocations: 23.92 kB / 413.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.5574, allocations: 35.92 kB / 413.6 MB, free: 3.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.5575, allocations: 49.7 kB / 413.6 MB, free: 3.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5575, allocations: 0 / 413.6 MB, free: 3.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000272/0.5578, allocations: 123.4 kB / 413.8 MB, free: 3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.5579, allocations: 37.64 kB / 413.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5579, allocations: 0 / 413.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-05/0.5579, allocations: 0 / 413.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.558, allocations: 11.98 kB / 413.8 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.558, allocations: 3.953 kB / 413.8 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.5581, allocations: 8 kB / 413.8 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5581, allocations: 4 kB / 413.8 MB, free: 2.93 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001174/0.5583, allocations: 117.8 kB / 413.9 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5583, allocations: 11.89 kB / 413.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.5586, allocations: 97.81 kB / 414 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.5586, allocations: 4 kB / 414 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5586, allocations: 0 / 414 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5586, allocations: 3.953 kB / 414 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.5591, allocations: 346.6 kB / 414.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5592, allocations: 0 / 414.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.5592, allocations: 4 kB / 414.4 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5592, allocations: 0 / 414.4 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.5593, allocations: 4 kB / 414.4 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.5593, allocations: 4.141 kB / 414.4 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5593, allocations: 12.02 kB / 414.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.5595, allocations: 175.4 kB / 414.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.5596, allocations: 89.02 kB / 414.7 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.5597, allocations: 3.984 kB / 414.7 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.5598, allocations: 4 kB / 414.7 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.5598, allocations: 7.953 kB / 414.7 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.5598, allocations: 4 kB / 414.7 MB, free: 1.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.56, allocations: 122 kB / 414.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.56, allocations: 0 / 414.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000364/0.5604, allocations: 35.92 kB / 414.8 MB, free: 1.797 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001054/0.5614, allocations: 374.4 kB / 415.2 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.5617, allocations: 119.3 kB / 415.3 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5617, allocations: 0 / 415.3 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.5618, allocations: 16 kB / 415.3 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.5621, allocations: 15.92 kB / 415.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.5627, allocations: 227.2 kB / 415.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.563, allocations: 0.6965 MB / 416.3 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.5631, allocations: 15.44 kB / 416.3 MB, free: 360 kB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5631, allocations: 4 kB / 416.3 MB, free: 356 kB / 330.7 MB Notification: Performance of Templates: time 0.005012/0.5681, allocations: 1.666 MB / 418 MB, free: 14.69 MB / 346.7 MB