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.CombiTimeTable.Test27.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.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.291e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.259, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3714, allocations: 75.07 MB / 395.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.3717, allocations: 67.97 kB / 395.2 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01592/0.3877, allocations: 3.905 MB / 399.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.3877, allocations: 0 / 399.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3877, allocations: 0 / 399.1 MB, free: 1.398 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005333/0.3883, allocations: 412 kB / 399.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3883, allocations: 16.03 kB / 399.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.3884, allocations: 7.906 kB / 399.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.3887, allocations: 197.8 kB / 399.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3887, allocations: 0 / 399.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.3888, allocations: 7.906 kB / 399.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.108e-05/0.3889, allocations: 12 kB / 399.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.389, allocations: 49.61 kB / 399.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.389, allocations: 0 / 399.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.389, allocations: 0 / 399.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.541e-06/0.389, allocations: 4 kB / 399.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3895, allocations: 265.5 kB / 400 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3897, allocations: 46.5 kB / 400.1 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.3898, allocations: 8.859 kB / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.3898, allocations: 0 / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.3899, allocations: 59.48 kB / 400.1 MB, free: 184 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.397e-06/0.3899, allocations: 4 kB / 400.1 MB, free: 180 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004234/0.3904, allocations: 105.3 kB / 400.2 MB, free: 68 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3904, allocations: 51.41 kB / 400.3 MB, free: 4 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3907, allocations: 158.3 kB / 400.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.3907, allocations: 25.7 kB / 400.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.3908, allocations: 166.5 kB / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3909, allocations: 15.8 kB / 400.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-06/0.3909, allocations: 0 / 400.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.391, allocations: 318.8 kB / 400.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.3911, allocations: 20 kB / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.3912, allocations: 19.98 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.067e-05/0.3913, allocations: 20 kB / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3913, allocations: 96 / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002313/0.3915, allocations: 101.5 kB / 401.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.3916, allocations: 34.48 kB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.572e-06/0.3916, allocations: 0 / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3916, allocations: 64 / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.3917, allocations: 15.98 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.621e-06/0.3917, allocations: 4 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.3918, allocations: 4 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3918, allocations: 4.094 kB / 401.2 MB, free: 15.08 MB / 346.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.651e-05/0.3919, allocations: 112.9 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.392, allocations: 7.906 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3922, allocations: 82.08 kB / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-06/0.3922, allocations: 0 / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.764e-06/0.3922, allocations: 3.984 kB / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.629e-06/0.3923, allocations: 4 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.3927, allocations: 339 kB / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-06/0.3927, allocations: 0 / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.3928, allocations: 8 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3928, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3928, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-06/0.3928, allocations: 4 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.798e-06/0.3928, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3931, allocations: 175.4 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.3932, allocations: 85.02 kB / 402 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.3932, allocations: 4 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.3933, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3934, allocations: 7.984 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3934, allocations: 192 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3935, allocations: 123.8 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-06/0.3935, allocations: 0 / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.3939, allocations: 39.86 kB / 402.1 MB, free: 14.02 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009414/0.3949, allocations: 316.9 kB / 402.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3951, allocations: 107.4 kB / 402.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3952, allocations: 0 / 402.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.3952, allocations: 19.94 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3955, allocations: 21.41 kB / 402.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.3959, allocations: 154.7 kB / 402.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3963, allocations: 0.6963 MB / 403.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.3964, allocations: 27.36 kB / 403.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.469e-06/0.3964, allocations: 0 / 403.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of Templates: time 0.004245/0.4006, allocations: 1.706 MB / 405.2 MB, free: 10.96 MB / 346.7 MB