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.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.4 MB / 217.3 MB, free: 4.113 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.706e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.3755, allocations: 74.1 MB / 394.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.3758, allocations: 71.95 kB / 394.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01315/0.389, allocations: 3.411 MB / 397.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.921e-06/0.389, allocations: 3.938 kB / 397.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.389, allocations: 0 / 397.6 MB, free: 2.863 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004807/0.3895, allocations: 400 kB / 398 MB, free: 2.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3896, allocations: 8.031 kB / 398 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.3896, allocations: 8 kB / 398 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3899, allocations: 190.8 kB / 398.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3899, allocations: 4 kB / 398.2 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.39, allocations: 4 kB / 398.2 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.3901, allocations: 20 kB / 398.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3903, allocations: 76.19 kB / 398.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3903, allocations: 0 / 398.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3903, allocations: 0 / 398.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.717e-06/0.3903, allocations: 4 kB / 398.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.3909, allocations: 377.5 kB / 398.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3912, allocations: 69.14 kB / 398.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.3912, allocations: 29.89 kB / 398.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3913, allocations: 4 kB / 398.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3913, allocations: 38.5 kB / 398.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.156e-06/0.3913, allocations: 0 / 398.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006694/0.392, allocations: 165.2 kB / 399 MB, free: 1.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.3921, allocations: 102.8 kB / 399.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3923, allocations: 132.8 kB / 399.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.3923, allocations: 25.7 kB / 399.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.3924, allocations: 154.6 kB / 399.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.3924, allocations: 31.55 kB / 399.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-06/0.3925, allocations: 0 / 399.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3926, allocations: 318.8 kB / 399.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.3927, allocations: 27.98 kB / 399.7 MB, free: 496 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.3928, allocations: 45.64 kB / 399.8 MB, free: 444 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.3929, allocations: 32.02 kB / 399.8 MB, free: 412 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-06/0.3929, allocations: 0 / 399.8 MB, free: 412 kB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.3931, allocations: 101.5 kB / 399.9 MB, free: 304 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.3932, allocations: 29.7 kB / 399.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3932, allocations: 0 / 399.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3932, allocations: 0 / 399.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3934, allocations: 27.98 kB / 400 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.317e-06/0.3934, allocations: 0 / 400 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.3935, allocations: 15.94 kB / 400 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3935, allocations: 0 / 400 MB, free: 224 kB / 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 (11): * Single equations (assignments): 10 * 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.0001127/0.3936, allocations: 120 kB / 400.1 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.3937, allocations: 7.906 kB / 400.1 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.394, allocations: 118.2 kB / 400.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-06/0.3941, allocations: 0 / 400.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.622e-06/0.3941, allocations: 8 kB / 400.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-06/0.3941, allocations: 0 / 400.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.3948, allocations: 464.9 kB / 400.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-06/0.3948, allocations: 48 / 400.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.395, allocations: 27.97 kB / 400.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.195e-06/0.395, allocations: 0 / 400.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.395, allocations: 4 kB / 400.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.694e-06/0.395, allocations: 0 / 400.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.69e-06/0.395, allocations: 0 / 400.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3954, allocations: 303 kB / 401 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.3955, allocations: 85.02 kB / 401.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3955, allocations: 4 kB / 401.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3957, allocations: 11.95 kB / 401.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3957, allocations: 11.92 kB / 401.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3957, allocations: 4 kB / 401.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.3958, allocations: 99.27 kB / 401.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.096e-06/0.3959, allocations: 0 / 401.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.3963, allocations: 31.94 kB / 401.3 MB, free: 14.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008284/0.3971, allocations: 290.2 kB / 401.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3974, allocations: 127.3 kB / 401.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3974, allocations: 0 / 401.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.3975, allocations: 31.94 kB / 401.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3978, allocations: 11.98 kB / 401.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.3983, allocations: 172.7 kB / 401.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.3987, allocations: 0.7041 MB / 402.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.3988, allocations: 15.44 kB / 402.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of SimCode: time 3.588e-06/0.3988, allocations: 0 / 402.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of Templates: time 0.004351/0.4031, allocations: 1.733 MB / 404.3 MB, free: 11.74 MB / 346.7 MB