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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.744e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08561, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.4432, allocations: 74.43 MB / 401 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4434, allocations: 70.8 kB / 401 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01041/0.4539, allocations: 2.885 MB / 403.9 MB, free: 8.664 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4539, allocations: 0 / 403.9 MB, free: 8.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.454, allocations: 0 / 403.9 MB, free: 8.664 MB / 314.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.0003241/0.4543, allocations: 409 kB / 404.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4543, allocations: 7.562 kB / 404.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.4544, allocations: 11.69 kB / 404.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.4546, allocations: 201.4 kB / 404.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4546, allocations: 3.75 kB / 404.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4546, allocations: 3.875 kB / 404.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.4548, allocations: 40.69 kB / 404.6 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4548, allocations: 0 / 404.6 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4548, allocations: 2.812 kB / 404.6 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-06/0.4548, allocations: 4 kB / 404.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.4549, allocations: 18.83 kB / 404.6 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.4552, allocations: 288.1 kB / 404.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4555, allocations: 40.75 kB / 404.9 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.4555, allocations: 8.703 kB / 404.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.4555, allocations: 7.844 kB / 405 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.4556, allocations: 34.5 kB / 405 MB, free: 7.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.995e-06/0.4556, allocations: 0 / 405 MB, free: 7.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004264/0.456, allocations: 113.5 kB / 405.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.456, allocations: 55.36 kB / 405.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.4562, allocations: 165.7 kB / 405.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.4562, allocations: 33.27 kB / 405.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.4563, allocations: 165.2 kB / 405.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.4563, allocations: 11.59 kB / 405.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-06/0.4564, allocations: 3.438 kB / 405.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.4564, allocations: 310.8 kB / 405.8 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.4565, allocations: 22.67 kB / 405.8 MB, free: 6.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.4565, allocations: 18.44 kB / 405.9 MB, free: 6.863 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.4566, allocations: 40.36 kB / 405.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-06/0.4566, allocations: 0 / 405.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001582/0.4568, allocations: 108.9 kB / 406 MB, free: 6.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4568, allocations: 33.39 kB / 406 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-06/0.4568, allocations: 0 / 406 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4569, allocations: 0 / 406 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.457, allocations: 15.42 kB / 406.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.457, allocations: 0 / 406.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.457, allocations: 11.67 kB / 406.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4571, allocations: 0 / 406.1 MB, free: 6.711 MB / 314.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 5.127e-05/0.4571, allocations: 112.2 kB / 406.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4572, allocations: 11.59 kB / 406.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.4574, allocations: 78.33 kB / 406.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4574, allocations: 0 / 406.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-06/0.4574, allocations: 0 / 406.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-06/0.4574, allocations: 3.984 kB / 406.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.4578, allocations: 357.1 kB / 406.6 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-06/0.4579, allocations: 3.984 kB / 406.6 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.458, allocations: 15.56 kB / 406.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.277e-06/0.458, allocations: 0 / 406.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-06/0.458, allocations: 3.625 kB / 406.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.426e-06/0.458, allocations: 0 / 406.6 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.562e-06/0.458, allocations: 3.953 kB / 406.6 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.4582, allocations: 171.8 kB / 406.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.4582, allocations: 88.86 kB / 406.9 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.4583, allocations: 4.25 kB / 406.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4584, allocations: 7.766 kB / 406.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4584, allocations: 8.047 kB / 406.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.918e-06/0.4584, allocations: 7.391 kB / 406.9 MB, free: 5.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.4586, allocations: 137.2 kB / 407.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.89e-07/0.4586, allocations: 0 / 407.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.4589, allocations: 26.5 kB / 407.1 MB, free: 5.867 MB / 314.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.0006772/0.4596, allocations: 248.4 kB / 407.3 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.4598, allocations: 85.28 kB / 407.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.962e-06/0.4598, allocations: 3.844 kB / 407.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.4599, allocations: 26.36 kB / 407.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.4601, allocations: 6.688 kB / 407.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.4605, allocations: 184.7 kB / 407.6 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.4607, allocations: 0.7026 MB / 408.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.4607, allocations: 15.27 kB / 408.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of SimCode: time 1.675e-06/0.4607, allocations: 0 / 408.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of Templates: time 0.003082/0.4638, allocations: 1.328 MB / 409.7 MB, free: 4.121 MB / 314.7 MB