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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005789/0.0005784, allocations: 20 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.278, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4021, allocations: 82.15 MB / 451.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4024, allocations: 79.89 kB / 451.5 MB, free: 8.355 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.01909/0.4215, allocations: 4.575 MB / 456.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.523e-06/0.4215, allocations: 0 / 456.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.4215, allocations: 0 / 456.1 MB, free: 3.773 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.0006301/0.4222, allocations: 474.2 kB / 456.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4222, allocations: 8.031 kB / 456.5 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.4223, allocations: 15.81 kB / 456.6 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.4226, allocations: 209.7 kB / 456.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.4227, allocations: 7.938 kB / 456.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.4227, allocations: 4 kB / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4229, allocations: 53.67 kB / 456.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4229, allocations: 0 / 456.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4229, allocations: 3.953 kB / 456.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.423, allocations: 0 / 456.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4231, allocations: 27.97 kB / 456.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.4236, allocations: 308.9 kB / 457.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.4238, allocations: 62.61 kB / 457.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4239, allocations: 4 kB / 457.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.4241, allocations: 68.19 kB / 457.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.601e-06/0.4241, allocations: 7.938 kB / 457.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000715/0.4248, allocations: 189.1 kB / 457.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4249, allocations: 51.41 kB / 457.5 MB, free: 2.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4251, allocations: 169.3 kB / 457.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4251, allocations: 33.7 kB / 457.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.4253, allocations: 166.4 kB / 457.9 MB, free: 1.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.4253, allocations: 23.64 kB / 457.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.4253, allocations: 8 kB / 457.9 MB, free: 1.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4255, allocations: 314.8 kB / 458.2 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4257, allocations: 39.98 kB / 458.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.4258, allocations: 61.62 kB / 458.3 MB, free: 1.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.426, allocations: 73.69 kB / 458.4 MB, free: 1.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-06/0.426, allocations: 0 / 458.4 MB, free: 1.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004069/0.4264, allocations: 171.3 kB / 458.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.4265, allocations: 37.64 kB / 458.6 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4265, allocations: 8.031 kB / 458.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4265, allocations: 0 / 458.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4266, allocations: 12 kB / 458.6 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4267, allocations: 7.984 kB / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.4268, allocations: 4 kB / 458.6 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4268, allocations: 8 kB / 458.7 MB, free: 0.9492 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.0001424/0.427, allocations: 121.8 kB / 458.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.427, allocations: 15.8 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.4274, allocations: 130.3 kB / 458.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-06/0.4274, allocations: 0 / 458.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.469e-06/0.4274, allocations: 4 kB / 458.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-06/0.4274, allocations: 0 / 458.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.4281, allocations: 411.3 kB / 459.3 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-06/0.4281, allocations: 0 / 459.3 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.4282, allocations: 11.94 kB / 459.3 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.4282, allocations: 4 kB / 459.3 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4283, allocations: 8.031 kB / 459.3 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.735e-06/0.4283, allocations: 0 / 459.3 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-06/0.4283, allocations: 3.938 kB / 459.3 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.4287, allocations: 226.1 kB / 459.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4288, allocations: 104.9 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4288, allocations: 8.094 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.429, allocations: 7.938 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.429, allocations: 7.984 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.429, allocations: 0 / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4292, allocations: 139.2 kB / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4292, allocations: 0 / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.4296, allocations: 39.94 kB / 459.9 MB, free: 15.6 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.001536/0.4312, allocations: 464.3 kB / 460.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.4316, allocations: 167.3 kB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.443e-06/0.4316, allocations: 0 / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4318, allocations: 39.91 kB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4321, allocations: 27.88 kB / 460.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.4327, allocations: 279.7 kB / 460.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4331, allocations: 0.7043 MB / 461.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.4332, allocations: 19.44 kB / 461.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.471e-06/0.4332, allocations: 0 / 461.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Templates: time 0.004664/0.4379, allocations: 1.936 MB / 463.5 MB, free: 12 MB / 394.7 MB