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.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.122/2.122, allocations: 234.9 MB / 250.5 MB, free: 10.44 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004351, allocations: 16 kB / 314.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2713, allocations: 54.87 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.3928, allocations: 81.99 MB / 451.3 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3931, allocations: 71.97 kB / 451.3 MB, free: 8.652 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0192/0.4123, allocations: 4.733 MB / 456.1 MB, free: 3.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.229e-06/0.4124, allocations: 4 kB / 456.1 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4124, allocations: 0 / 456.1 MB, free: 3.902 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006618/0.413, allocations: 493.9 kB / 456.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4131, allocations: 12.02 kB / 456.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.4132, allocations: 11.91 kB / 456.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.4135, allocations: 214.8 kB / 456.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.4136, allocations: 11.94 kB / 456.8 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.4136, allocations: 4 kB / 456.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4138, allocations: 49.66 kB / 456.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.342e-06/0.4138, allocations: 0 / 456.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4138, allocations: 3.953 kB / 456.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-06/0.4139, allocations: 8 kB / 456.9 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.414, allocations: 15.98 kB / 456.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.4142, allocations: 205.7 kB / 457.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.4145, allocations: 58.55 kB / 457.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4145, allocations: 0 / 457.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.4147, allocations: 67.48 kB / 457.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.348e-06/0.4147, allocations: 0 / 457.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003674/0.4151, allocations: 109.5 kB / 457.3 MB, free: 2.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4151, allocations: 59.3 kB / 457.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.4155, allocations: 230.4 kB / 457.6 MB, free: 2.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.4155, allocations: 29.7 kB / 457.6 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4156, allocations: 174.5 kB / 457.8 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.4157, allocations: 11.75 kB / 457.8 MB, free: 1.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.4157, allocations: 12 kB / 457.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4159, allocations: 314.8 kB / 458.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.416, allocations: 35.92 kB / 458.2 MB, free: 1.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4161, allocations: 49.64 kB / 458.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4163, allocations: 65.69 kB / 458.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-06/0.4163, allocations: 0 / 458.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003767/0.4167, allocations: 151.2 kB / 458.4 MB, free: 1.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.4168, allocations: 41.69 kB / 458.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-06/0.4168, allocations: 0 / 458.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4168, allocations: 0 / 458.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.4169, allocations: 15.94 kB / 458.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4169, allocations: 0 / 458.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.417, allocations: 11.94 kB / 458.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.4171, allocations: 4 kB / 458.5 MB, free: 1.227 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 (8): * Single equations (assignments): 7 * 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.0001536/0.4172, allocations: 137.8 kB / 458.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.4173, allocations: 15.84 kB / 458.6 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.4176, allocations: 98.67 kB / 458.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-06/0.4176, allocations: 3.984 kB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-06/0.4176, allocations: 0 / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.949e-06/0.4176, allocations: 0 / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4179, allocations: 213.5 kB / 459 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-06/0.4179, allocations: 4.312 kB / 459 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.4179, allocations: 4 kB / 459 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4179, allocations: 4 kB / 459 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.418, allocations: 4 kB / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.566e-06/0.418, allocations: 3.938 kB / 459 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-06/0.418, allocations: 4 kB / 459 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4183, allocations: 116.9 kB / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4184, allocations: 104.9 kB / 459.2 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.4185, allocations: 0 / 459.2 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.4185, allocations: 7.984 kB / 459.2 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.4186, allocations: 8 kB / 459.2 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4186, allocations: 4 kB / 459.2 MB, free: 412 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.4189, allocations: 192.2 kB / 459.4 MB, free: 220 kB / 378.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.4189, allocations: 0 / 459.4 MB, free: 220 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.4192, allocations: 35.94 kB / 459.4 MB, free: 184 kB / 378.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: 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 (6): * Single equations (assignments): 4 * 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.001381/0.4206, allocations: 406.3 kB / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.421, allocations: 155.4 kB / 460 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.74e-06/0.421, allocations: 0 / 460 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.4211, allocations: 19.94 kB / 460 MB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.4213, allocations: 20.12 kB / 460 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.422, allocations: 331.6 kB / 460.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4224, allocations: 0.716 MB / 461.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.4225, allocations: 19.44 kB / 461.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.454e-06/0.4225, allocations: 0 / 461.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of Templates: time 0.004571/0.4271, allocations: 1.902 MB / 463 MB, free: 12.63 MB / 394.7 MB