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.Test52.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.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 234.9 MB / 250.5 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004419, allocations: 16 kB / 314.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.358, allocations: 54.87 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4838, allocations: 82.15 MB / 451.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4841, allocations: 79.89 kB / 451.5 MB, free: 10.4 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.01984/0.5039, allocations: 4.754 MB / 456.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.47e-06/0.5039, allocations: 0 / 456.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.504, allocations: 7.922 kB / 456.3 MB, free: 5.629 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.0006768/0.5047, allocations: 490 kB / 456.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5047, allocations: 12.03 kB / 456.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.5048, allocations: 15.81 kB / 456.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.5052, allocations: 210.9 kB / 457 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.5052, allocations: 4 kB / 457 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5052, allocations: 4 kB / 457 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.5055, allocations: 53.67 kB / 457 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.5055, allocations: 0 / 457 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.5055, allocations: 3.953 kB / 457 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-06/0.5056, allocations: 4 kB / 457 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.5057, allocations: 35.91 kB / 457.1 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.5063, allocations: 308.9 kB / 457.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.5066, allocations: 58.67 kB / 457.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5066, allocations: 0 / 457.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.5068, allocations: 88.05 kB / 457.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.672e-06/0.5068, allocations: 0 / 457.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007515/0.5076, allocations: 193.2 kB / 457.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.5077, allocations: 51.41 kB / 457.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.508, allocations: 198.5 kB / 458 MB, free: 3.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.508, allocations: 25.7 kB / 458 MB, free: 3.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5081, allocations: 170.5 kB / 458.1 MB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.5082, allocations: 31.64 kB / 458.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.5082, allocations: 4 kB / 458.2 MB, free: 3.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5084, allocations: 318.8 kB / 458.5 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5085, allocations: 35.98 kB / 458.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.5087, allocations: 55.66 kB / 458.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.5088, allocations: 69.7 kB / 458.7 MB, free: 3.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-06/0.5089, allocations: 0 / 458.7 MB, free: 3.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004256/0.5093, allocations: 179.2 kB / 458.8 MB, free: 2.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.5094, allocations: 41.66 kB / 458.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.145e-06/0.5094, allocations: 0 / 458.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5094, allocations: 4 kB / 458.9 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.5095, allocations: 15.98 kB / 458.9 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.405e-06/0.5096, allocations: 3.938 kB / 458.9 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.5097, allocations: 4 kB / 458.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5097, allocations: 8 kB / 458.9 MB, free: 2.738 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.0001633/0.5099, allocations: 133.9 kB / 459 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.5099, allocations: 11.81 kB / 459 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.5103, allocations: 135 kB / 459.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-06/0.5103, allocations: 0 / 459.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-06/0.5103, allocations: 4 kB / 459.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-06/0.5104, allocations: 3.984 kB / 459.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.5111, allocations: 423.3 kB / 459.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5111, allocations: 4.031 kB / 459.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.5112, allocations: 11.98 kB / 459.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5112, allocations: 0 / 459.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.5112, allocations: 4 kB / 459.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.218e-06/0.5112, allocations: 3.938 kB / 459.6 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.938e-06/0.5112, allocations: 0 / 459.6 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.5116, allocations: 233.8 kB / 459.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5117, allocations: 101 kB / 459.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5118, allocations: 4 kB / 460 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5119, allocations: 0 / 460 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.512, allocations: 11.98 kB / 460 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.512, allocations: 4 kB / 460 MB, free: 1.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.5122, allocations: 167.1 kB / 460.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.5122, allocations: 0 / 460.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004074/0.5126, allocations: 47.94 kB / 460.2 MB, free: 1.34 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.001556/0.5142, allocations: 465.5 kB / 460.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.5147, allocations: 175.2 kB / 460.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.363e-06/0.5148, allocations: 0 / 460.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.5149, allocations: 27.98 kB / 460.8 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.5152, allocations: 28.06 kB / 460.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.5159, allocations: 312.2 kB / 461.2 MB, free: 396 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.5164, allocations: 0.7199 MB / 461.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.5164, allocations: 15.44 kB / 461.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.685e-06/0.5165, allocations: 0 / 461.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of Templates: time 0.004975/0.5214, allocations: 2.042 MB / 463.9 MB, free: 13.59 MB / 394.7 MB