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.Test29.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.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 2.14/2.14, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 15.98 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4873, allocations: 75.86 MB / 407.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.4876, allocations: 79.94 kB / 407.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.5058, allocations: 4.03 MB / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5058, allocations: 0 / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.5059, allocations: 4 kB / 411.8 MB, free: 14.47 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.0006191/0.5065, allocations: 428.7 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5066, allocations: 8.031 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.5066, allocations: 7.906 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.5069, allocations: 206.8 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.507, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.507, allocations: 7.984 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.5072, allocations: 41.69 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5072, allocations: 4 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5072, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5072, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.5073, allocations: 15.98 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.5078, allocations: 292.9 kB / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.5081, allocations: 42.5 kB / 412.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.5081, allocations: 4 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.5083, allocations: 63.48 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.455e-06/0.5083, allocations: 0 / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.5088, allocations: 117.3 kB / 413 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.5089, allocations: 55.36 kB / 413.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.5092, allocations: 177.3 kB / 413.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.5092, allocations: 29.7 kB / 413.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.5093, allocations: 158.6 kB / 413.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.5094, allocations: 19.81 kB / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5094, allocations: 0 / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5095, allocations: 318.8 kB / 413.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.5096, allocations: 16 kB / 413.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.5097, allocations: 27.92 kB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.5098, allocations: 61.62 kB / 413.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5098, allocations: 0 / 413.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000294/0.5101, allocations: 123.4 kB / 414 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.5102, allocations: 37.69 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5102, allocations: 4 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5102, allocations: 4 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.5103, allocations: 11.94 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5103, allocations: 3.953 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.5104, allocations: 0 / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.5105, allocations: 7.984 kB / 414 MB, free: 11.98 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.0001375/0.5106, allocations: 117.8 kB / 414.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.5107, allocations: 7.906 kB / 414.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.511, allocations: 94.11 kB / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.511, allocations: 0 / 414.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.511, allocations: 11.92 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.511, allocations: 3.953 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.5115, allocations: 354.5 kB / 414.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5115, allocations: 4 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.5116, allocations: 4 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5116, allocations: 0 / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5117, allocations: 4 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.5117, allocations: 7.953 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5117, allocations: 0 / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.5119, allocations: 179.6 kB / 414.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.512, allocations: 89.02 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.5121, allocations: 0 / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.5122, allocations: 11.97 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5122, allocations: 3.953 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.5123, allocations: 4 kB / 414.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.5124, allocations: 135.8 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5125, allocations: 0 / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.5128, allocations: 32 kB / 415.1 MB, free: 10.83 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.001082/0.5139, allocations: 364.2 kB / 415.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.5143, allocations: 123.3 kB / 415.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5143, allocations: 0 / 415.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.5144, allocations: 19.98 kB / 415.6 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.0003296/0.5147, allocations: 12 kB / 415.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.5153, allocations: 231.4 kB / 415.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5157, allocations: 0.7082 MB / 416.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.5158, allocations: 11.44 kB / 416.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5158, allocations: 0 / 416.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of Templates: time 0.005329/0.5211, allocations: 1.708 MB / 418.2 MB, free: 7.672 MB / 346.7 MB