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.Test2.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.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 224.8 MB, free: 428 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 12 kB / 282.6 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4046, allocations: 75.82 MB / 407.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4049, allocations: 67.97 kB / 407.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01659/0.4215, allocations: 3.847 MB / 411 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.589e-06/0.4216, allocations: 0 / 411 MB, free: 14.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4216, allocations: 0 / 411 MB, free: 14.69 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.0005895/0.4222, allocations: 416.7 kB / 411.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4222, allocations: 8.031 kB / 411.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.4223, allocations: 4 kB / 411.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.4226, allocations: 203.8 kB / 411.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4226, allocations: 4 kB / 411.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.4227, allocations: 4 kB / 411.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4228, allocations: 49.61 kB / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4228, allocations: 0 / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4229, allocations: 4 kB / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-06/0.4229, allocations: 0 / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.4229, allocations: 15.98 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.4234, allocations: 284.8 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.4237, allocations: 50.5 kB / 412 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.4237, allocations: 0 / 412 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.4239, allocations: 59.48 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.2e-06/0.4239, allocations: 0 / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004928/0.4244, allocations: 117.5 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4245, allocations: 55.41 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4247, allocations: 144.1 kB / 412.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.4247, allocations: 33.7 kB / 412.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4248, allocations: 158.5 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.4248, allocations: 7.906 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-06/0.4249, allocations: 4 kB / 412.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.425, allocations: 318.8 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.4251, allocations: 20 kB / 412.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.4252, allocations: 27.92 kB / 413 MB, free: 12.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.4253, allocations: 65.62 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-06/0.4253, allocations: 0 / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002889/0.4256, allocations: 127.4 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.4257, allocations: 33.69 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.989e-06/0.4257, allocations: 80 / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4257, allocations: 4 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.4258, allocations: 11.94 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4259, allocations: 3.984 kB / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.4259, allocations: 0 / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.426, allocations: 4 kB / 413.2 MB, free: 12.26 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.0001363/0.4261, allocations: 133.8 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4261, allocations: 7.906 kB / 413.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.4264, allocations: 90.05 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-06/0.4264, allocations: 0 / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-06/0.4264, allocations: 0 / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-06/0.4265, allocations: 0 / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.427, allocations: 346.5 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-06/0.427, allocations: 4 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.427, allocations: 8 kB / 413.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4271, allocations: 0 / 413.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4271, allocations: 4 kB / 413.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.184e-06/0.4271, allocations: 7.984 kB / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-06/0.4271, allocations: 0 / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.4274, allocations: 175.3 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.4274, allocations: 81.02 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.4275, allocations: 15.98 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.4276, allocations: 0 / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.4276, allocations: 4 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4277, allocations: 0 / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.4278, allocations: 115.2 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4278, allocations: 0 / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.4282, allocations: 31.89 kB / 414.2 MB, free: 11.15 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.00122/0.4295, allocations: 385.5 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.4298, allocations: 111.3 kB / 414.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.365e-06/0.4298, allocations: 0 / 414.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.4299, allocations: 23.98 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.4302, allocations: 19.92 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.4308, allocations: 207.6 kB / 414.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.4312, allocations: 0.6965 MB / 415.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.4312, allocations: 15.44 kB / 415.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of SimCode: time 3.878e-06/0.4313, allocations: 0 / 415.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of Templates: time 0.004267/0.4355, allocations: 1.637 MB / 417.3 MB, free: 8.074 MB / 346.7 MB