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.Test65.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.Test65,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.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 16 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2801, allocations: 54.86 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4044, allocations: 81.94 MB / 451.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4047, allocations: 75.95 kB / 451.3 MB, free: 8.555 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.01868/0.4234, allocations: 4.463 MB / 455.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.037e-06/0.4234, allocations: 0 / 455.8 MB, free: 4.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4234, allocations: 0 / 455.8 MB, free: 4.086 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.0006679/0.4241, allocations: 470.1 kB / 456.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4242, allocations: 8.031 kB / 456.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.4242, allocations: 11.91 kB / 456.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.4246, allocations: 219.5 kB / 456.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4247, allocations: 4 kB / 456.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.4247, allocations: 4 kB / 456.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4249, allocations: 49.67 kB / 456.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.091e-06/0.4249, allocations: 0 / 456.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4249, allocations: 11.94 kB / 456.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-06/0.4249, allocations: 0 / 456.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.425, allocations: 16 kB / 456.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.4253, allocations: 201.5 kB / 456.7 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4255, allocations: 58.56 kB / 456.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4256, allocations: 0 / 456.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.4258, allocations: 63.48 kB / 456.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.401e-06/0.4258, allocations: 0 / 456.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003797/0.4262, allocations: 109.5 kB / 457 MB, free: 2.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4262, allocations: 59.36 kB / 457 MB, free: 2.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.4265, allocations: 190.1 kB / 457.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4266, allocations: 29.7 kB / 457.2 MB, free: 2.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4267, allocations: 170.5 kB / 457.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.4267, allocations: 11.83 kB / 457.4 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.4268, allocations: 11.94 kB / 457.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4269, allocations: 310.8 kB / 457.7 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4271, allocations: 31.98 kB / 457.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4272, allocations: 53.62 kB / 457.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4274, allocations: 61.7 kB / 457.9 MB, free: 1.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.154e-06/0.4274, allocations: 0 / 457.9 MB, free: 1.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003827/0.4278, allocations: 155.2 kB / 458 MB, free: 1.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.4279, allocations: 37.7 kB / 458.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.214e-06/0.4279, allocations: 0 / 458.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4279, allocations: 0 / 458.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.428, allocations: 15.92 kB / 458.1 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.52e-06/0.4281, allocations: 8.031 kB / 458.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.4282, allocations: 11.89 kB / 458.1 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.4282, allocations: 4 kB / 458.1 MB, free: 1.492 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.0001566/0.4284, allocations: 129.8 kB / 458.2 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.4284, allocations: 11.81 kB / 458.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.4287, allocations: 98.59 kB / 458.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-06/0.4288, allocations: 4 kB / 458.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.328e-06/0.4288, allocations: 384 / 458.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-06/0.4288, allocations: 4 kB / 458.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.429, allocations: 197.6 kB / 458.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.373e-06/0.4291, allocations: 8 kB / 458.5 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.4291, allocations: 4 kB / 458.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.615e-06/0.4291, allocations: 0 / 458.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4291, allocations: 0 / 458.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4292, allocations: 3.984 kB / 458.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.046e-06/0.4292, allocations: 0 / 458.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.4295, allocations: 128.9 kB / 458.7 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4296, allocations: 100.9 kB / 458.8 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.4296, allocations: 0 / 458.8 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.4297, allocations: 4 kB / 458.8 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.4298, allocations: 0 / 458.8 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4298, allocations: 15.86 kB / 458.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.43, allocations: 151.2 kB / 458.9 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.94e-07/0.43, allocations: 0 / 458.9 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.4304, allocations: 35.94 kB / 459 MB, free: 0.5117 MB / 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.001369/0.4317, allocations: 393.9 kB / 459.4 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.4322, allocations: 159.4 kB / 459.5 MB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4322, allocations: 0 / 459.5 MB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.4323, allocations: 19.94 kB / 459.5 MB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4326, allocations: 28.02 kB / 459.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.4332, allocations: 275.2 kB / 459.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4336, allocations: 0.7004 MB / 460.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.4337, allocations: 19.42 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.468e-06/0.4337, allocations: 0 / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of Templates: time 0.004548/0.4383, allocations: 1.772 MB / 462.3 MB, free: 13.16 MB / 394.7 MB