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.Test36.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.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.000442, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2864, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3992, allocations: 75.86 MB / 407.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.3995, allocations: 67.97 kB / 407.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.417, allocations: 4.236 MB / 411.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.4171, allocations: 4 kB / 411.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.4171, allocations: 4 kB / 411.5 MB, free: 14.26 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.0006/0.4177, allocations: 432.6 kB / 411.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4178, allocations: 12.03 kB / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.4178, allocations: 7.906 kB / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.4182, allocations: 210.8 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4182, allocations: 0 / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.4182, allocations: 7.938 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4184, allocations: 45.69 kB / 412.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4184, allocations: 0 / 412.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4184, allocations: 4 kB / 412.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-06/0.4184, allocations: 0 / 412.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.4185, allocations: 15.98 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.419, allocations: 300.8 kB / 412.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4192, allocations: 46.5 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4193, allocations: 4 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.4194, allocations: 59.48 kB / 412.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.477e-06/0.4195, allocations: 0 / 412.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004791/0.4199, allocations: 125.2 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.42, allocations: 51.41 kB / 412.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.4203, allocations: 194.5 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4203, allocations: 29.64 kB / 413 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4205, allocations: 170.5 kB / 413.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4205, allocations: 11.89 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-06/0.4205, allocations: 4 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4207, allocations: 318.8 kB / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.4208, allocations: 27.97 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.4209, allocations: 19.94 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.421, allocations: 61.62 kB / 413.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.421, allocations: 0 / 413.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002641/0.4213, allocations: 123.3 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.4213, allocations: 42.62 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-06/0.4214, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4214, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.4214, allocations: 11.94 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.32e-06/0.4215, allocations: 4.141 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.4215, allocations: 4 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4216, allocations: 7.984 kB / 413.8 MB, free: 11.71 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.0001473/0.4217, allocations: 129.8 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.4218, allocations: 8.188 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.4221, allocations: 94.78 kB / 414 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-06/0.4221, allocations: 7.984 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.217e-06/0.4221, allocations: 4 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-06/0.4221, allocations: 0 / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.4227, allocations: 370.4 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-06/0.4227, allocations: 0 / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.4228, allocations: 8 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.4228, allocations: 0 / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4228, allocations: 4 kB / 414.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.652e-06/0.4228, allocations: 0 / 414.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-06/0.4228, allocations: 0 / 414.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.4231, allocations: 183.3 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.4232, allocations: 92.95 kB / 414.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.4232, allocations: 7.984 kB / 414.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.4233, allocations: 0 / 414.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.4234, allocations: 4.094 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.4234, allocations: 11.94 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.4236, allocations: 159.9 kB / 414.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4236, allocations: 0 / 414.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.424, allocations: 36 kB / 414.9 MB, free: 10.51 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.0012/0.4252, allocations: 378 kB / 415.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.4255, allocations: 115.3 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4255, allocations: 0 / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.4256, allocations: 23.92 kB / 415.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.4259, allocations: 19.97 kB / 415.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.4266, allocations: 271.5 kB / 415.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.427, allocations: 0.7082 MB / 416.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.4271, allocations: 19.38 kB / 416.4 MB, free: 9.004 MB / 346.7 MB Notification: Performance of SimCode: time 1.512e-06/0.4271, allocations: 0 / 416.4 MB, free: 9.004 MB / 346.7 MB Notification: Performance of Templates: time 0.004545/0.4316, allocations: 1.797 MB / 418.2 MB, free: 7.211 MB / 346.7 MB