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.Test49.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.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.372/2.372, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004323, allocations: 20 kB / 315 MB, free: 9.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3628, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5105, allocations: 82.13 MB / 451.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.5108, allocations: 79.95 kB / 452 MB, free: 10.48 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.02178/0.5326, allocations: 4.911 MB / 456.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5327, allocations: 0 / 456.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.5327, allocations: 4 kB / 456.9 MB, free: 5.547 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.0007761/0.5335, allocations: 497.9 kB / 457.4 MB, free: 5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5336, allocations: 8.031 kB / 457.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.5337, allocations: 19.81 kB / 457.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.5341, allocations: 218.8 kB / 457.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.5342, allocations: 4 kB / 457.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.5342, allocations: 8 kB / 457.7 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.5344, allocations: 61.59 kB / 457.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5345, allocations: 0 / 457.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5345, allocations: 11.94 kB / 457.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5345, allocations: 4 kB / 457.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.5346, allocations: 19.98 kB / 457.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.5352, allocations: 324.8 kB / 458.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.5356, allocations: 66.61 kB / 458.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.5356, allocations: 0 / 458.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.5358, allocations: 72.06 kB / 458.2 MB, free: 4.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.5358, allocations: 3.938 kB / 458.2 MB, free: 4.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000864/0.5367, allocations: 189 kB / 458.4 MB, free: 3.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5368, allocations: 51.41 kB / 458.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.5372, allocations: 258.5 kB / 458.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.5373, allocations: 25.7 kB / 458.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5374, allocations: 174.5 kB / 458.9 MB, free: 3.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.5374, allocations: 31.58 kB / 458.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.5375, allocations: 4 kB / 458.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5376, allocations: 314.8 kB / 459.2 MB, free: 3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.5378, allocations: 39.97 kB / 459.3 MB, free: 2.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.538, allocations: 56.31 kB / 459.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.5382, allocations: 77.69 kB / 459.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5382, allocations: 0 / 459.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004894/0.5387, allocations: 187.2 kB / 459.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.5387, allocations: 29.7 kB / 459.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5388, allocations: 4 kB / 459.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5388, allocations: 0 / 459.6 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.539, allocations: 19.98 kB / 459.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.539, allocations: 0 / 459.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.5391, allocations: 12.03 kB / 459.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5391, allocations: 4 kB / 459.7 MB, free: 2.551 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.0002027/0.5393, allocations: 133.8 kB / 459.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.5394, allocations: 19.77 kB / 459.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.5398, allocations: 131 kB / 459.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5399, allocations: 0 / 459.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5399, allocations: 0 / 459.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5399, allocations: 384 / 459.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007939/0.5407, allocations: 439.2 kB / 460.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.5407, allocations: 4 kB / 460.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.5408, allocations: 15.92 kB / 460.4 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.5408, allocations: 4 kB / 460.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.5409, allocations: 0 / 460.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.5409, allocations: 0 / 460.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5409, allocations: 7.938 kB / 460.4 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.5413, allocations: 212.2 kB / 460.6 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.5414, allocations: 117.1 kB / 460.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.5415, allocations: 4 kB / 460.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5416, allocations: 0 / 460.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.5417, allocations: 11.92 kB / 460.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5417, allocations: 8 kB / 460.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002858/0.542, allocations: 188.2 kB / 460.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.542, allocations: 4 kB / 460.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.5424, allocations: 43.92 kB / 461 MB, free: 1.129 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) * 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.00138/0.5438, allocations: 461.8 kB / 461.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.5444, allocations: 167.3 kB / 461.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5444, allocations: 0 / 461.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.5445, allocations: 39.98 kB / 461.6 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.5449, allocations: 24.08 kB / 461.7 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/0.5458, allocations: 356.6 kB / 462 MB, free: 132 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.5462, allocations: 0.7199 MB / 462.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.5463, allocations: 15.44 kB / 462.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5463, allocations: 0 / 462.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of Templates: time 0.006398/0.5527, allocations: 2.152 MB / 464.9 MB, free: 13.21 MB / 394.7 MB