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.Test22.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.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3384, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4712, allocations: 75.86 MB / 407.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4715, allocations: 75.95 kB / 407.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.4899, allocations: 4.016 MB / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.49, allocations: 0 / 411.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.49, allocations: 8 kB / 411.8 MB, free: 14.47 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.0006751/0.4907, allocations: 428.6 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4908, allocations: 8.031 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.4908, allocations: 11.91 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4912, allocations: 194.9 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4912, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.4912, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.4914, allocations: 49.66 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4914, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4914, allocations: 0 / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.4915, allocations: 8 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.4916, allocations: 15.98 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.4921, allocations: 292.8 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.4924, allocations: 42.66 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4924, allocations: 7.984 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.4926, allocations: 55.41 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 5.631e-06/0.4926, allocations: 0 / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005844/0.4932, allocations: 121.2 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4933, allocations: 63.36 kB / 413 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.4936, allocations: 173.2 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.4936, allocations: 33.69 kB / 413.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.4937, allocations: 158.6 kB / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.4938, allocations: 15.75 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.4938, allocations: 4 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.494, allocations: 314.8 kB / 413.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.4941, allocations: 27.92 kB / 413.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.4942, allocations: 23.98 kB / 413.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.4943, allocations: 49.7 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4943, allocations: 0 / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003252/0.4946, allocations: 131.3 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.4947, allocations: 29.7 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4947, allocations: 4 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4948, allocations: 0 / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4949, allocations: 15.98 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4949, allocations: 3.953 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.495, allocations: 4 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.495, allocations: 0 / 414 MB, free: 11.98 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.0001554/0.4952, allocations: 129.8 kB / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.4952, allocations: 7.906 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4956, allocations: 89.92 kB / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4956, allocations: 0 / 414.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4956, allocations: 4 kB / 414.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4956, allocations: 3.953 kB / 414.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.4962, allocations: 354.5 kB / 414.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4962, allocations: 0 / 414.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.4963, allocations: 11.92 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4963, allocations: 96 / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4963, allocations: 7.938 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.4963, allocations: 4.141 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4963, allocations: 4 kB / 414.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.4966, allocations: 183.3 kB / 414.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.4967, allocations: 85.3 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.4967, allocations: 0 / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.4969, allocations: 4 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.4969, allocations: 15.94 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4969, allocations: 3.984 kB / 414.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4971, allocations: 123.8 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4971, allocations: 4 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.4975, allocations: 35.98 kB / 415.1 MB, free: 10.82 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.001068/0.4986, allocations: 376.2 kB / 415.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.4989, allocations: 111.4 kB / 415.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4989, allocations: 4 kB / 415.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.499, allocations: 19.94 kB / 415.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.4993, allocations: 15.98 kB / 415.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.4999, allocations: 227.3 kB / 415.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.5003, allocations: 0.7043 MB / 416.5 MB, free: 9.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.5004, allocations: 15.42 kB / 416.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5004, allocations: 4 kB / 416.5 MB, free: 9.359 MB / 346.7 MB Notification: Performance of Templates: time 0.004997/0.5054, allocations: 1.7 MB / 418.2 MB, free: 7.664 MB / 346.7 MB