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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.105/2.105, allocations: 234.9 MB / 250.5 MB, free: 9.648 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007288/0.000729, allocations: 19.92 kB / 314.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4156, allocations: 54.86 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5481, allocations: 82.19 MB / 451.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5484, allocations: 67.97 kB / 451.5 MB, free: 10.38 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.02165/0.57, allocations: 5.164 MB / 456.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.5701, allocations: 0 / 456.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.5701, allocations: 3.938 kB / 456.7 MB, free: 5.195 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006837/0.5708, allocations: 494 kB / 457.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5708, allocations: 16.03 kB / 457.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.5709, allocations: 15.75 kB / 457.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.5713, allocations: 230.7 kB / 457.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.5713, allocations: 4 kB / 457.4 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.5714, allocations: 8 kB / 457.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.5716, allocations: 69.66 kB / 457.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5716, allocations: 3.953 kB / 457.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5716, allocations: 0 / 457.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.024e-06/0.5717, allocations: 0 / 457.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.5718, allocations: 43.91 kB / 457.6 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.5724, allocations: 353.5 kB / 457.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.5727, allocations: 86.7 kB / 458 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5728, allocations: 0 / 458 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.573, allocations: 75.39 kB / 458.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.4e-06/0.573, allocations: 0 / 458.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000868/0.5739, allocations: 249.1 kB / 458.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.574, allocations: 55.41 kB / 458.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.5743, allocations: 227.1 kB / 458.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.5744, allocations: 33.69 kB / 458.6 MB, free: 3.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5745, allocations: 166.6 kB / 458.8 MB, free: 2.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.5745, allocations: 43.48 kB / 458.8 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.5746, allocations: 4 kB / 458.8 MB, free: 2.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5747, allocations: 314.8 kB / 459.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.5749, allocations: 47.97 kB / 459.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.5751, allocations: 73.53 kB / 459.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.5753, allocations: 95.45 kB / 459.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5753, allocations: 0 / 459.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004916/0.5758, allocations: 207.3 kB / 459.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.5759, allocations: 33.7 kB / 459.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.109e-06/0.5759, allocations: 3.938 kB / 459.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5759, allocations: 0 / 459.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5761, allocations: 27.98 kB / 459.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.645e-06/0.5761, allocations: 0 / 459.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5762, allocations: 11.98 kB / 459.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.5763, allocations: 8 kB / 459.6 MB, free: 2.008 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 (14): * Single equations (assignments): 13 * 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.0001714/0.5765, allocations: 137.9 kB / 459.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.5765, allocations: 23.75 kB / 459.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.577, allocations: 171.4 kB / 460 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-06/0.577, allocations: 4 kB / 460 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.037e-06/0.577, allocations: 0 / 460 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.803e-06/0.5771, allocations: 3.984 kB / 460 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.5779, allocations: 495.1 kB / 460.4 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-06/0.5779, allocations: 4 kB / 460.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.578, allocations: 12 kB / 460.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-06/0.5781, allocations: 4 kB / 460.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.5781, allocations: 7.984 kB / 460.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.081e-06/0.5781, allocations: 7.938 kB / 460.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-06/0.5781, allocations: 0 / 460.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.5786, allocations: 261.9 kB / 460.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.5787, allocations: 104.9 kB / 460.8 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.5788, allocations: 11.98 kB / 460.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5789, allocations: 4 kB / 460.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.579, allocations: 7.984 kB / 460.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.579, allocations: 8 kB / 460.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.5792, allocations: 176.4 kB / 461 MB, free: 488 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.5792, allocations: 0 / 461 MB, free: 488 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.5797, allocations: 55.92 kB / 461.1 MB, free: 432 kB / 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.00158/0.5813, allocations: 478.7 kB / 461.6 MB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.5818, allocations: 203.3 kB / 461.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.371e-06/0.5818, allocations: 0 / 461.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.582, allocations: 51.98 kB / 461.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.5823, allocations: 24.17 kB / 461.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.5831, allocations: 368.8 kB / 462.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.5836, allocations: 0.7238 MB / 462.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.5837, allocations: 19.44 kB / 462.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.956e-06/0.5837, allocations: 0 / 462.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of Templates: time 0.005438/0.5891, allocations: 2.339 MB / 465.3 MB, free: 12.25 MB / 394.7 MB