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.Test41.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.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004397, allocations: 16 kB / 314.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2914, allocations: 54.85 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.4586, allocations: 82.15 MB / 451.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4589, allocations: 79.95 kB / 451.5 MB, free: 10.41 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.01951/0.4784, allocations: 4.703 MB / 456.2 MB, free: 5.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.914e-06/0.4784, allocations: 4 kB / 456.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4785, allocations: 3.938 kB / 456.2 MB, free: 5.691 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.0006629/0.4791, allocations: 486 kB / 456.7 MB, free: 5.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4792, allocations: 8.031 kB / 456.7 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.4793, allocations: 7.906 kB / 456.7 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.4796, allocations: 211.6 kB / 456.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.4797, allocations: 8 kB / 456.9 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.4797, allocations: 4 kB / 456.9 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4799, allocations: 61.59 kB / 457 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4799, allocations: 0 / 457 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.48, allocations: 3.953 kB / 457 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-06/0.48, allocations: 4 kB / 457 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.4801, allocations: 23.98 kB / 457 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.4806, allocations: 324.7 kB / 457.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.4809, allocations: 62.56 kB / 457.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4809, allocations: 4 kB / 457.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.4811, allocations: 72.17 kB / 457.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.975e-06/0.4811, allocations: 0 / 457.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007271/0.4819, allocations: 185.2 kB / 457.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4819, allocations: 55.41 kB / 457.7 MB, free: 4.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.4822, allocations: 185.5 kB / 457.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4823, allocations: 25.7 kB / 457.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4824, allocations: 170.5 kB / 458.1 MB, free: 3.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.4824, allocations: 31.58 kB / 458.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.4825, allocations: 0 / 458.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4826, allocations: 318.8 kB / 458.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4828, allocations: 43.97 kB / 458.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.4829, allocations: 49.7 kB / 458.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4831, allocations: 77.62 kB / 458.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.257e-06/0.4831, allocations: 0 / 458.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004544/0.4836, allocations: 171.4 kB / 458.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.4837, allocations: 37.66 kB / 458.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-06/0.4837, allocations: 0 / 458.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4837, allocations: 4.031 kB / 458.8 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4838, allocations: 23.92 kB / 458.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.719e-06/0.4839, allocations: 384 / 458.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.484, allocations: 8 kB / 458.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.484, allocations: 4 kB / 458.8 MB, free: 2.82 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.0001634/0.4842, allocations: 135.7 kB / 459 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.4842, allocations: 15.81 kB / 459 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.4846, allocations: 127 kB / 459.1 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.617e-06/0.4846, allocations: 4 kB / 459.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-06/0.4846, allocations: 0 / 459.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.971e-06/0.4847, allocations: 7.969 kB / 459.1 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.4854, allocations: 419.3 kB / 459.5 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-06/0.4854, allocations: 4 kB / 459.5 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4855, allocations: 8 kB / 459.5 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-06/0.4855, allocations: 3.938 kB / 459.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4855, allocations: 8 kB / 459.5 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.545e-06/0.4855, allocations: 11.95 kB / 459.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-06/0.4855, allocations: 0 / 459.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.4859, allocations: 221.8 kB / 459.8 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.486, allocations: 101.3 kB / 459.9 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.4861, allocations: 4 kB / 459.9 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4862, allocations: 11.98 kB / 459.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.4863, allocations: 7.938 kB / 459.9 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.4863, allocations: 4 kB / 459.9 MB, free: 1.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.4865, allocations: 155.2 kB / 460 MB, free: 1.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4865, allocations: 0 / 460 MB, free: 1.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.4869, allocations: 39.94 kB / 460.1 MB, free: 1.43 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.001573/0.4885, allocations: 458.8 kB / 460.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.489, allocations: 171.3 kB / 460.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.379e-06/0.489, allocations: 0 / 460.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.4891, allocations: 39.91 kB / 460.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4894, allocations: 27.84 kB / 460.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.4901, allocations: 300.4 kB / 461.1 MB, free: 500 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.4906, allocations: 0.7082 MB / 461.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.4906, allocations: 15.44 kB / 461.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.675e-06/0.4906, allocations: 4 kB / 461.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of Templates: time 0.004903/0.4956, allocations: 2.012 MB / 463.8 MB, free: 13.73 MB / 394.7 MB