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.CombiTable1Ds.Test1.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.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 2.056/2.056, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.58e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2617, allocations: 48.68 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3754, allocations: 73.73 MB / 393.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.3756, allocations: 71.97 kB / 393.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.386, allocations: 2.536 MB / 396.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.697e-06/0.3861, allocations: 0 / 396.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3861, allocations: 0 / 396.3 MB, free: 4.117 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.0004688/0.3866, allocations: 388.2 kB / 396.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3866, allocations: 8.031 kB / 396.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.3867, allocations: 11.91 kB / 396.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.387, allocations: 190.8 kB / 396.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.387, allocations: 0 / 396.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.387, allocations: 4 kB / 396.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.393e-05/0.3871, allocations: 15.98 kB / 396.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.3872, allocations: 37.69 kB / 397 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3872, allocations: 3.938 kB / 397 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-06/0.3873, allocations: 7.938 kB / 397 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-06/0.3873, allocations: 0 / 397 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3877, allocations: 257.4 kB / 397.2 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3879, allocations: 34.52 kB / 397.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.3879, allocations: 8.859 kB / 397.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3879, allocations: 0 / 397.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.388, allocations: 34.56 kB / 397.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.388, allocations: 4 kB / 397.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004565/0.3885, allocations: 97.5 kB / 397.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3885, allocations: 51.41 kB / 397.5 MB, free: 2.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3887, allocations: 126.2 kB / 397.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3887, allocations: 25.7 kB / 397.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.3888, allocations: 154.6 kB / 397.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3889, allocations: 15.75 kB / 397.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-06/0.3889, allocations: 0 / 397.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.389, allocations: 326.8 kB / 398.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.3891, allocations: 12 kB / 398.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.3891, allocations: 8 kB / 398.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.3892, allocations: 12 kB / 398.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-06/0.3892, allocations: 0 / 398.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001569/0.3894, allocations: 61.62 kB / 398.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.3894, allocations: 33.7 kB / 398.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.088e-06/0.3894, allocations: 0 / 398.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3895, allocations: 0 / 398.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3896, allocations: 20.23 kB / 398.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.367e-06/0.3896, allocations: 0 / 398.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.3897, allocations: 8 kB / 398.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3897, allocations: 4 kB / 398.3 MB, free: 1.984 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 9.136e-05/0.3898, allocations: 107.9 kB / 398.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.3899, allocations: 11.89 kB / 398.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.3901, allocations: 70.08 kB / 398.4 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-06/0.3901, allocations: 7.938 kB / 398.5 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-06/0.3901, allocations: 0 / 398.5 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.086e-06/0.3901, allocations: 3.938 kB / 398.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.3905, allocations: 295.1 kB / 398.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-06/0.3906, allocations: 0 / 398.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.3907, allocations: 15.98 kB / 398.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.474e-06/0.3907, allocations: 0 / 398.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-06/0.3907, allocations: 0 / 398.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.453e-06/0.3907, allocations: 4 kB / 398.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.839e-06/0.3907, allocations: 4 kB / 398.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.3909, allocations: 163.3 kB / 398.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.391, allocations: 88.94 kB / 399 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.391, allocations: 0 / 399 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.3911, allocations: 8 kB / 399 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.3912, allocations: 3.984 kB / 399 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-06/0.3912, allocations: 8 kB / 399 MB, free: 1.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.304e-05/0.3913, allocations: 96.28 kB / 399.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.3913, allocations: 0 / 399.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000337/0.3917, allocations: 19.98 kB / 399.1 MB, free: 1.012 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 () * 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.0006327/0.3923, allocations: 208.9 kB / 399.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3925, allocations: 91.34 kB / 399.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.436e-06/0.3925, allocations: 0 / 399.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.579e-05/0.3926, allocations: 15.98 kB / 399.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3928, allocations: 8.203 kB / 399.5 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.3932, allocations: 130.8 kB / 399.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3936, allocations: 0.7001 MB / 400.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.3937, allocations: 19.42 kB / 400.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.674e-06/0.3937, allocations: 0 / 400.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of Templates: time 0.003372/0.3971, allocations: 1.15 MB / 401.5 MB, free: 14.66 MB / 346.7 MB