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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 15.94 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.401, allocations: 82.12 MB / 451.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4013, allocations: 83.84 kB / 451.5 MB, free: 8.387 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.01883/0.4202, allocations: 4.477 MB / 455.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.253e-06/0.4202, allocations: 0 / 455.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.4202, allocations: 4 kB / 456 MB, free: 3.898 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.0006573/0.4209, allocations: 474.2 kB / 456.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.421, allocations: 8.031 kB / 456.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.421, allocations: 11.81 kB / 456.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.4214, allocations: 205.7 kB / 456.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.4214, allocations: 7.984 kB / 456.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.4215, allocations: 7.938 kB / 456.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4217, allocations: 57.67 kB / 456.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4217, allocations: 0 / 456.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4217, allocations: 7.953 kB / 456.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-06/0.4217, allocations: 0 / 456.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.4218, allocations: 19.98 kB / 456.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.4223, allocations: 312.9 kB / 457 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4226, allocations: 66.61 kB / 457.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4226, allocations: 0 / 457.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.4228, allocations: 76.17 kB / 457.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.369e-06/0.4228, allocations: 3.938 kB / 457.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007089/0.4235, allocations: 189.1 kB / 457.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4236, allocations: 51.41 kB / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4238, allocations: 165.3 kB / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.4239, allocations: 29.7 kB / 457.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.424, allocations: 170.4 kB / 457.8 MB, free: 1.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.424, allocations: 23.66 kB / 457.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.4241, allocations: 4 kB / 457.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4242, allocations: 318.8 kB / 458.1 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4244, allocations: 39.98 kB / 458.2 MB, free: 1.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4245, allocations: 57.62 kB / 458.2 MB, free: 1.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4247, allocations: 69.7 kB / 458.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-06/0.4247, allocations: 0 / 458.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004122/0.4251, allocations: 175.3 kB / 458.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.4252, allocations: 37.66 kB / 458.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.748e-06/0.4252, allocations: 0 / 458.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4253, allocations: 4 kB / 458.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4254, allocations: 24.02 kB / 458.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.46e-06/0.4254, allocations: 4.062 kB / 458.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.078e-05/0.4255, allocations: 4 kB / 458.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4256, allocations: 8.375 kB / 458.5 MB, free: 1.074 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.0001491/0.4257, allocations: 125.8 kB / 458.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.4258, allocations: 15.81 kB / 458.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.4262, allocations: 122.3 kB / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.4e-06/0.4262, allocations: 4 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-06/0.4262, allocations: 4 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4262, allocations: 3.984 kB / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.4269, allocations: 411.3 kB / 459.2 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-06/0.4269, allocations: 0 / 459.2 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.427, allocations: 15.92 kB / 459.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.427, allocations: 0 / 459.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.427, allocations: 4 kB / 459.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.071e-06/0.427, allocations: 4.031 kB / 459.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.09e-06/0.427, allocations: 3.938 kB / 459.2 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.4274, allocations: 226.1 kB / 459.4 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4275, allocations: 100.9 kB / 459.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.4276, allocations: 4.094 kB / 459.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4277, allocations: 7.938 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.4278, allocations: 7.984 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.4278, allocations: 8 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.428, allocations: 135.2 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-07/0.428, allocations: 0 / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.4284, allocations: 43.92 kB / 459.7 MB, free: 15.72 MB / 394.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.43, allocations: 459.9 kB / 460.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004031/0.4304, allocations: 171.3 kB / 460.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.424e-06/0.4304, allocations: 4 kB / 460.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4305, allocations: 39.91 kB / 460.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.4308, allocations: 23.88 kB / 460.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.4315, allocations: 283.7 kB / 460.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.4319, allocations: 0.7004 MB / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.4319, allocations: 23.42 kB / 461.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.466e-06/0.432, allocations: 0 / 461.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of Templates: time 0.004842/0.4368, allocations: 1.928 MB / 463.4 MB, free: 12.12 MB / 394.7 MB