Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.562/2.562, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006464/0.0006467, allocations: 16 kB / 314.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3767, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5366, allocations: 82.14 MB / 451.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.537, allocations: 83.95 kB / 452 MB, free: 8.387 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02317/0.5602, allocations: 4.7 MB / 456.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5602, allocations: 0 / 456.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.5602, allocations: 3.984 kB / 456.7 MB, free: 3.676 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.0007463/0.561, allocations: 494 kB / 457.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5611, allocations: 8.031 kB / 457.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.5611, allocations: 11.91 kB / 457.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.5616, allocations: 211.5 kB / 457.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.5616, allocations: 8 kB / 457.5 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.5616, allocations: 4 kB / 457.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.5619, allocations: 57.67 kB / 457.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.5619, allocations: 0 / 457.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5619, allocations: 3.953 kB / 457.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.5619, allocations: 0 / 457.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.5621, allocations: 23.92 kB / 457.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.5626, allocations: 320.8 kB / 457.9 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.563, allocations: 66.61 kB / 457.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.563, allocations: 0 / 457.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.5632, allocations: 76 kB / 458 MB, free: 2.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.5633, allocations: 0 / 458 MB, free: 2.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009063/0.5642, allocations: 185.1 kB / 458.2 MB, free: 2.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.5643, allocations: 59.39 kB / 458.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.5646, allocations: 202.4 kB / 458.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.5647, allocations: 29.7 kB / 458.5 MB, free: 1.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.5648, allocations: 170.5 kB / 458.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.5648, allocations: 27.64 kB / 458.6 MB, free: 1.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.5649, allocations: 4 kB / 458.7 MB, free: 1.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.565, allocations: 318.8 kB / 459 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.5652, allocations: 35.98 kB / 459 MB, free: 1.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.5654, allocations: 57.69 kB / 459.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.5656, allocations: 73.7 kB / 459.1 MB, free: 1.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5656, allocations: 0 / 459.1 MB, free: 1.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000513/0.5661, allocations: 179.2 kB / 459.3 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.5662, allocations: 37.69 kB / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5662, allocations: 0 / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.5663, allocations: 3.984 kB / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.5664, allocations: 23.97 kB / 459.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5665, allocations: 0 / 459.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.5666, allocations: 8.359 kB / 459.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.5666, allocations: 8 kB / 459.4 MB, free: 0.7656 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.0002096/0.5669, allocations: 127.2 kB / 459.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.5669, allocations: 19.75 kB / 459.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.5674, allocations: 131 kB / 459.7 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5674, allocations: 0 / 459.7 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5674, allocations: 4 kB / 459.7 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5675, allocations: 0 / 459.7 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/0.5683, allocations: 419.3 kB / 460.1 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5683, allocations: 0 / 460.1 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.5685, allocations: 11.98 kB / 460.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5685, allocations: 3.938 kB / 460.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.5685, allocations: 4 kB / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5685, allocations: 0 / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5685, allocations: 4.031 kB / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.5689, allocations: 216.3 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5691, allocations: 105 kB / 460.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.5691, allocations: 3.984 kB / 460.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.5693, allocations: 4 kB / 460.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.5693, allocations: 15.92 kB / 460.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.5694, allocations: 8 kB / 460.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.5696, allocations: 147.2 kB / 460.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5696, allocations: 0 / 460.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.5701, allocations: 39.94 kB / 460.6 MB, free: 15.41 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.001418/0.5715, allocations: 463.3 kB / 461.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005552/0.5721, allocations: 171.3 kB / 461.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5721, allocations: 0 / 461.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5723, allocations: 35.92 kB / 461.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.5727, allocations: 23.89 kB / 461.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.5734, allocations: 304.4 kB / 461.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.5738, allocations: 0.7082 MB / 462.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.5739, allocations: 19.44 kB / 462.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5739, allocations: 0 / 462.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of Templates: time 0.006187/0.5801, allocations: 2.018 MB / 464.3 MB, free: 11.7 MB / 394.7 MB