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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.472e-05/1.485e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.265, allocations: 48.68 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3783, allocations: 74 MB / 394 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3786, allocations: 67.97 kB / 394.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.3914, allocations: 3.123 MB / 397.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.917e-06/0.3914, allocations: 0 / 397.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3914, allocations: 0 / 397.2 MB, free: 3.281 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.0004399/0.3919, allocations: 376.2 kB / 397.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3919, allocations: 8.031 kB / 397.6 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.392, allocations: 7.906 kB / 397.6 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3922, allocations: 190.8 kB / 397.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-06/0.3923, allocations: 0 / 397.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3923, allocations: 4 kB / 397.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.336e-05/0.3924, allocations: 16 kB / 397.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3925, allocations: 59.41 kB / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3926, allocations: 0 / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3926, allocations: 3.938 kB / 397.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-06/0.3926, allocations: 3.984 kB / 397.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.3931, allocations: 261.4 kB / 398.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3933, allocations: 34.58 kB / 398.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.3933, allocations: 12.86 kB / 398.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3934, allocations: 4.078 kB / 398.2 MB, free: 2.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3934, allocations: 30.56 kB / 398.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.15e-06/0.3934, allocations: 0 / 398.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000473/0.3939, allocations: 117.3 kB / 398.3 MB, free: 2.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.394, allocations: 77.11 kB / 398.4 MB, free: 1.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3941, allocations: 112.9 kB / 398.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3942, allocations: 29.7 kB / 398.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.3942, allocations: 154.5 kB / 398.7 MB, free: 1.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3943, allocations: 19.66 kB / 398.7 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-06/0.3943, allocations: 4 kB / 398.7 MB, free: 1.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3945, allocations: 318.8 kB / 399 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.3945, allocations: 12 kB / 399 MB, free: 1.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.3946, allocations: 29.7 kB / 399 MB, free: 1.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.3947, allocations: 15.98 kB / 399.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3947, allocations: 4 kB / 399.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001751/0.3949, allocations: 69.62 kB / 399.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.3949, allocations: 29.7 kB / 399.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.962e-06/0.3949, allocations: 0 / 399.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3949, allocations: 32 / 399.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.3951, allocations: 23.92 kB / 399.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.44e-06/0.3951, allocations: 0 / 399.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.3951, allocations: 8 kB / 399.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3952, allocations: 0 / 399.2 MB, free: 1.059 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.22e-05/0.3953, allocations: 112.9 kB / 399.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3953, allocations: 0 / 399.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.3955, allocations: 89.91 kB / 399.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-06/0.3956, allocations: 3.938 kB / 399.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3956, allocations: 4 kB / 399.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-06/0.3956, allocations: 4.125 kB / 399.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.3962, allocations: 299.4 kB / 399.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.497e-06/0.3962, allocations: 3.984 kB / 399.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3963, allocations: 19.98 kB / 399.7 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.3963, allocations: 0 / 399.7 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-06/0.3964, allocations: 7.938 kB / 399.7 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3964, allocations: 4 kB / 399.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.63e-06/0.3964, allocations: 0 / 399.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3966, allocations: 163.5 kB / 399.9 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.3967, allocations: 81.02 kB / 400 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3967, allocations: 0 / 400 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3968, allocations: 11.98 kB / 400 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.3969, allocations: 4 kB / 400 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-06/0.3969, allocations: 0 / 400 MB, free: 184 kB / 330.7 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.397, allocations: 99.27 kB / 400.1 MB, free: 84 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.397, allocations: 0 / 400.1 MB, free: 84 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.3974, allocations: 20 kB / 400.1 MB, free: 64 kB / 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.0008525/0.3983, allocations: 289.4 kB / 400.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3985, allocations: 91.39 kB / 400.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.772e-06/0.3985, allocations: 4 kB / 400.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.3986, allocations: 16 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3988, allocations: 11.95 kB / 400.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.3992, allocations: 130.8 kB / 400.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3995, allocations: 0.6885 MB / 401.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.3996, allocations: 19.44 kB / 401.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.589e-06/0.3996, allocations: 4 kB / 401.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of Templates: time 0.003877/0.4035, allocations: 1.471 MB / 402.8 MB, free: 13.32 MB / 346.7 MB