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.Test48.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.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 224.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 12 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 48.71 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4757, allocations: 75.86 MB / 407.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.476, allocations: 71.95 kB / 407.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.4938, allocations: 4.35 MB / 411.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4938, allocations: 0 / 411.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4938, allocations: 4 kB / 411.6 MB, free: 4.898 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006161/0.4945, allocations: 456.4 kB / 412 MB, free: 4.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4945, allocations: 12.03 kB / 412 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.4946, allocations: 15.81 kB / 412 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.4949, allocations: 206.8 kB / 412.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4949, allocations: 0 / 412.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.495, allocations: 4 kB / 412.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4951, allocations: 49.67 kB / 412.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4951, allocations: 0 / 412.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4952, allocations: 0 / 412.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4952, allocations: 7.984 kB / 412.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.4952, allocations: 19.92 kB / 412.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.4958, allocations: 308.8 kB / 412.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.496, allocations: 42.56 kB / 412.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.496, allocations: 0 / 412.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.4962, allocations: 63.42 kB / 412.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.4962, allocations: 4 kB / 412.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004826/0.4967, allocations: 129.2 kB / 412.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4968, allocations: 59.3 kB / 412.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.4971, allocations: 218.7 kB / 413.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.4972, allocations: 29.7 kB / 413.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4973, allocations: 170.5 kB / 413.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.4973, allocations: 19.88 kB / 413.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.4973, allocations: 0 / 413.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4975, allocations: 314.8 kB / 413.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.4976, allocations: 23.98 kB / 413.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.4977, allocations: 20 kB / 413.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.4978, allocations: 57.69 kB / 413.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-06/0.4978, allocations: 3.938 kB / 413.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002669/0.4981, allocations: 131.2 kB / 413.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.4981, allocations: 37.7 kB / 413.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-06/0.4982, allocations: 0 / 413.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4982, allocations: 0 / 413.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.4983, allocations: 8 kB / 413.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.802e-06/0.4983, allocations: 0 / 413.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.4984, allocations: 15.94 kB / 413.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4984, allocations: 4 kB / 413.9 MB, free: 2.273 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 (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.0001493/0.4986, allocations: 133.8 kB / 414.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.4986, allocations: 7.906 kB / 414.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.4989, allocations: 98.52 kB / 414.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-06/0.4989, allocations: 0 / 414.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.203e-06/0.4989, allocations: 0 / 414.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.4989, allocations: 0 / 414.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.4995, allocations: 382.4 kB / 414.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-06/0.4995, allocations: 0 / 414.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.4996, allocations: 12 kB / 414.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.296e-06/0.4996, allocations: 0 / 414.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4996, allocations: 7.984 kB / 414.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4996, allocations: 0 / 414.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.064e-06/0.4996, allocations: 3.953 kB / 414.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4999, allocations: 171.6 kB / 414.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.5, allocations: 101 kB / 414.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.5001, allocations: 8 kB / 414.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.5002, allocations: 0 / 414.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.5002, allocations: 4 kB / 414.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5002, allocations: 11.94 kB / 414.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.5005, allocations: 185.1 kB / 415.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.5005, allocations: 3.938 kB / 415.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.5009, allocations: 39.94 kB / 415.1 MB, free: 1.023 MB / 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 (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.001178/0.5021, allocations: 379.2 kB / 415.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.5024, allocations: 111.4 kB / 415.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.084e-06/0.5024, allocations: 0 / 415.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.5025, allocations: 23.92 kB / 415.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.5028, allocations: 20.17 kB / 415.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.5035, allocations: 303.4 kB / 415.9 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.5039, allocations: 0.7199 MB / 416.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.504, allocations: 15.44 kB / 416.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.606e-06/0.504, allocations: 0 / 416.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of Templates: time 0.004747/0.5088, allocations: 1.918 MB / 418.6 MB, free: 13.57 MB / 346.7 MB