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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004424, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2817, allocations: 48.7 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.394, allocations: 75.87 MB / 407.2 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3942, allocations: 75.95 kB / 407.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01667/0.4109, allocations: 4.031 MB / 411.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.548e-06/0.411, allocations: 0 / 411.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.411, allocations: 0 / 411.3 MB, free: 14.45 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.0005887/0.4116, allocations: 432.6 kB / 411.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4117, allocations: 12.03 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.4117, allocations: 7.906 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.412, allocations: 194.8 kB / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.412, allocations: 8 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4121, allocations: 0 / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4122, allocations: 49.67 kB / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4122, allocations: 0 / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4122, allocations: 0 / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-06/0.4123, allocations: 0 / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.4123, allocations: 15.98 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.4128, allocations: 296.8 kB / 412.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4131, allocations: 42.56 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.4131, allocations: 3.984 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.4132, allocations: 59.5 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.183e-06/0.4133, allocations: 4 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000486/0.4138, allocations: 121.2 kB / 412.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.4138, allocations: 55.36 kB / 412.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.4141, allocations: 161.4 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.4141, allocations: 25.7 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.4142, allocations: 162.6 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.4143, allocations: 11.8 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.4143, allocations: 8 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4145, allocations: 310.8 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.4145, allocations: 35.86 kB / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.4146, allocations: 23.98 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.4147, allocations: 57.73 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-06/0.4148, allocations: 0 / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002549/0.415, allocations: 123.3 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.4151, allocations: 33.7 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.415e-06/0.4151, allocations: 0 / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4151, allocations: 0 / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.4152, allocations: 8 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.642e-06/0.4152, allocations: 0 / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.4153, allocations: 15.94 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4153, allocations: 8.281 kB / 413.5 MB, free: 11.97 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.0001259/0.4155, allocations: 117.8 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.4155, allocations: 11.89 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.4158, allocations: 93.91 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-06/0.4158, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4158, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-06/0.4158, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.4163, allocations: 362.6 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-06/0.4163, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.4164, allocations: 8 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-06/0.4164, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4164, allocations: 7.922 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.228e-06/0.4164, allocations: 0 / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.781e-06/0.4165, allocations: 3.953 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.4167, allocations: 179.4 kB / 414.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.4168, allocations: 89 kB / 414.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.4168, allocations: 4 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.417, allocations: 4 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.417, allocations: 7.953 kB / 414.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.417, allocations: 0 / 414.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.4172, allocations: 138.6 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4172, allocations: 0 / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.4176, allocations: 24 kB / 414.5 MB, free: 10.84 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.00118/0.4188, allocations: 393.5 kB / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.4191, allocations: 107.4 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.616e-06/0.4191, allocations: 0 / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.4191, allocations: 19.98 kB / 415 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4194, allocations: 23.92 kB / 415.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.42, allocations: 231.2 kB / 415.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4204, allocations: 0.6965 MB / 416 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.4204, allocations: 19.44 kB / 416 MB, free: 9.367 MB / 346.7 MB Notification: Performance of SimCode: time 1.314e-06/0.4205, allocations: 0 / 416 MB, free: 9.367 MB / 346.7 MB Notification: Performance of Templates: time 0.00433/0.4248, allocations: 1.698 MB / 417.7 MB, free: 7.676 MB / 346.7 MB