Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.973/1.973, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004302, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3828, allocations: 48.71 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5258, allocations: 74.41 MB / 406.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.5262, allocations: 71.95 kB / 406.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.5498, allocations: 5.051 MB / 411.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5498, allocations: 0 / 411.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.231e-05/0.5499, allocations: 4 kB / 411.3 MB, free: 14.91 MB / 346.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.001105/0.551, allocations: 0.6301 MB / 412 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5511, allocations: 8.031 kB / 412 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.5512, allocations: 55.38 kB / 412 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.552, allocations: 315.3 kB / 412.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5521, allocations: 4 kB / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5521, allocations: 0 / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.5523, allocations: 49.69 kB / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5523, allocations: 0 / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.5524, allocations: 7.969 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5524, allocations: 7.938 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.5526, allocations: 23.98 kB / 412.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.5535, allocations: 416.7 kB / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.5537, allocations: 38.56 kB / 412.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5538, allocations: 0 / 412.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.5538, allocations: 34.5 kB / 412.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.5538, allocations: 3.938 kB / 412.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004829/0.5543, allocations: 97.28 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.5544, allocations: 59.52 kB / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.557, allocations: 0.8338 MB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5571, allocations: 25.7 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.5573, allocations: 230.6 kB / 414.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.5574, allocations: 11.84 kB / 414.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.5574, allocations: 0 / 414.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5576, allocations: 310.8 kB / 414.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.5577, allocations: 15.98 kB / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.5578, allocations: 15.94 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5579, allocations: 41.69 kB / 414.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.558, allocations: 0 / 414.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002966/0.5583, allocations: 83.38 kB / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.5583, allocations: 33.7 kB / 414.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5583, allocations: 0 / 414.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5584, allocations: 4 kB / 414.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5585, allocations: 4 kB / 414.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5585, allocations: 0 / 414.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.5587, allocations: 11.91 kB / 414.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5587, allocations: 11.94 kB / 414.7 MB, free: 11.33 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 (3): * Single equations (assignments): 2 * 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.0003662/0.5591, allocations: 201.8 kB / 414.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.5593, allocations: 39.53 kB / 414.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.5597, allocations: 108.5 kB / 415 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.5597, allocations: 0 / 415 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5597, allocations: 0 / 415 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5597, allocations: 4 kB / 415 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.5604, allocations: 317.4 kB / 415.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5604, allocations: 0 / 415.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.5605, allocations: 11.94 kB / 415.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5605, allocations: 0 / 415.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5605, allocations: 0 / 415.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5605, allocations: 4.031 kB / 415.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5606, allocations: 0 / 415.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.561, allocations: 195 kB / 415.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.5614, allocations: 156.5 kB / 415.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5615, allocations: 15.92 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5617, allocations: 4.031 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.5618, allocations: 4 kB / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5618, allocations: 0 / 415.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001575/0.5634, allocations: 0.6276 MB / 416.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5634, allocations: 0 / 416.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000703/0.5641, allocations: 44 kB / 416.4 MB, free: 9.523 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 (2): * Single equations (assignments): 2 * 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.0007951/0.5649, allocations: 209.9 kB / 416.6 MB, free: 9.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.5653, allocations: 87.38 kB / 416.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5653, allocations: 0 / 416.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.5654, allocations: 15.94 kB / 416.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.5659, allocations: 25.86 kB / 416.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.5685, allocations: 0.9047 MB / 417.6 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.5692, allocations: 0.8223 MB / 418.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.5694, allocations: 19.69 kB / 418.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5694, allocations: 0 / 418.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Templates: time 0.0124/0.5819, allocations: 3.672 MB / 422.1 MB, free: 3.723 MB / 346.7 MB