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.Test17.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.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.004/2.004, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.000648, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3538, allocations: 48.71 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4922, allocations: 75.87 MB / 407.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.4926, allocations: 67.97 kB / 407.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.5107, allocations: 3.974 MB / 411.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5108, allocations: 0 / 411.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.5108, allocations: 11.98 kB / 411.7 MB, free: 14.52 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.0006145/0.5115, allocations: 423.7 kB / 412.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5115, allocations: 8.031 kB / 412.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.5116, allocations: 7.906 kB / 412.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.5119, allocations: 194.9 kB / 412.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.5119, allocations: 11.98 kB / 412.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.5119, allocations: 4 kB / 412.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.5121, allocations: 45.67 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5121, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5121, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5121, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.5122, allocations: 19.92 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.5127, allocations: 292.8 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.513, allocations: 50.56 kB / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.513, allocations: 0 / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.5132, allocations: 59.42 kB / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.5132, allocations: 0 / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005439/0.5137, allocations: 117.4 kB / 412.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.5138, allocations: 59.34 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.514, allocations: 166.1 kB / 413.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5141, allocations: 29.64 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.5142, allocations: 162.5 kB / 413.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.5142, allocations: 15.75 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.5142, allocations: 4 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5144, allocations: 318.8 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.5145, allocations: 16 kB / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.5145, allocations: 23.98 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.5147, allocations: 49.7 kB / 413.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5147, allocations: 8 kB / 413.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002789/0.515, allocations: 123.3 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.515, allocations: 41.69 kB / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.515, allocations: 0 / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5151, allocations: 0 / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.5152, allocations: 8 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5152, allocations: 3.953 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.5153, allocations: 4 kB / 414 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.5153, allocations: 4 kB / 414 MB, free: 12.06 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.0001281/0.5154, allocations: 125.8 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5155, allocations: 7.906 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.5158, allocations: 93.83 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5158, allocations: 0 / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5158, allocations: 0 / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5158, allocations: 3.953 kB / 414.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.5163, allocations: 342.6 kB / 414.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5163, allocations: 3.938 kB / 414.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.5164, allocations: 15.98 kB / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5164, allocations: 0 / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.5164, allocations: 4.281 kB / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5164, allocations: 4.047 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5165, allocations: 3.938 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.5167, allocations: 167.5 kB / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.5168, allocations: 92.98 kB / 414.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.5168, allocations: 8.25 kB / 414.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.5169, allocations: 4 kB / 414.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.517, allocations: 15.94 kB / 414.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.517, allocations: 0 / 414.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.5172, allocations: 125.9 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.825e-06/0.5172, allocations: 0 / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.5176, allocations: 43.88 kB / 415 MB, free: 10.91 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.00106/0.5187, allocations: 367.7 kB / 415.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.519, allocations: 111.4 kB / 415.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.519, allocations: 0 / 415.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.5191, allocations: 23.92 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.5194, allocations: 15.98 kB / 415.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.52, allocations: 219.3 kB / 415.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5203, allocations: 0.6965 MB / 416.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.5204, allocations: 19.42 kB / 416.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5204, allocations: 0 / 416.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of Templates: time 0.005186/0.5256, allocations: 1.67 MB / 418.1 MB, free: 7.809 MB / 346.7 MB