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.Test45.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 1.819/1.819, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 12 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08764, allocations: 48.7 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3205/0.4082, allocations: 75.87 MB / 407.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4085, allocations: 71.95 kB / 407.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.4252, allocations: 4.095 MB / 411.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4253, allocations: 0 / 411.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.4253, allocations: 7.984 kB / 411.3 MB, free: 5.141 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.0005561/0.4259, allocations: 436.6 kB / 411.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4259, allocations: 8.031 kB / 411.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.426, allocations: 7.906 kB / 411.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.4263, allocations: 199.4 kB / 412 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4263, allocations: 0 / 412 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4264, allocations: 8 kB / 412 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4265, allocations: 49.66 kB / 412 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4265, allocations: 0 / 412 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4265, allocations: 0 / 412 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-06/0.4265, allocations: 0 / 412 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.984e-05/0.4266, allocations: 23.92 kB / 412 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.4271, allocations: 300.8 kB / 412.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4273, allocations: 38.56 kB / 412.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.4274, allocations: 4 kB / 412.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.4275, allocations: 67.42 kB / 412.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.303e-06/0.4275, allocations: 0 / 412.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004607/0.428, allocations: 113.3 kB / 412.6 MB, free: 3.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4281, allocations: 59.36 kB / 412.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4283, allocations: 165.6 kB / 412.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4284, allocations: 33.7 kB / 412.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4285, allocations: 162.5 kB / 413 MB, free: 3.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.4285, allocations: 11.81 kB / 413 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.4285, allocations: 0 / 413 MB, free: 3.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4287, allocations: 322.8 kB / 413.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.4288, allocations: 23.94 kB / 413.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.4289, allocations: 23.98 kB / 413.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.429, allocations: 53.7 kB / 413.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-06/0.429, allocations: 96 / 413.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002671/0.4293, allocations: 135.2 kB / 413.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.4293, allocations: 30.48 kB / 413.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.575e-06/0.4293, allocations: 0 / 413.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4294, allocations: 0 / 413.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.4294, allocations: 11.98 kB / 413.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4295, allocations: 8 kB / 413.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.4295, allocations: 3.953 kB / 413.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.4296, allocations: 4 kB / 413.6 MB, free: 2.641 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 0.0001391/0.4297, allocations: 129.8 kB / 413.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.4297, allocations: 7.906 kB / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.43, allocations: 93.98 kB / 413.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-06/0.43, allocations: 0 / 413.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-06/0.43, allocations: 4 kB / 413.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-06/0.4301, allocations: 0 / 413.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.4306, allocations: 362.4 kB / 414.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-06/0.4306, allocations: 0 / 414.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.4306, allocations: 8 kB / 414.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4306, allocations: 0 / 414.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4307, allocations: 0 / 414.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-06/0.4307, allocations: 4 kB / 414.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.831e-06/0.4307, allocations: 3.953 kB / 414.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4309, allocations: 179.7 kB / 414.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.431, allocations: 85.02 kB / 414.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.4311, allocations: 4 kB / 414.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.4312, allocations: 7.984 kB / 414.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.4312, allocations: 7.984 kB / 414.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4313, allocations: 7.891 kB / 414.5 MB, free: 1.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.4314, allocations: 138.3 kB / 414.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.35e-07/0.4315, allocations: 4 kB / 414.6 MB, free: 1.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.4318, allocations: 43.84 kB / 414.6 MB, free: 1.469 MB / 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * 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.001167/0.433, allocations: 370.5 kB / 415 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.4333, allocations: 111.4 kB / 415.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.552e-06/0.4333, allocations: 0 / 415.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.4334, allocations: 27.92 kB / 415.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4336, allocations: 16.11 kB / 415.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.4342, allocations: 247.2 kB / 415.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.4346, allocations: 0.7082 MB / 416.1 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.4347, allocations: 19.52 kB / 416.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.399e-06/0.4347, allocations: 0 / 416.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Templates: time 0.004309/0.4391, allocations: 1.747 MB / 417.9 MB, free: 14.25 MB / 346.7 MB