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.Test29.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.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004606, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2855, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3991, allocations: 75.87 MB / 407.2 MB, free: 2.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.3994, allocations: 63.97 kB / 407.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.4163, allocations: 4.039 MB / 411.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.333e-06/0.4164, allocations: 0 / 411.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4164, allocations: 4 kB / 411.3 MB, free: 14.46 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.0005679/0.417, allocations: 420.6 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.417, allocations: 12.03 kB / 411.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.4171, allocations: 7.906 kB / 411.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4174, allocations: 202.8 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4174, allocations: 4 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.4174, allocations: 4 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.4176, allocations: 45.67 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4176, allocations: 0 / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1e-05/0.4176, allocations: 4 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-06/0.4176, allocations: 0 / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.4177, allocations: 15.98 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.4182, allocations: 288.8 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.4184, allocations: 54.5 kB / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4185, allocations: 0 / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.4186, allocations: 59.39 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.27e-06/0.4186, allocations: 0 / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004809/0.4191, allocations: 121.3 kB / 412.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4192, allocations: 59.36 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4194, allocations: 161.4 kB / 412.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4195, allocations: 25.7 kB / 412.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.4196, allocations: 158.6 kB / 412.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.4196, allocations: 15.81 kB / 412.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-06/0.4196, allocations: 0 / 412.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4198, allocations: 318.8 kB / 413.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.4199, allocations: 27.88 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.42, allocations: 23.98 kB / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.4201, allocations: 53.69 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-06/0.4201, allocations: 4 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000274/0.4204, allocations: 123.3 kB / 413.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.4204, allocations: 37.69 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-06/0.4205, allocations: 0 / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4205, allocations: 0 / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.4205, allocations: 12 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.226e-06/0.4206, allocations: 0 / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.4207, allocations: 12.02 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4207, allocations: 0 / 413.5 MB, free: 12 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.000134/0.4208, allocations: 130.1 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4209, allocations: 7.906 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.4211, allocations: 93.91 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-06/0.4212, allocations: 96 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.537e-06/0.4212, allocations: 3.938 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-06/0.4212, allocations: 0 / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.4217, allocations: 366.3 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-06/0.4217, allocations: 0 / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.4218, allocations: 8 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.65e-06/0.4218, allocations: 8 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-06/0.4218, allocations: 3.938 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-06/0.4218, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4218, allocations: 3.953 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4221, allocations: 171.4 kB / 414.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.4222, allocations: 89.02 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4222, allocations: 4 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.4223, allocations: 4 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.4224, allocations: 11.94 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4224, allocations: 0 / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.4226, allocations: 130.6 kB / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.4226, allocations: 0 / 414.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.423, allocations: 35.98 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.001187/0.4242, allocations: 390 kB / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.4245, allocations: 111.4 kB / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.768e-06/0.4245, allocations: 0 / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.4245, allocations: 20 kB / 415 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4248, allocations: 11.98 kB / 415.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.4254, allocations: 231.2 kB / 415.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.4258, allocations: 0.7113 MB / 416 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.4259, allocations: 15.44 kB / 416 MB, free: 9.375 MB / 346.7 MB Notification: Performance of SimCode: time 1.586e-06/0.4259, allocations: 0 / 416 MB, free: 9.375 MB / 346.7 MB Notification: Performance of Templates: time 0.004265/0.4302, allocations: 1.702 MB / 417.7 MB, free: 7.68 MB / 346.7 MB