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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 234.9 MB / 251.1 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 16 kB / 314.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3618, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5088, allocations: 82.14 MB / 451.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.5091, allocations: 79.95 kB / 452 MB, free: 10.46 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.02211/0.5313, allocations: 4.907 MB / 456.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5313, allocations: 0 / 456.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.5313, allocations: 0 / 456.9 MB, free: 5.539 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.0007195/0.532, allocations: 0.4918 MB / 457.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5321, allocations: 8.031 kB / 457.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.5322, allocations: 19.81 kB / 457.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.5326, allocations: 218.8 kB / 457.7 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.5326, allocations: 4 kB / 457.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.5327, allocations: 4 kB / 457.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.5329, allocations: 53.67 kB / 457.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5329, allocations: 0 / 457.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.5329, allocations: 7.938 kB / 457.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.533, allocations: 4 kB / 457.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.5331, allocations: 27.92 kB / 457.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.5337, allocations: 328.8 kB / 458.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.534, allocations: 58.67 kB / 458.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.534, allocations: 0 / 458.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.5342, allocations: 80 kB / 458.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.5342, allocations: 3.938 kB / 458.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000859/0.5351, allocations: 193 kB / 458.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.5352, allocations: 51.41 kB / 458.5 MB, free: 3.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.5356, allocations: 258.5 kB / 458.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5357, allocations: 25.7 kB / 458.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.5358, allocations: 170.6 kB / 458.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.5358, allocations: 27.64 kB / 458.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.5359, allocations: 8 kB / 458.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.536, allocations: 314.8 kB / 459.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5362, allocations: 35.98 kB / 459.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.5363, allocations: 60.3 kB / 459.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.5365, allocations: 73.69 kB / 459.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5366, allocations: 3.938 kB / 459.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004697/0.537, allocations: 183.2 kB / 459.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.5371, allocations: 41.72 kB / 459.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.5371, allocations: 4 kB / 459.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5371, allocations: 0 / 459.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5373, allocations: 15.98 kB / 459.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.5373, allocations: 3.938 kB / 459.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.5375, allocations: 12 kB / 459.7 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5375, allocations: 4 kB / 459.7 MB, free: 2.535 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.0001701/0.5377, allocations: 133.8 kB / 459.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.5377, allocations: 23.77 kB / 459.8 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.5382, allocations: 127 kB / 460 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5382, allocations: 0 / 460 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5382, allocations: 0 / 460 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5382, allocations: 0 / 460 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.539, allocations: 439.3 kB / 460.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.539, allocations: 0 / 460.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.5391, allocations: 12.03 kB / 460.4 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-05/0.5391, allocations: 7.984 kB / 460.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5391, allocations: 4 kB / 460.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5392, allocations: 0 / 460.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5392, allocations: 8.312 kB / 460.4 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.5396, allocations: 212.1 kB / 460.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5397, allocations: 108.9 kB / 460.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.5398, allocations: 15.98 kB / 460.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5399, allocations: 4 kB / 460.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.54, allocations: 4 kB / 460.8 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.54, allocations: 7.984 kB / 460.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.5403, allocations: 192.2 kB / 460.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5403, allocations: 288 / 460.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004082/0.5407, allocations: 47.92 kB / 461 MB, free: 1.109 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.001303/0.542, allocations: 451.6 kB / 461.4 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.5425, allocations: 167.3 kB / 461.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5425, allocations: 0 / 461.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.5427, allocations: 31.98 kB / 461.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.5431, allocations: 20.11 kB / 461.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.5439, allocations: 364.7 kB / 462 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.5443, allocations: 0.7238 MB / 462.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.5444, allocations: 19.44 kB / 462.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5444, allocations: 0 / 462.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of Templates: time 0.006249/0.5506, allocations: 2.152 MB / 464.9 MB, free: 13.2 MB / 394.7 MB