Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.3 MB / 225.4 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 12 kB / 283.1 MB, free: 9.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1099, allocations: 48.7 MB / 331.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5254, allocations: 74.47 MB / 406.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5258, allocations: 74.44 kB / 406.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01127/0.537, allocations: 2.576 MB / 408.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5371, allocations: 0 / 408.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5371, allocations: 4 kB / 408.9 MB, free: 8.141 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.0004995/0.5376, allocations: 389 kB / 409.3 MB, free: 7.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5377, allocations: 8.031 kB / 409.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.5377, allocations: 7.906 kB / 409.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.538, allocations: 206.6 kB / 409.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.538, allocations: 4 kB / 409.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.5381, allocations: 4 kB / 409.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.5383, allocations: 45.69 kB / 409.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5383, allocations: 0 / 409.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5384, allocations: 4 kB / 409.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5384, allocations: 4 kB / 409.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.5385, allocations: 23.98 kB / 409.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.539, allocations: 272.9 kB / 409.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.5393, allocations: 46.56 kB / 409.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5393, allocations: 0 / 409.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.5393, allocations: 34.56 kB / 410 MB, free: 6.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.5393, allocations: 0 / 410 MB, free: 6.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008251/0.5402, allocations: 153.5 kB / 410.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.5402, allocations: 51.41 kB / 410.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.5404, allocations: 134 kB / 410.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5404, allocations: 29.7 kB / 410.3 MB, free: 6.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.5405, allocations: 162.4 kB / 410.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.5406, allocations: 19.8 kB / 410.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.5406, allocations: 4 kB / 410.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5407, allocations: 310.8 kB / 410.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.5408, allocations: 23.98 kB / 410.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.541, allocations: 27.92 kB / 410.8 MB, free: 6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.5411, allocations: 57.69 kB / 410.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5412, allocations: 0 / 410.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003514/0.5415, allocations: 111.4 kB / 411 MB, free: 5.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.5416, allocations: 37.69 kB / 411 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5416, allocations: 0 / 411 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5416, allocations: 4 kB / 411.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.5417, allocations: 15.94 kB / 411.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.5418, allocations: 3.938 kB / 411.1 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.5419, allocations: 7.984 kB / 411.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.5419, allocations: 7.953 kB / 411.1 MB, free: 5.734 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 () * 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.0001074/0.542, allocations: 117.8 kB / 411.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.542, allocations: 8.188 kB / 411.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.5425, allocations: 97.94 kB / 411.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.5425, allocations: 11.98 kB / 411.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5425, allocations: 0 / 411.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5425, allocations: 3.984 kB / 411.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.5431, allocations: 354.5 kB / 411.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5432, allocations: 3.984 kB / 411.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5433, allocations: 12 kB / 411.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.5433, allocations: 0 / 411.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.5433, allocations: 0 / 411.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.5433, allocations: 0 / 411.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5433, allocations: 4 kB / 411.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.5437, allocations: 187.4 kB / 411.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.5438, allocations: 85.02 kB / 412 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5438, allocations: 0 / 412 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5439, allocations: 19.92 kB / 412 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.544, allocations: 4 kB / 412 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.544, allocations: 0 / 412 MB, free: 4.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5441, allocations: 107.2 kB / 412.1 MB, free: 4.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5441, allocations: 0 / 412.1 MB, free: 4.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.5445, allocations: 19.92 kB / 412.1 MB, free: 4.613 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: 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.0006686/0.5451, allocations: 246 kB / 412.3 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.5455, allocations: 119.4 kB / 412.5 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5456, allocations: 3.938 kB / 412.5 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.5457, allocations: 35.92 kB / 412.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.546, allocations: 4 kB / 412.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.5465, allocations: 199 kB / 412.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.5468, allocations: 0.7004 MB / 413.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.5469, allocations: 11.44 kB / 413.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of SimCode: time 1.153e-06/0.5469, allocations: 0 / 413.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of Templates: time 0.003872/0.5508, allocations: 1.16 MB / 414.6 MB, free: 2.129 MB / 330.7 MB