Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.924e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3508, allocations: 54.86 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.5933, allocations: 82.28 MB / 446.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5936, allocations: 71.97 kB / 446.9 MB, free: 14.13 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.6156, allocations: 5.221 MB / 452.1 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.941e-06/0.6156, allocations: 0.9375 kB / 452.1 MB, free: 8.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.6156, allocations: 4 kB / 452.1 MB, free: 8.93 MB / 378.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.0006111/0.6163, allocations: 453.6 kB / 452.6 MB, free: 8.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6163, allocations: 8.031 kB / 452.6 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.6164, allocations: 19.89 kB / 452.6 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.6167, allocations: 191 kB / 452.8 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.6168, allocations: 7.984 kB / 452.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.6168, allocations: 11.95 kB / 452.8 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.617, allocations: 79.48 kB / 452.9 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.617, allocations: 0 / 452.9 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.6171, allocations: 0.8438 kB / 452.9 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-06/0.6171, allocations: 7.938 kB / 452.9 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6172, allocations: 27.98 kB / 452.9 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.6177, allocations: 320.7 kB / 453.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.618, allocations: 74.62 kB / 453.3 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.6181, allocations: 28.97 kB / 453.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.6181, allocations: 0 / 453.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.6183, allocations: 75.39 kB / 453.4 MB, free: 7.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.6183, allocations: 0 / 453.4 MB, free: 7.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006019/0.6189, allocations: 185.8 kB / 453.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.619, allocations: 81.11 kB / 453.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.6192, allocations: 149 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.6193, allocations: 29.7 kB / 453.8 MB, free: 6.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.6194, allocations: 162.5 kB / 454 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.6194, allocations: 31.67 kB / 454 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-06/0.6194, allocations: 3.938 kB / 454 MB, free: 6.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6196, allocations: 322.8 kB / 454.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.6197, allocations: 39.98 kB / 454.4 MB, free: 6.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6199, allocations: 60.39 kB / 454.5 MB, free: 6.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.62, allocations: 69.69 kB / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.62, allocations: 0 / 454.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003579/0.6204, allocations: 164.7 kB / 454.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.6205, allocations: 37.69 kB / 454.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.678e-06/0.6205, allocations: 0 / 454.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6205, allocations: 8.062 kB / 454.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.6207, allocations: 19.98 kB / 454.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6207, allocations: 0 / 454.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.6208, allocations: 4 kB / 454.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.6208, allocations: 4 kB / 454.8 MB, free: 6.047 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001133/0.6209, allocations: 120.8 kB / 454.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.621, allocations: 11.81 kB / 454.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.6214, allocations: 146.8 kB / 455 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.224e-06/0.6214, allocations: 4 kB / 455 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-06/0.6214, allocations: 0 / 455 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-06/0.6214, allocations: 0 / 455 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.6221, allocations: 435.3 kB / 455.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-06/0.6221, allocations: 0 / 455.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.6222, allocations: 15.98 kB / 455.5 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.581e-06/0.6222, allocations: 4 kB / 455.5 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.6223, allocations: 4 kB / 455.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6223, allocations: 4.031 kB / 455.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.275e-06/0.6223, allocations: 8 kB / 455.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.6226, allocations: 245.8 kB / 455.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.6228, allocations: 96.91 kB / 455.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.6228, allocations: 8 kB / 455.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6229, allocations: 0 / 455.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.623, allocations: 15.98 kB / 455.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.623, allocations: 4 kB / 455.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.6232, allocations: 119.8 kB / 456 MB, free: 4.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.6232, allocations: 4 kB / 456 MB, free: 4.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.6236, allocations: 51.92 kB / 456 MB, free: 4.668 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00174/0.6254, allocations: 0.4918 MB / 456.5 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.6258, allocations: 163.3 kB / 456.7 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.433e-06/0.6258, allocations: 4.062 kB / 456.7 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.6259, allocations: 43.94 kB / 456.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.6263, allocations: 15.98 kB / 456.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.6269, allocations: 179.9 kB / 456.9 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.6274, allocations: 0.7121 MB / 457.6 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.6275, allocations: 19.44 kB / 457.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of SimCode: time 2.138e-06/0.6276, allocations: 0 / 457.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of Templates: time 0.005303/0.6329, allocations: 2.24 MB / 459.9 MB, free: 0.8164 MB / 378.7 MB