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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.2 MB / 224.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005903, allocations: 12 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.08985, allocations: 48.7 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3814/0.4713, allocations: 75.9 MB / 407.2 MB, free: 9.152 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4716, allocations: 71.97 kB / 407.3 MB, free: 9.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.4905, allocations: 4.619 MB / 411.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.24e-06/0.4906, allocations: 0 / 411.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.4906, allocations: 4 kB / 411.9 MB, free: 4.461 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000639/0.4912, allocations: 460.3 kB / 412.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4913, allocations: 12.03 kB / 412.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.4914, allocations: 7.906 kB / 412.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.4917, allocations: 206.8 kB / 412.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.4917, allocations: 11.98 kB / 412.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.4918, allocations: 11.98 kB / 412.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4919, allocations: 61.59 kB / 412.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.492, allocations: 3.906 kB / 412.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.492, allocations: 4 kB / 412.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-06/0.492, allocations: 0 / 412.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.4921, allocations: 31.91 kB / 412.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.4927, allocations: 324.8 kB / 413 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4929, allocations: 58.56 kB / 413 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.4929, allocations: 0 / 413 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.4931, allocations: 71.45 kB / 413.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.362e-06/0.4931, allocations: 0 / 413.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006391/0.4937, allocations: 185.2 kB / 413.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4938, allocations: 51.41 kB / 413.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.4941, allocations: 221.8 kB / 413.6 MB, free: 2.574 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4942, allocations: 29.7 kB / 413.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4943, allocations: 166.8 kB / 413.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.4944, allocations: 31.55 kB / 413.8 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-06/0.4944, allocations: 0 / 413.8 MB, free: 2.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4946, allocations: 318.8 kB / 414.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.4947, allocations: 27.98 kB / 414.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.4948, allocations: 31.98 kB / 414.2 MB, free: 1.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.4949, allocations: 66.34 kB / 414.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-06/0.4949, allocations: 4 kB / 414.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003402/0.4953, allocations: 163.2 kB / 414.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.4953, allocations: 34.48 kB / 414.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.435e-06/0.4953, allocations: 0 / 414.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4954, allocations: 3.984 kB / 414.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4955, allocations: 15.95 kB / 414.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.217e-06/0.4955, allocations: 0 / 414.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.4956, allocations: 4 kB / 414.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4956, allocations: 8.188 kB / 414.5 MB, free: 1.645 MB / 330.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 (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.0001637/0.4958, allocations: 141.7 kB / 414.6 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.4959, allocations: 15.8 kB / 414.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.4962, allocations: 131 kB / 414.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.536e-06/0.4962, allocations: 4 kB / 414.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.4963, allocations: 3.953 kB / 414.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.261e-06/0.4963, allocations: 0 / 414.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.497, allocations: 426.4 kB / 415.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-06/0.497, allocations: 0 / 415.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.4971, allocations: 16 kB / 415.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.833e-06/0.4971, allocations: 0 / 415.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.4971, allocations: 7.953 kB / 415.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.209e-06/0.4971, allocations: 0 / 415.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4971, allocations: 0 / 415.2 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.4975, allocations: 211.3 kB / 415.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.4976, allocations: 92.92 kB / 415.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.4976, allocations: 8 kB / 415.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4978, allocations: 7.953 kB / 415.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.4978, allocations: 7.984 kB / 415.5 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4978, allocations: 4 kB / 415.5 MB, free: 496 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003587/0.4982, allocations: 175.2 kB / 415.7 MB, free: 320 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.26e-06/0.4982, allocations: 0 / 415.7 MB, free: 320 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007812/0.499, allocations: 51.86 kB / 415.7 MB, free: 268 kB / 330.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 (10): * Single equations (assignments): 9 * 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.001307/0.5004, allocations: 377.4 kB / 416.1 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.5007, allocations: 139.3 kB / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.864e-06/0.5008, allocations: 4 kB / 416.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.5009, allocations: 32.12 kB / 416.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.5012, allocations: 16.17 kB / 416.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.5019, allocations: 335.8 kB / 416.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.5024, allocations: 0.7238 MB / 417.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.5025, allocations: 19.42 kB / 417.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.809e-06/0.5025, allocations: 0 / 417.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of Templates: time 0.005245/0.5077, allocations: 2.089 MB / 419.4 MB, free: 12.56 MB / 346.7 MB