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.Test20.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.CombiTable1D.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.62e-05, allocations: 0 / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3698, allocations: 73.98 MB / 394 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.3701, allocations: 75.94 kB / 394.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.3821, allocations: 3.11 MB / 397.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.887e-06/0.3821, allocations: 0 / 397.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3822, allocations: 0 / 397.2 MB, free: 3.285 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.0004461/0.3826, allocations: 395.4 kB / 397.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3827, allocations: 8.031 kB / 397.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.3827, allocations: 7.906 kB / 397.6 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.383, allocations: 186.9 kB / 397.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.383, allocations: 0 / 397.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.383, allocations: 11.98 kB / 397.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.527e-05/0.3831, allocations: 15.94 kB / 397.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.3833, allocations: 55.34 kB / 397.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3833, allocations: 4 kB / 397.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3833, allocations: 3.938 kB / 397.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-06/0.3833, allocations: 0 / 397.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.3838, allocations: 257.5 kB / 398.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.384, allocations: 38.56 kB / 398.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.384, allocations: 16.8 kB / 398.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.384, allocations: 4 kB / 398.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3841, allocations: 30.56 kB / 398.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.042e-06/0.3841, allocations: 0 / 398.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004441/0.3845, allocations: 105.5 kB / 398.3 MB, free: 2.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3846, allocations: 85.05 kB / 398.4 MB, free: 1.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3848, allocations: 109 kB / 398.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3848, allocations: 25.7 kB / 398.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.3849, allocations: 154.6 kB / 398.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3849, allocations: 23.66 kB / 398.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-06/0.3849, allocations: 0 / 398.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3851, allocations: 322.8 kB / 399 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.3852, allocations: 12 kB / 399 MB, free: 1.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.3852, allocations: 29.72 kB / 399 MB, free: 1.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.3853, allocations: 15.98 kB / 399.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-06/0.3853, allocations: 0 / 399.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001803/0.3855, allocations: 65.83 kB / 399.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3855, allocations: 33.7 kB / 399.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-06/0.3856, allocations: 0 / 399.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3856, allocations: 3.984 kB / 399.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.3857, allocations: 23.95 kB / 399.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.244e-06/0.3857, allocations: 0 / 399.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.3858, allocations: 7.984 kB / 399.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3858, allocations: 4 kB / 399.2 MB, free: 1.047 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.65e-05/0.3859, allocations: 104.9 kB / 399.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.386, allocations: 4 kB / 399.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.3862, allocations: 86.3 kB / 399.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-06/0.3862, allocations: 3.938 kB / 399.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.669e-06/0.3862, allocations: 0 / 399.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.92e-06/0.3862, allocations: 4 kB / 399.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.3866, allocations: 311 kB / 399.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-06/0.3867, allocations: 0 / 399.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.3868, allocations: 15.98 kB / 399.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.629e-06/0.3868, allocations: 0 / 399.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-06/0.3868, allocations: 0 / 399.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-06/0.3868, allocations: 7.938 kB / 399.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3868, allocations: 0 / 399.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.387, allocations: 163.4 kB / 399.9 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3871, allocations: 89.02 kB / 400 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3871, allocations: 3.984 kB / 400 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3873, allocations: 4 kB / 400 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3873, allocations: 4 kB / 400 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-06/0.3873, allocations: 4 kB / 400 MB, free: 176 kB / 330.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.3874, allocations: 91.27 kB / 400.1 MB, free: 84 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.3874, allocations: 4 kB / 400.1 MB, free: 80 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.3878, allocations: 24 kB / 400.1 MB, free: 56 kB / 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.0008553/0.3887, allocations: 278.9 kB / 400.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3889, allocations: 95.33 kB / 400.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.642e-06/0.3889, allocations: 4 kB / 400.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.3889, allocations: 16 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3892, allocations: 11.94 kB / 400.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.3895, allocations: 126.8 kB / 400.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3899, allocations: 0.6911 MB / 401.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.39, allocations: 15.42 kB / 401.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.596e-06/0.39, allocations: 7.938 kB / 401.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of Templates: time 0.003785/0.3938, allocations: 1.465 MB / 402.8 MB, free: 13.32 MB / 346.7 MB