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.Test26.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.Test26,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.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 16 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2801, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4035, allocations: 82.14 MB / 451.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4037, allocations: 71.91 kB / 451.5 MB, free: 8.371 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.01952/0.4233, allocations: 4.625 MB / 456.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.757e-06/0.4233, allocations: 4 kB / 456.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.4233, allocations: 3.938 kB / 456.1 MB, free: 3.73 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.0006412/0.424, allocations: 490 kB / 456.6 MB, free: 3.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.424, allocations: 12.02 kB / 456.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.4241, allocations: 7.906 kB / 456.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4244, allocations: 198.9 kB / 456.8 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4245, allocations: 8 kB / 456.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.4245, allocations: 4 kB / 456.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.4247, allocations: 65.61 kB / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4247, allocations: 0 / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4248, allocations: 3.953 kB / 456.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-06/0.4248, allocations: 0 / 456.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.702e-05/0.4249, allocations: 19.98 kB / 456.9 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.4254, allocations: 320.8 kB / 457.2 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.4256, allocations: 62.62 kB / 457.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4257, allocations: 7.969 kB / 457.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.4259, allocations: 76.12 kB / 457.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.436e-06/0.4259, allocations: 0 / 457.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007579/0.4266, allocations: 181.2 kB / 457.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.4267, allocations: 51.41 kB / 457.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.427, allocations: 186.4 kB / 457.8 MB, free: 1.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.427, allocations: 29.7 kB / 457.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4271, allocations: 162.6 kB / 458 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4272, allocations: 23.7 kB / 458 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.4272, allocations: 4 kB / 458 MB, free: 1.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4274, allocations: 310.8 kB / 458.3 MB, free: 1.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.4275, allocations: 39.98 kB / 458.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.4277, allocations: 61.62 kB / 458.4 MB, free: 1.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4279, allocations: 81.62 kB / 458.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4279, allocations: 0 / 458.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004231/0.4283, allocations: 171.2 kB / 458.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.4284, allocations: 41.64 kB / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.907e-06/0.4284, allocations: 0 / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4284, allocations: 0 / 458.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4286, allocations: 19.92 kB / 458.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.811e-06/0.4286, allocations: 4 kB / 458.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.4287, allocations: 8.031 kB / 458.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4287, allocations: 8.078 kB / 458.7 MB, free: 0.8672 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.0001513/0.4289, allocations: 125.8 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.4289, allocations: 7.906 kB / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.4293, allocations: 134.9 kB / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-06/0.4293, allocations: 0 / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4294, allocations: 0 / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-06/0.4294, allocations: 0 / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/0.4303, allocations: 423.2 kB / 459.4 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4304, allocations: 0 / 459.4 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.4304, allocations: 16.36 kB / 459.4 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.743e-06/0.4305, allocations: 0 / 459.4 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4305, allocations: 4 kB / 459.4 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.678e-06/0.4305, allocations: 11.88 kB / 459.4 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.086e-06/0.4305, allocations: 0 / 459.4 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.4309, allocations: 225.9 kB / 459.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.431, allocations: 104.9 kB / 459.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.4311, allocations: 7.984 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4312, allocations: 0 / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.4313, allocations: 4 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.4313, allocations: 15.98 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.4315, allocations: 139.9 kB / 459.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4315, allocations: 0 / 459.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.4319, allocations: 44.22 kB / 460 MB, free: 15.5 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.001575/0.4335, allocations: 456.6 kB / 460.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.4339, allocations: 171.3 kB / 460.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.434, allocations: 4.062 kB / 460.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.4341, allocations: 35.92 kB / 460.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.4344, allocations: 23.88 kB / 460.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.4351, allocations: 284.4 kB / 460.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.4355, allocations: 0.7082 MB / 461.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.4356, allocations: 19.44 kB / 461.6 MB, free: 13.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.364e-06/0.4356, allocations: 0 / 461.6 MB, free: 13.83 MB / 394.7 MB Notification: Performance of Templates: time 0.004742/0.4403, allocations: 1.967 MB / 463.6 MB, free: 11.87 MB / 394.7 MB