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.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 16 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4623, allocations: 83.48 MB / 452.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4626, allocations: 75.97 kB / 452.8 MB, free: 7.035 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01739/0.48, allocations: 4.194 MB / 457 MB, free: 2.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.49e-06/0.48, allocations: 0 / 457 MB, free: 2.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.48, allocations: 8 kB / 457 MB, free: 2.824 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001021/0.4811, allocations: 0.6078 MB / 457.6 MB, free: 2.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4811, allocations: 12.03 kB / 457.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.4812, allocations: 23.77 kB / 457.7 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4816, allocations: 234.4 kB / 457.9 MB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4816, allocations: 8 kB / 457.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4817, allocations: 8 kB / 457.9 MB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.4822, allocations: 137.6 kB / 458.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.92e-06/0.4822, allocations: 0 / 458.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.4822, allocations: 4 kB / 458.1 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.991e-06/0.4822, allocations: 3.953 kB / 458.1 MB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.4828, allocations: 135.8 kB / 458.2 MB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.4837, allocations: 448.4 kB / 458.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.4846, allocations: 202.5 kB / 458.8 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4846, allocations: 0 / 458.8 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.4851, allocations: 155.2 kB / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.671e-06/0.4851, allocations: 0 / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001133/0.4862, allocations: 297.4 kB / 459.3 MB, free: 396 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4863, allocations: 59.41 kB / 459.3 MB, free: 324 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4866, allocations: 197.7 kB / 459.5 MB, free: 112 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.4867, allocations: 33.7 kB / 459.6 MB, free: 72 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4868, allocations: 170.5 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.4869, allocations: 39.55 kB / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.4869, allocations: 0 / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4871, allocations: 322.8 kB / 460.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.4874, allocations: 92.12 kB / 460.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.4878, allocations: 124.6 kB / 460.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.4883, allocations: 147.3 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-06/0.4883, allocations: 11.89 kB / 460.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009775/0.4893, allocations: 340.1 kB / 460.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.4894, allocations: 59.41 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4894, allocations: 0 / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4894, allocations: 0 / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4896, allocations: 47.84 kB / 460.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.987e-06/0.4897, allocations: 4 kB / 460.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.4899, allocations: 39.83 kB / 460.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.49, allocations: 11.98 kB / 460.9 MB, free: 14.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001735/0.4902, allocations: 137.8 kB / 461.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.4902, allocations: 15.81 kB / 461.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.491, allocations: 242.9 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.4911, allocations: 4 kB / 461.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-06/0.4911, allocations: 3.953 kB / 461.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.346e-06/0.4911, allocations: 0 / 461.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.4914, allocations: 233.5 kB / 461.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-06/0.4914, allocations: 0 / 461.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.4916, allocations: 31.97 kB / 461.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-06/0.4917, allocations: 4 kB / 461.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4917, allocations: 7.938 kB / 461.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.703e-06/0.4917, allocations: 0 / 461.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.885e-06/0.4917, allocations: 0 / 461.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4929, allocations: 364.9 kB / 462 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.493, allocations: 108.9 kB / 462.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.4931, allocations: 4 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4933, allocations: 27.97 kB / 462.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.4934, allocations: 19.97 kB / 462.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4935, allocations: 4 kB / 462.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.4937, allocations: 160.3 kB / 462.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.68e-07/0.4937, allocations: 0 / 462.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.4941, allocations: 55.95 kB / 462.3 MB, free: 13.13 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001364/0.4955, allocations: 412.6 kB / 462.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009046/0.4964, allocations: 342.7 kB / 463.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.248e-06/0.4964, allocations: 3.938 kB / 463.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.4968, allocations: 96.06 kB / 463.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.4971, allocations: 39.84 kB / 463.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.498, allocations: 368 kB / 463.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4984, allocations: 0.7281 MB / 464.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.4985, allocations: 23.42 kB / 464.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.416e-06/0.4985, allocations: 0 / 464.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of Templates: time 0.005958/0.5045, allocations: 2.692 MB / 467 MB, free: 8.445 MB / 394.7 MB