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.Test43.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.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004458, allocations: 19.94 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2827, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3962, allocations: 75.87 MB / 407.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.3965, allocations: 67.97 kB / 407.2 MB, free: 2.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.4136, allocations: 4.096 MB / 411.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.452e-06/0.4137, allocations: 0 / 411.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.4137, allocations: 4 kB / 411.3 MB, free: 14.4 MB / 346.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.0005838/0.4143, allocations: 436.6 kB / 411.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4144, allocations: 8.031 kB / 411.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.4144, allocations: 7.906 kB / 411.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.4147, allocations: 202.8 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4147, allocations: 0 / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.4148, allocations: 7.984 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4149, allocations: 45.69 kB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4149, allocations: 4 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.415, allocations: 0 / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-06/0.415, allocations: 4 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.415, allocations: 15.98 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.4155, allocations: 296.7 kB / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.4158, allocations: 42.56 kB / 412.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.4158, allocations: 0 / 412.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.416, allocations: 71.42 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.283e-06/0.416, allocations: 0 / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004768/0.4165, allocations: 109.4 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4165, allocations: 51.41 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.4168, allocations: 165.6 kB / 412.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.4168, allocations: 37.64 kB / 412.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.417, allocations: 162.5 kB / 413 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.417, allocations: 23.73 kB / 413 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-06/0.417, allocations: 0 / 413 MB, free: 12.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4172, allocations: 326.8 kB / 413.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.18e-05/0.4173, allocations: 20 kB / 413.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.4174, allocations: 27.97 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.4175, allocations: 49.73 kB / 413.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-06/0.4175, allocations: 3.984 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002719/0.4178, allocations: 131.2 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.4178, allocations: 38.62 kB / 413.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-06/0.4178, allocations: 4 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4179, allocations: 0 / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.4179, allocations: 8 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.669e-06/0.418, allocations: 0 / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.418, allocations: 4 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.4181, allocations: 0 / 413.6 MB, free: 11.9 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 () * 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.000142/0.4182, allocations: 133.8 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.4183, allocations: 7.906 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.4185, allocations: 97.98 kB / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4186, allocations: 288 / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-06/0.4186, allocations: 4 kB / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4186, allocations: 3.984 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.4191, allocations: 354.5 kB / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4191, allocations: 0 / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.4192, allocations: 7.938 kB / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.261e-06/0.4192, allocations: 0 / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4192, allocations: 4 kB / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4192, allocations: 0 / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.032e-06/0.4193, allocations: 7.984 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.4195, allocations: 175.4 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.4196, allocations: 85.02 kB / 414.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4197, allocations: 11.98 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.4198, allocations: 0 / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.4198, allocations: 4 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4198, allocations: 0 / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.42, allocations: 146.5 kB / 414.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.947e-06/0.42, allocations: 0 / 414.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.4204, allocations: 51.73 kB / 414.6 MB, free: 10.73 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) * 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.001185/0.4216, allocations: 366.5 kB / 415 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4219, allocations: 119.4 kB / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.7e-06/0.4219, allocations: 0 / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.422, allocations: 19.94 kB / 415.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4223, allocations: 16.11 kB / 415.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.4229, allocations: 263.2 kB / 415.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.4233, allocations: 0.7043 MB / 416.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.4234, allocations: 15.38 kB / 416.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of SimCode: time 1.46e-06/0.4234, allocations: 0 / 416.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of Templates: time 0.004485/0.4279, allocations: 1.736 MB / 417.9 MB, free: 7.512 MB / 346.7 MB