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.CombiTable2D.Test12.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.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.951e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.37, allocations: 73.99 MB / 394 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3703, allocations: 63.97 kB / 394.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01177/0.3821, allocations: 3.078 MB / 397.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.01e-06/0.3822, allocations: 0 / 397.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3822, allocations: 7.938 kB / 397.1 MB, free: 3.309 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004862/0.3827, allocations: 396.2 kB / 397.5 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3827, allocations: 8.031 kB / 397.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3828, allocations: 7.906 kB / 397.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.383, allocations: 183 kB / 397.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3831, allocations: 0 / 397.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3831, allocations: 4 kB / 397.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.716e-05/0.3832, allocations: 23.92 kB / 397.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3833, allocations: 63.41 kB / 397.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3834, allocations: 3.906 kB / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3834, allocations: 0 / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-06/0.3834, allocations: 0 / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3838, allocations: 253.4 kB / 398.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.3839, allocations: 38.52 kB / 398.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.384, allocations: 12.86 kB / 398.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.384, allocations: 8.109 kB / 398.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.384, allocations: 34.55 kB / 398.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.149e-06/0.3841, allocations: 0 / 398.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005572/0.3846, allocations: 137.5 kB / 398.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3847, allocations: 77.11 kB / 398.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3848, allocations: 112.9 kB / 398.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3849, allocations: 25.7 kB / 398.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.385, allocations: 166.4 kB / 398.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.385, allocations: 19.64 kB / 398.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-06/0.385, allocations: 0 / 398.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3852, allocations: 318.8 kB / 399 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.3853, allocations: 16 kB / 399 MB, free: 1.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.3853, allocations: 29.72 kB / 399 MB, free: 1.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.107e-05/0.3854, allocations: 19.98 kB / 399.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3854, allocations: 3.938 kB / 399.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001936/0.3856, allocations: 77.62 kB / 399.1 MB, free: 1.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.3857, allocations: 29.7 kB / 399.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-06/0.3857, allocations: 0 / 399.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3857, allocations: 3.984 kB / 399.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3859, allocations: 28.02 kB / 399.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.477e-06/0.3859, allocations: 0 / 399.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.386, allocations: 15.98 kB / 399.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3861, allocations: 7.953 kB / 399.2 MB, free: 1 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 (8): * Single equations (assignments): 7 * 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.584e-05/0.3862, allocations: 101 kB / 399.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3862, allocations: 7.906 kB / 399.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.3864, allocations: 94.52 kB / 399.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-06/0.3865, allocations: 0 / 399.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-06/0.3865, allocations: 0 / 399.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-06/0.3865, allocations: 0 / 399.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.387, allocations: 323.1 kB / 399.7 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.387, allocations: 3.938 kB / 399.7 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.3871, allocations: 23.98 kB / 399.8 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.404e-06/0.3871, allocations: 4 kB / 399.8 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.419e-06/0.3872, allocations: 0 / 399.8 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.38e-06/0.3872, allocations: 3.938 kB / 399.8 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.793e-06/0.3872, allocations: 0 / 399.8 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3874, allocations: 171.4 kB / 399.9 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.3875, allocations: 89 kB / 400 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3875, allocations: 0 / 400 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3877, allocations: 12 kB / 400 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3877, allocations: 7.984 kB / 400 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3878, allocations: 4 kB / 400.1 MB, free: 84 kB / 330.7 MB Notification: Performance of sorting global known variables: time 9.913e-05/0.3879, allocations: 95.27 kB / 400.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.3879, allocations: 0 / 400.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000365/0.3882, allocations: 24 kB / 400.2 MB, free: 15.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008451/0.3891, allocations: 292.1 kB / 400.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.3893, allocations: 95.41 kB / 400.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.71e-06/0.3894, allocations: 0 / 400.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.3894, allocations: 31.92 kB / 400.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3897, allocations: 4 kB / 400.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.39, allocations: 130.5 kB / 400.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3904, allocations: 0.6924 MB / 401.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.3905, allocations: 15.44 kB / 401.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.485e-06/0.3905, allocations: 0 / 401.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Templates: time 0.004055/0.3946, allocations: 1.547 MB / 403 MB, free: 13.15 MB / 346.7 MB