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.Test52.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.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.193/2.193, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.362e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3353, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4561, allocations: 82.07 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4563, allocations: 71.97 kB / 446.7 MB, free: 14.34 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.01974/0.4761, allocations: 4.735 MB / 451.4 MB, free: 9.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.4761, allocations: 0 / 451.4 MB, free: 9.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4761, allocations: 0 / 451.4 MB, free: 9.637 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.0006025/0.4768, allocations: 469.5 kB / 451.9 MB, free: 9.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4768, allocations: 11.97 kB / 451.9 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.4769, allocations: 16.84 kB / 451.9 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.4772, allocations: 210.9 kB / 452.1 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4773, allocations: 4 kB / 452.1 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.4773, allocations: 7.984 kB / 452.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4775, allocations: 57.61 kB / 452.2 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4775, allocations: 4 kB / 452.2 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4775, allocations: 7.953 kB / 452.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-06/0.4775, allocations: 0 / 452.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.4776, allocations: 20 kB / 452.2 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.4781, allocations: 312.9 kB / 452.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.4783, allocations: 58.62 kB / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.4784, allocations: 22.02 kB / 452.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.4784, allocations: 3.953 kB / 452.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.4786, allocations: 67.52 kB / 452.7 MB, free: 8.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.742e-06/0.4786, allocations: 0 / 452.7 MB, free: 8.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005702/0.4792, allocations: 177 kB / 452.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.4792, allocations: 51.41 kB / 452.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4795, allocations: 198.6 kB / 453.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4796, allocations: 29.7 kB / 453.1 MB, free: 7.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.4797, allocations: 170.5 kB / 453.3 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.4798, allocations: 31.62 kB / 453.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-06/0.4798, allocations: 0 / 453.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4799, allocations: 320.2 kB / 453.6 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4801, allocations: 35.98 kB / 453.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.4802, allocations: 49.72 kB / 453.7 MB, free: 7.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4803, allocations: 81.61 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-06/0.4804, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003558/0.4807, allocations: 163.2 kB / 453.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.4808, allocations: 41.69 kB / 454 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.37e-06/0.4808, allocations: 0 / 454 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4808, allocations: 0 / 454 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.481, allocations: 19.94 kB / 454 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.348e-06/0.481, allocations: 0 / 454 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.4811, allocations: 7.984 kB / 454 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.4811, allocations: 8 kB / 454 MB, free: 6.785 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 () * 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 9.856e-05/0.4812, allocations: 110.7 kB / 454.1 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.4813, allocations: 20.05 kB / 454.1 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.4816, allocations: 123.1 kB / 454.3 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4816, allocations: 4 kB / 454.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.21e-06/0.4816, allocations: 4 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4816, allocations: 0 / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.4823, allocations: 419.3 kB / 454.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-06/0.4823, allocations: 0 / 454.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.4824, allocations: 11.98 kB / 454.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.772e-06/0.4824, allocations: 0 / 454.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4824, allocations: 4 kB / 454.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-06/0.4824, allocations: 3.938 kB / 454.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4825, allocations: 0 / 454.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.4828, allocations: 233.8 kB / 454.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4829, allocations: 97 kB / 455 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.483, allocations: 8 kB / 455 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4831, allocations: 3.984 kB / 455 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.4831, allocations: 7.938 kB / 455 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.4832, allocations: 7.984 kB / 455.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.4834, allocations: 160.3 kB / 455.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.4834, allocations: 0 / 455.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.4838, allocations: 47.94 kB / 455.3 MB, free: 5.434 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) * 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.001459/0.4853, allocations: 421.2 kB / 455.7 MB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000554/0.4859, allocations: 167.3 kB / 455.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4859, allocations: 0 / 455.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.4861, allocations: 35.92 kB / 455.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.4867, allocations: 28.06 kB / 455.9 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.4875, allocations: 220.7 kB / 456.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.488, allocations: 0.7198 MB / 456.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.4882, allocations: 15.44 kB / 456.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of SimCode: time 2.674e-06/0.4882, allocations: 0 / 456.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of Templates: time 0.004891/0.4931, allocations: 2.036 MB / 458.9 MB, free: 1.816 MB / 378.7 MB