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.Test49.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.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.153e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3184, allocations: 54.86 MB / 364.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4467, allocations: 82.06 MB / 446.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.447, allocations: 76.95 kB / 446.7 MB, free: 14.22 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.01995/0.467, allocations: 4.887 MB / 451.6 MB, free: 9.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.797e-06/0.467, allocations: 0 / 451.6 MB, free: 9.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.467, allocations: 4 kB / 451.6 MB, free: 9.352 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.0005835/0.4676, allocations: 465.5 kB / 452 MB, free: 8.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4677, allocations: 11.97 kB / 452 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.4678, allocations: 19.81 kB / 452.1 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4681, allocations: 222.7 kB / 452.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4682, allocations: 8 kB / 452.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.4682, allocations: 4.938 kB / 452.3 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4684, allocations: 53.62 kB / 452.3 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4684, allocations: 3.984 kB / 452.3 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4684, allocations: 7.953 kB / 452.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-06/0.4684, allocations: 0 / 452.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.4685, allocations: 16 kB / 452.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.4691, allocations: 324.9 kB / 452.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.4692, allocations: 58.62 kB / 452.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.4693, allocations: 20.97 kB / 452.8 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.4693, allocations: 3.953 kB / 452.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.4695, allocations: 64.56 kB / 452.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.949e-06/0.4695, allocations: 4 kB / 452.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000564/0.4701, allocations: 177.9 kB / 453 MB, free: 7.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4702, allocations: 51.41 kB / 453.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.4705, allocations: 233.8 kB / 453.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4706, allocations: 25.7 kB / 453.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4707, allocations: 178.5 kB / 453.5 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.4707, allocations: 23.66 kB / 453.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.4708, allocations: 7.938 kB / 453.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4709, allocations: 322.8 kB / 453.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/0.471, allocations: 32 kB / 453.9 MB, free: 6.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4712, allocations: 51.12 kB / 453.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4713, allocations: 77.61 kB / 454 MB, free: 6.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-06/0.4713, allocations: 0 / 454 MB, free: 6.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003511/0.4717, allocations: 163.3 kB / 454.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.4718, allocations: 41.69 kB / 454.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.337e-06/0.4718, allocations: 0 / 454.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4718, allocations: 8.031 kB / 454.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4719, allocations: 15.94 kB / 454.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.184e-06/0.4719, allocations: 0 / 454.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.472, allocations: 8.172 kB / 454.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.4721, allocations: 16 kB / 454.2 MB, free: 6.438 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 (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 9.766e-05/0.4722, allocations: 106.7 kB / 454.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.4722, allocations: 15.77 kB / 454.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.4726, allocations: 131.2 kB / 454.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-06/0.4726, allocations: 8 kB / 454.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4726, allocations: 0 / 454.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.239e-06/0.4726, allocations: 0 / 454.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.4733, allocations: 443.1 kB / 454.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-06/0.4733, allocations: 0 / 454.9 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.4734, allocations: 11.98 kB / 454.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.986e-06/0.4734, allocations: 0 / 454.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4735, allocations: 4 kB / 454.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.093e-06/0.4735, allocations: 3.938 kB / 454.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-06/0.4735, allocations: 4.031 kB / 454.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.4738, allocations: 225.8 kB / 455.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4739, allocations: 101 kB / 455.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.474, allocations: 3.984 kB / 455.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4741, allocations: 8 kB / 455.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4742, allocations: 8 kB / 455.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.4742, allocations: 7.984 kB / 455.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.4745, allocations: 195.9 kB / 455.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.4745, allocations: 0 / 455.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.4749, allocations: 43.84 kB / 455.5 MB, free: 5.023 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 (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.00143/0.4763, allocations: 413.9 kB / 455.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.4767, allocations: 171.3 kB / 456.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.849e-06/0.4767, allocations: 0 / 456.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.4768, allocations: 31.94 kB / 456.1 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.4772, allocations: 20.12 kB / 456.2 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.4777, allocations: 252.2 kB / 456.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4782, allocations: 0.724 MB / 457.1 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.4782, allocations: 19.42 kB / 457.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.505e-06/0.4783, allocations: 0 / 457.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of Templates: time 0.004997/0.4833, allocations: 2.142 MB / 459.3 MB, free: 1.277 MB / 378.7 MB