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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 1.845/1.845, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.29e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2574, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.3716, allocations: 75.09 MB / 395.1 MB, free: 5.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3719, allocations: 71.95 kB / 395.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.3883, allocations: 4.195 MB / 399.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.714e-06/0.3883, allocations: 4 kB / 399.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3884, allocations: 3.938 kB / 399.4 MB, free: 1.086 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.0005214/0.3889, allocations: 419.2 kB / 399.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3889, allocations: 8.031 kB / 399.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.389, allocations: 7.906 kB / 399.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3893, allocations: 211.9 kB / 400 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3893, allocations: 0 / 400 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.3894, allocations: 7.938 kB / 400 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.3895, allocations: 19.92 kB / 400 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.3896, allocations: 41.69 kB / 400.1 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3896, allocations: 0 / 400.1 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-06/0.3896, allocations: 3.938 kB / 400.1 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-06/0.3896, allocations: 0 / 400.1 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.3901, allocations: 285.3 kB / 400.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3903, allocations: 46.55 kB / 400.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.3904, allocations: 12.8 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3904, allocations: 4 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.3905, allocations: 55.5 kB / 400.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.32e-06/0.3906, allocations: 0 / 400.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004071/0.391, allocations: 109.4 kB / 400.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.391, allocations: 55.34 kB / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3913, allocations: 178.5 kB / 400.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3913, allocations: 29.7 kB / 400.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3915, allocations: 166.5 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3915, allocations: 15.75 kB / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-06/0.3915, allocations: 0 / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3917, allocations: 322.8 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.3917, allocations: 24 kB / 401.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.3918, allocations: 20 kB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.027e-05/0.3919, allocations: 19.98 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-06/0.3919, allocations: 0 / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002251/0.3921, allocations: 89.62 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.3922, allocations: 38.47 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.105e-06/0.3922, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3922, allocations: 4 kB / 401.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.3923, allocations: 8 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.163e-06/0.3923, allocations: 0 / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.3924, allocations: 4 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3924, allocations: 7.984 kB / 401.6 MB, free: 14.7 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.43e-05/0.3925, allocations: 113 kB / 401.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3926, allocations: 7.906 kB / 401.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.3928, allocations: 87.36 kB / 401.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3929, allocations: 8 kB / 401.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3929, allocations: 3.938 kB / 401.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.042e-06/0.3929, allocations: 0 / 401.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.3933, allocations: 347 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-06/0.3934, allocations: 0 / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.3934, allocations: 8 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.338e-06/0.3934, allocations: 3.938 kB / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-06/0.3935, allocations: 0 / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.523e-06/0.3935, allocations: 4 kB / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3935, allocations: 160 / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.3937, allocations: 175.4 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.3938, allocations: 93.02 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3939, allocations: 3.984 kB / 402.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.394, allocations: 4 kB / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.394, allocations: 4 kB / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.394, allocations: 0 / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3942, allocations: 160.9 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.3942, allocations: 0 / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.3946, allocations: 35.94 kB / 402.6 MB, free: 13.58 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.0009496/0.3956, allocations: 309.2 kB / 402.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3958, allocations: 107.4 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.693e-06/0.3958, allocations: 4 kB / 403 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.3959, allocations: 19.98 kB / 403 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3962, allocations: 25.3 kB / 403 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.3966, allocations: 186.7 kB / 403.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.397, allocations: 0.708 MB / 403.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.3971, allocations: 15.44 kB / 403.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.394e-06/0.3971, allocations: 0 / 403.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of Templates: time 0.004368/0.4015, allocations: 1.801 MB / 405.7 MB, free: 10.41 MB / 346.7 MB