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.Test44.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.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.679e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2642, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3766, allocations: 75.12 MB / 395.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3768, allocations: 63.97 kB / 395.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.3934, allocations: 4.055 MB / 399.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.956e-06/0.3934, allocations: 0 / 399.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3934, allocations: 0 / 399.3 MB, free: 1.215 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.0005219/0.394, allocations: 416 kB / 399.7 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.394, allocations: 8.031 kB / 399.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3941, allocations: 11.91 kB / 399.7 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3944, allocations: 199.4 kB / 399.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3944, allocations: 0 / 399.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.3944, allocations: 4 kB / 399.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.184e-05/0.3945, allocations: 15.98 kB / 399.9 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.3946, allocations: 41.69 kB / 399.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3947, allocations: 3.938 kB / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3947, allocations: 3.984 kB / 399.9 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-06/0.3947, allocations: 3.938 kB / 399.9 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.3951, allocations: 281.4 kB / 400.2 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3954, allocations: 42.5 kB / 400.3 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.3954, allocations: 12.86 kB / 400.3 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3954, allocations: 0 / 400.3 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3956, allocations: 55.5 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.568e-06/0.3956, allocations: 4 kB / 400.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004207/0.396, allocations: 109.2 kB / 400.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3961, allocations: 51.41 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3963, allocations: 166.8 kB / 400.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3964, allocations: 29.7 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.3965, allocations: 158.6 kB / 400.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3965, allocations: 19.8 kB / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-06/0.3965, allocations: 0 / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3967, allocations: 314.8 kB / 401.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.3968, allocations: 24 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.3968, allocations: 23.98 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.3969, allocations: 20 kB / 401.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.397, allocations: 0 / 401.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002282/0.3972, allocations: 93.61 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.3973, allocations: 30.48 kB / 401.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-06/0.3973, allocations: 0 / 401.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3973, allocations: 4 kB / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.3974, allocations: 11.98 kB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.239e-06/0.3974, allocations: 0 / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.3975, allocations: 12 kB / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3975, allocations: 8 kB / 401.4 MB, free: 14.86 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.814e-05/0.3976, allocations: 112.1 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.3977, allocations: 15.78 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3979, allocations: 86.22 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-06/0.3979, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-06/0.3979, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.3979, allocations: 3.984 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.3984, allocations: 331.1 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3984, allocations: 7.875 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.3985, allocations: 4 kB / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.239e-06/0.3985, allocations: 4 kB / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3985, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.32e-06/0.3985, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-06/0.3985, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.3988, allocations: 183.3 kB / 402.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.3989, allocations: 89.02 kB / 402.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.3989, allocations: 0 / 402.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.399, allocations: 7.984 kB / 402.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.3991, allocations: 4 kB / 402.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3991, allocations: 0 / 402.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.3993, allocations: 131.2 kB / 402.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-07/0.3993, allocations: 0 / 402.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000377/0.3997, allocations: 39.94 kB / 402.4 MB, free: 13.78 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.0009366/0.4006, allocations: 312.5 kB / 402.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.4008, allocations: 107.4 kB / 402.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.4009, allocations: 0 / 402.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.4009, allocations: 23.92 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4012, allocations: 22.09 kB / 402.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.4016, allocations: 170.3 kB / 403 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.402, allocations: 0.7002 MB / 403.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.4021, allocations: 15.42 kB / 403.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.425e-06/0.4021, allocations: 3.938 kB / 403.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of Templates: time 0.004338/0.4065, allocations: 1.734 MB / 405.5 MB, free: 10.69 MB / 346.7 MB