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.Test18.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.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004269, allocations: 12 kB / 314.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3017, allocations: 54.87 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.449, allocations: 82.16 MB / 451.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.4494, allocations: 75.91 kB / 451.5 MB, free: 8.492 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.03104/0.4805, allocations: 4.528 MB / 456 MB, free: 3.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.147e-06/0.4805, allocations: 0 / 456 MB, free: 3.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.4806, allocations: 4 kB / 456 MB, free: 3.953 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.0006161/0.4812, allocations: 470.2 kB / 456.5 MB, free: 3.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4812, allocations: 12.03 kB / 456.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.4813, allocations: 11.91 kB / 456.5 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.4816, allocations: 199.4 kB / 456.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.4817, allocations: 8 kB / 456.7 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.4817, allocations: 4 kB / 456.7 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.4819, allocations: 57.61 kB / 456.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4819, allocations: 0 / 456.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.482, allocations: 3.953 kB / 456.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-06/0.482, allocations: 0 / 456.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4821, allocations: 23.97 kB / 456.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.4826, allocations: 320.8 kB / 457.1 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.4828, allocations: 62.61 kB / 457.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4829, allocations: 7.922 kB / 457.2 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.4831, allocations: 76.19 kB / 457.3 MB, free: 2.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.4831, allocations: 0 / 457.3 MB, free: 2.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007125/0.4838, allocations: 177.3 kB / 457.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4839, allocations: 51.41 kB / 457.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.4841, allocations: 153.5 kB / 457.6 MB, free: 2.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.4841, allocations: 33.7 kB / 457.7 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.4842, allocations: 158.5 kB / 457.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.4843, allocations: 27.64 kB / 457.9 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.4843, allocations: 8 kB / 457.9 MB, free: 1.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4845, allocations: 318.8 kB / 458.2 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.4846, allocations: 35.98 kB / 458.2 MB, free: 1.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4848, allocations: 53.7 kB / 458.3 MB, free: 1.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.485, allocations: 73.62 kB / 458.3 MB, free: 1.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.159e-06/0.485, allocations: 4 kB / 458.3 MB, free: 1.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004077/0.4854, allocations: 163.4 kB / 458.5 MB, free: 1.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.4855, allocations: 45.66 kB / 458.5 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.856e-06/0.4855, allocations: 4 kB / 458.5 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4855, allocations: 0 / 458.5 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4856, allocations: 19.92 kB / 458.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.874e-06/0.4857, allocations: 0 / 458.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.4858, allocations: 8 kB / 458.6 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.4858, allocations: 4 kB / 458.6 MB, free: 1.156 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.0001375/0.4859, allocations: 125.8 kB / 458.7 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.486, allocations: 16.19 kB / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.4863, allocations: 126.3 kB / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-06/0.4864, allocations: 0 / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-06/0.4864, allocations: 0 / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4864, allocations: 4 kB / 458.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006825/0.4871, allocations: 419.3 kB / 459.3 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4871, allocations: 0 / 459.3 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.4872, allocations: 12.03 kB / 459.3 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4872, allocations: 3.938 kB / 459.3 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4872, allocations: 7.938 kB / 459.3 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.268e-06/0.4872, allocations: 3.984 kB / 459.3 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-06/0.4872, allocations: 0 / 459.3 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4876, allocations: 226 kB / 459.5 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.4877, allocations: 101 kB / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.4878, allocations: 4.094 kB / 459.6 MB, free: 0 / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4879, allocations: 112 / 459.6 MB, free: 0 / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.488, allocations: 8.094 kB / 459.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.488, allocations: 11.94 kB / 459.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.4882, allocations: 130.1 kB / 459.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.4882, allocations: 0 / 459.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.4886, allocations: 36 kB / 459.8 MB, free: 15.82 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.001526/0.4901, allocations: 460.1 kB / 460.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.4905, allocations: 171.3 kB / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.942e-06/0.4905, allocations: 0 / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4907, allocations: 35.92 kB / 460.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.491, allocations: 23.94 kB / 460.5 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.4916, allocations: 256 kB / 460.7 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.492, allocations: 0.7121 MB / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.492, allocations: 15.44 kB / 461.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.375e-06/0.4921, allocations: 0 / 461.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of Templates: time 0.004671/0.4967, allocations: 1.908 MB / 463.3 MB, free: 12.27 MB / 394.7 MB