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.CombiTable1D.Test16.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.CombiTable1D.Test16") Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.2 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004465, allocations: 15.98 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3326, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4465, allocations: 74.53 MB / 405.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.4468, allocations: 71.97 kB / 405.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01222/0.459, allocations: 2.988 MB / 408.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.681e-06/0.459, allocations: 4 kB / 408.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4591, allocations: 0 / 408.9 MB, free: 0.832 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.0005474/0.4596, allocations: 424.7 kB / 409.3 MB, free: 372 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4597, allocations: 8.031 kB / 409.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4597, allocations: 7.906 kB / 409.3 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.46, allocations: 203.3 kB / 409.5 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.46, allocations: 7.875 kB / 409.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4601, allocations: 7.984 kB / 409.5 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4603, allocations: 53.67 kB / 409.6 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4603, allocations: 0 / 409.6 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.462e-06/0.4603, allocations: 4 kB / 409.6 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.4603, allocations: 0 / 409.6 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.4605, allocations: 27.98 kB / 409.6 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.461, allocations: 292.9 kB / 409.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.4613, allocations: 50.5 kB / 409.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4613, allocations: 4 kB / 409.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4613, allocations: 30.56 kB / 410 MB, free: 15.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.4614, allocations: 0 / 410 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007512/0.4621, allocations: 173.3 kB / 410.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4622, allocations: 59.41 kB / 410.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.4625, allocations: 177.4 kB / 410.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4625, allocations: 25.7 kB / 410.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4626, allocations: 170.5 kB / 410.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.4627, allocations: 15.81 kB / 410.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-06/0.4627, allocations: 0 / 410.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4628, allocations: 314.8 kB / 410.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.463, allocations: 23.98 kB / 410.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4631, allocations: 35.97 kB / 410.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.4632, allocations: 53.69 kB / 411 MB, free: 14.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-06/0.4633, allocations: 0 / 411 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003221/0.4636, allocations: 127.3 kB / 411.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.4636, allocations: 29.7 kB / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.607e-06/0.4637, allocations: 4 kB / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4637, allocations: 4 kB / 411.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.4638, allocations: 11.98 kB / 411.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4638, allocations: 4 kB / 411.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.4639, allocations: 4 kB / 411.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4639, allocations: 3.938 kB / 411.2 MB, free: 14.28 MB / 346.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.0001349/0.4641, allocations: 129.8 kB / 411.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.4641, allocations: 15.81 kB / 411.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.4645, allocations: 109.9 kB / 411.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4645, allocations: 7.984 kB / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4645, allocations: 0 / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.63e-06/0.4645, allocations: 0 / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.4652, allocations: 374.5 kB / 411.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-06/0.4652, allocations: 4.312 kB / 411.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.4653, allocations: 19.98 kB / 411.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4654, allocations: 4 kB / 411.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-06/0.4654, allocations: 3.938 kB / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.901e-06/0.4654, allocations: 4 kB / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-06/0.4654, allocations: 0 / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.4657, allocations: 191.4 kB / 412 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.4658, allocations: 93.02 kB / 412.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4659, allocations: 7.984 kB / 412.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.466, allocations: 4 kB / 412.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.466, allocations: 4 kB / 412.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-06/0.4661, allocations: 3.984 kB / 412.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.4663, allocations: 146.3 kB / 412.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.974e-06/0.4663, allocations: 0 / 412.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.4666, allocations: 27.86 kB / 412.3 MB, free: 13.05 MB / 346.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.0007838/0.4674, allocations: 244.6 kB / 412.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.4678, allocations: 119.4 kB / 412.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.892e-06/0.4678, allocations: 4 kB / 412.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.468, allocations: 31.92 kB / 412.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4682, allocations: 25.53 kB / 412.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.4688, allocations: 263.5 kB / 413 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4693, allocations: 0.7121 MB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.4693, allocations: 19.38 kB / 413.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.707e-06/0.4694, allocations: 0 / 413.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of Templates: time 0.003797/0.4732, allocations: 1.354 MB / 415 MB, free: 10.27 MB / 346.7 MB