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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.773/2.773, allocations: 234.9 MB / 251.1 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004481, allocations: 12 kB / 315 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3992, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5616, allocations: 82.11 MB / 451.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5619, allocations: 75.97 kB / 452 MB, free: 8.441 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.02142/0.5834, allocations: 4.442 MB / 456.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5834, allocations: 4 kB / 456.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5834, allocations: 0 / 456.4 MB, free: 3.988 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.0007114/0.5842, allocations: 478.2 kB / 456.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5842, allocations: 8.031 kB / 456.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.5843, allocations: 7.906 kB / 456.9 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.5847, allocations: 208.4 kB / 457.1 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.5847, allocations: 4 kB / 457.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.5848, allocations: 4 kB / 457.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.585, allocations: 53.67 kB / 457.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.585, allocations: 0 / 457.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.585, allocations: 7.953 kB / 457.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.585, allocations: 4 kB / 457.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.5852, allocations: 31.91 kB / 457.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.5857, allocations: 304.8 kB / 457.5 MB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.5859, allocations: 58.67 kB / 457.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.586, allocations: 7.938 kB / 457.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.5862, allocations: 76 kB / 457.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.5862, allocations: 0 / 457.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000862/0.5871, allocations: 181.2 kB / 457.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5871, allocations: 51.41 kB / 457.9 MB, free: 2.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.5874, allocations: 174.4 kB / 458.1 MB, free: 2.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.5874, allocations: 33.7 kB / 458.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.5875, allocations: 166.5 kB / 458.3 MB, free: 1.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.5876, allocations: 27.64 kB / 458.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5876, allocations: 0 / 458.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5878, allocations: 314.8 kB / 458.6 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.5879, allocations: 35.98 kB / 458.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.5881, allocations: 57.69 kB / 458.7 MB, free: 1.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5883, allocations: 73.69 kB / 458.8 MB, free: 1.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5883, allocations: 4 kB / 458.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004499/0.5888, allocations: 171.3 kB / 458.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.5888, allocations: 41.69 kB / 459 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5888, allocations: 0 / 459 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5889, allocations: 0 / 459 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.589, allocations: 19.98 kB / 459 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.589, allocations: 3.938 kB / 459 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5892, allocations: 4 kB / 459 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.5892, allocations: 4 kB / 459 MB, free: 1.172 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.0001491/0.5894, allocations: 135.7 kB / 459.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.5894, allocations: 15.77 kB / 459.1 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.5898, allocations: 118.7 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5898, allocations: 0 / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5898, allocations: 0 / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5898, allocations: 4 kB / 459.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.5906, allocations: 419.2 kB / 459.7 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5906, allocations: 0 / 459.7 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.5907, allocations: 12 kB / 459.7 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5907, allocations: 0 / 459.7 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5907, allocations: 3.938 kB / 459.7 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.5907, allocations: 4.156 kB / 459.7 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5907, allocations: 0 / 459.7 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.5911, allocations: 224.3 kB / 459.9 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.5912, allocations: 101 kB / 460 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.5913, allocations: 4 kB / 460 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5914, allocations: 4 kB / 460 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5915, allocations: 11.97 kB / 460 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5915, allocations: 0 / 460 MB, free: 16 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.5917, allocations: 131.2 kB / 460.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5917, allocations: 0 / 460.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.5921, allocations: 43.98 kB / 460.2 MB, free: 15.84 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.001371/0.5935, allocations: 457.3 kB / 460.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.594, allocations: 167.3 kB / 460.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.594, allocations: 0 / 460.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.5942, allocations: 31.98 kB / 460.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.5945, allocations: 24.05 kB / 460.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.5952, allocations: 263.6 kB / 461.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.5956, allocations: 0.7082 MB / 461.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.5957, allocations: 15.44 kB / 461.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5957, allocations: 0 / 461.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Templates: time 0.005667/0.6014, allocations: 1.91 MB / 463.8 MB, free: 12.29 MB / 394.7 MB