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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.2 MB / 224.8 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 12 kB / 282.6 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2992, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.4601, allocations: 76.63 MB / 407.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4604, allocations: 67.97 kB / 408 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.4737, allocations: 3.228 MB / 411.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.847e-06/0.4737, allocations: 3.938 kB / 411.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.4737, allocations: 3.938 kB / 411.2 MB, free: 14.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007149/0.4745, allocations: 486.3 kB / 411.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4745, allocations: 8.031 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.4746, allocations: 11.91 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.4749, allocations: 202.8 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.475, allocations: 8 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.475, allocations: 7.938 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.4752, allocations: 73.66 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.555e-06/0.4753, allocations: 0 / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4753, allocations: 0 / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-06/0.4753, allocations: 8 kB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.4755, allocations: 43.97 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.4762, allocations: 352.6 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.4765, allocations: 70.67 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.4765, allocations: 0 / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.4768, allocations: 75.5 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.57e-06/0.4768, allocations: 7.938 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004296/0.4772, allocations: 117.6 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4773, allocations: 55.36 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.4775, allocations: 157.2 kB / 412.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4775, allocations: 25.7 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4777, allocations: 162.6 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.4777, allocations: 31.64 kB / 413.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4777, allocations: 4.047 kB / 413.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4779, allocations: 318.8 kB / 413.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.478, allocations: 35.97 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4782, allocations: 49.64 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4784, allocations: 71.38 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.911e-06/0.4784, allocations: 0 / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004183/0.4788, allocations: 155.2 kB / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.4789, allocations: 33.7 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.045e-06/0.4789, allocations: 4 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4789, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.479, allocations: 15.98 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4791, allocations: 8.031 kB / 413.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.4792, allocations: 11.95 kB / 413.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.4792, allocations: 4 kB / 413.8 MB, free: 11.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001436/0.4794, allocations: 125.8 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.4794, allocations: 11.81 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.4797, allocations: 114.6 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-06/0.4798, allocations: 7.938 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-06/0.4798, allocations: 4 kB / 414 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.688e-06/0.4798, allocations: 3.984 kB / 414 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.4801, allocations: 201.5 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-06/0.4801, allocations: 0 / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4802, allocations: 12 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.012e-06/0.4802, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.4802, allocations: 3.984 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4803, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-06/0.4803, allocations: 4 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.4807, allocations: 172.9 kB / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.4808, allocations: 96.92 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.4809, allocations: 4 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.481, allocations: 8 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.481, allocations: 8.047 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.481, allocations: 4 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.4812, allocations: 122.5 kB / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.4812, allocations: 0 / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.4815, allocations: 39.92 kB / 414.7 MB, free: 10.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.001066/0.4826, allocations: 335.9 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.483, allocations: 147.3 kB / 415.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.483, allocations: 0 / 415.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4832, allocations: 35.92 kB / 415.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.4834, allocations: 26.52 kB / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.4841, allocations: 287.4 kB / 415.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.4845, allocations: 0.7082 MB / 416.2 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.4846, allocations: 19.61 kB / 416.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.606e-06/0.4846, allocations: 0 / 416.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of Templates: time 0.004685/0.4893, allocations: 1.863 MB / 418.1 MB, free: 7.266 MB / 346.7 MB