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.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.091/2.091, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004416, allocations: 12 kB / 314.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.288, allocations: 54.85 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4147, allocations: 82.16 MB / 451.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.415, allocations: 75.95 kB / 451.5 MB, free: 10.42 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.01906/0.4341, allocations: 4.586 MB / 456.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.79e-06/0.4341, allocations: 0 / 456.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4341, allocations: 0 / 456.1 MB, free: 5.832 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000624/0.4348, allocations: 470.2 kB / 456.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4348, allocations: 8.031 kB / 456.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.4349, allocations: 23.73 kB / 456.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.4352, allocations: 205.9 kB / 456.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.4353, allocations: 4 kB / 456.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4353, allocations: 7.984 kB / 456.8 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4355, allocations: 53.67 kB / 456.8 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4355, allocations: 0 / 456.8 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4356, allocations: 7.953 kB / 456.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-06/0.4356, allocations: 0 / 456.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4357, allocations: 23.98 kB / 456.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.4362, allocations: 304.9 kB / 457.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4364, allocations: 62.67 kB / 457.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4365, allocations: 4 kB / 457.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.4367, allocations: 80.05 kB / 457.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.336e-06/0.4367, allocations: 0 / 457.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000717/0.4374, allocations: 185.5 kB / 457.5 MB, free: 4.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4375, allocations: 51.41 kB / 457.5 MB, free: 4.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4377, allocations: 165.3 kB / 457.7 MB, free: 4.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.4377, allocations: 33.7 kB / 457.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.4379, allocations: 174.5 kB / 457.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4379, allocations: 27.58 kB / 457.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.4379, allocations: 4 kB / 457.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4381, allocations: 310.8 kB / 458.2 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4382, allocations: 43.97 kB / 458.3 MB, free: 3.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4384, allocations: 53.7 kB / 458.3 MB, free: 3.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4386, allocations: 77.69 kB / 458.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-06/0.4386, allocations: 0 / 458.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004123/0.439, allocations: 175.3 kB / 458.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.4391, allocations: 37.66 kB / 458.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.587e-06/0.4391, allocations: 0 / 458.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4391, allocations: 0 / 458.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4392, allocations: 20.05 kB / 458.6 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.738e-06/0.4393, allocations: 4 kB / 458.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.4394, allocations: 4 kB / 458.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.4394, allocations: 8 kB / 458.7 MB, free: 3.012 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001432/0.4395, allocations: 135.6 kB / 458.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.4396, allocations: 11.81 kB / 458.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.44, allocations: 126.3 kB / 458.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-06/0.44, allocations: 0 / 458.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.44, allocations: 4 kB / 458.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-06/0.44, allocations: 0 / 458.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.4407, allocations: 419.3 kB / 459.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-06/0.4407, allocations: 0 / 459.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.4408, allocations: 11.98 kB / 459.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.4408, allocations: 4 kB / 459.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4408, allocations: 4 kB / 459.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.923e-06/0.4408, allocations: 3.938 kB / 459.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.37e-06/0.4409, allocations: 4 kB / 459.4 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.4412, allocations: 221.9 kB / 459.6 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4413, allocations: 101.2 kB / 459.7 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.4414, allocations: 7.984 kB / 459.7 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4415, allocations: 4 kB / 459.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4416, allocations: 7.938 kB / 459.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4416, allocations: 3.984 kB / 459.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4418, allocations: 135.2 kB / 459.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4418, allocations: 4 kB / 459.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.4422, allocations: 43.92 kB / 459.9 MB, free: 1.656 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001535/0.4437, allocations: 460.2 kB / 460.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.4442, allocations: 171.3 kB / 460.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.904e-06/0.4442, allocations: 0 / 460.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4443, allocations: 36.05 kB / 460.5 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4446, allocations: 23.94 kB / 460.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.4452, allocations: 283.6 kB / 460.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.4456, allocations: 0.7004 MB / 461.5 MB, free: 12 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.4457, allocations: 19.48 kB / 461.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4457, allocations: 0 / 461.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of Templates: time 0.004715/0.4505, allocations: 1.932 MB / 463.5 MB, free: 14.07 MB / 394.7 MB