Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006077/0.0006079, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.351, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4881, allocations: 75.86 MB / 407.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.4885, allocations: 79.95 kB / 407.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.5077, allocations: 4.206 MB / 412 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5078, allocations: 3.938 kB / 412 MB, free: 14.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.5078, allocations: 4 kB / 412 MB, free: 14.28 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.000783/0.5086, allocations: 436.5 kB / 412.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5087, allocations: 8.031 kB / 412.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.5088, allocations: 11.91 kB / 412.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.5092, allocations: 206.8 kB / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5092, allocations: 4 kB / 412.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.5093, allocations: 4 kB / 412.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5094, allocations: 45.67 kB / 412.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.5095, allocations: 0 / 412.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5095, allocations: 3.938 kB / 412.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.5095, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.5096, allocations: 15.98 kB / 412.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.5102, allocations: 296.8 kB / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.5105, allocations: 46.55 kB / 413 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5106, allocations: 4 kB / 413 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.5107, allocations: 55.44 kB / 413.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.315e-06/0.5108, allocations: 0 / 413.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006536/0.5114, allocations: 129.2 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.5115, allocations: 51.41 kB / 413.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.5119, allocations: 215.3 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.512, allocations: 29.7 kB / 413.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5121, allocations: 166.5 kB / 413.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.5122, allocations: 11.91 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.5122, allocations: 0 / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5124, allocations: 318.8 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.5125, allocations: 23.98 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.5126, allocations: 23.94 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5128, allocations: 57.69 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5128, allocations: 4 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003851/0.5132, allocations: 123.2 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.5133, allocations: 41.69 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5133, allocations: 0 / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5133, allocations: 0 / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.5134, allocations: 8 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.5134, allocations: 0 / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.5136, allocations: 8.062 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.5136, allocations: 11.94 kB / 414.3 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.0001757/0.5138, allocations: 130.1 kB / 414.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.5139, allocations: 7.906 kB / 414.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.5142, allocations: 102.6 kB / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5143, allocations: 0 / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5143, allocations: 0 / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5143, allocations: 0 / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.5151, allocations: 370.4 kB / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5151, allocations: 0 / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.5152, allocations: 12 kB / 414.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.5152, allocations: 0 / 414.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.5152, allocations: 4 kB / 414.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5153, allocations: 4 kB / 414.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.5153, allocations: 3.984 kB / 414.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.5157, allocations: 171.4 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5158, allocations: 96.95 kB / 415.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.5159, allocations: 7.922 kB / 415.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.5161, allocations: 4 kB / 415.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.5161, allocations: 4.094 kB / 415.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.5162, allocations: 7.938 kB / 415.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003122/0.5165, allocations: 159.9 kB / 415.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5165, allocations: 0 / 415.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007091/0.5172, allocations: 43.94 kB / 415.4 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.001638/0.5189, allocations: 372.5 kB / 415.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.5193, allocations: 111.4 kB / 415.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5194, allocations: 0 / 415.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.5195, allocations: 27.86 kB / 415.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.52, allocations: 15.98 kB / 415.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.5209, allocations: 267.4 kB / 416.2 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.5214, allocations: 0.7121 MB / 416.9 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.5215, allocations: 11.44 kB / 416.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5215, allocations: 0 / 416.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of Templates: time 0.006937/0.5285, allocations: 1.809 MB / 418.7 MB, free: 7.203 MB / 346.7 MB