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.Test46.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.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004394, allocations: 16 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2768, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4034, allocations: 82.14 MB / 451.4 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4037, allocations: 71.95 kB / 451.5 MB, free: 8.379 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.02049/0.4242, allocations: 4.907 MB / 456.4 MB, free: 3.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.58e-06/0.4243, allocations: 0 / 456.4 MB, free: 3.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4243, allocations: 0 / 456.4 MB, free: 3.457 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.0007307/0.425, allocations: 498 kB / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4251, allocations: 8.031 kB / 456.9 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.4252, allocations: 15.81 kB / 456.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.4256, allocations: 218.7 kB / 457.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.4256, allocations: 11.98 kB / 457.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.4257, allocations: 8 kB / 457.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4259, allocations: 53.67 kB / 457.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4259, allocations: 0 / 457.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4259, allocations: 3.953 kB / 457.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4259, allocations: 0 / 457.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.426, allocations: 19.98 kB / 457.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.4266, allocations: 328.8 kB / 457.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.4268, allocations: 66.67 kB / 457.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.4269, allocations: 0 / 457.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.4271, allocations: 72.12 kB / 457.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.691e-06/0.4271, allocations: 3.938 kB / 457.7 MB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000751/0.4279, allocations: 193.1 kB / 457.9 MB, free: 1.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4279, allocations: 63.33 kB / 457.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4283, allocations: 233.6 kB / 458.2 MB, free: 1.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.4284, allocations: 25.7 kB / 458.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4285, allocations: 174.5 kB / 458.4 MB, free: 1.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.4285, allocations: 23.66 kB / 458.4 MB, free: 1.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.4286, allocations: 4 kB / 458.4 MB, free: 1.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4287, allocations: 318.8 kB / 458.7 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4289, allocations: 35.98 kB / 458.7 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4291, allocations: 57.69 kB / 458.8 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4292, allocations: 69.7 kB / 458.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-06/0.4293, allocations: 0 / 458.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004295/0.4297, allocations: 179.2 kB / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.4298, allocations: 41.66 kB / 459.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.889e-06/0.4298, allocations: 0 / 459.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4298, allocations: 11.97 kB / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4299, allocations: 12 kB / 459.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.119e-06/0.43, allocations: 4.031 kB / 459.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.994e-05/0.4301, allocations: 4 kB / 459.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.4301, allocations: 11.98 kB / 459.1 MB, free: 500 kB / 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.0001688/0.4303, allocations: 137.8 kB / 459.2 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.4303, allocations: 15.81 kB / 459.3 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.4307, allocations: 131 kB / 459.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-06/0.4307, allocations: 0 / 459.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.744e-06/0.4308, allocations: 4.375 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-06/0.4308, allocations: 0 / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.4315, allocations: 443.3 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.575e-06/0.4316, allocations: 3.984 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.4316, allocations: 8 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.526e-06/0.4317, allocations: 4 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4317, allocations: 0 / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.466e-06/0.4317, allocations: 0 / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.247e-06/0.4317, allocations: 3.938 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.4321, allocations: 242 kB / 460.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4322, allocations: 104.9 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.4323, allocations: 4 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4324, allocations: 0 / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4325, allocations: 15.98 kB / 460.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4325, allocations: 4 kB / 460.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000274/0.4328, allocations: 192.2 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4328, allocations: 0 / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000424/0.4332, allocations: 43.94 kB / 460.4 MB, free: 15.04 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.001559/0.4348, allocations: 452.6 kB / 460.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.4353, allocations: 179.3 kB / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.929e-06/0.4353, allocations: 0 / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.4354, allocations: 31.98 kB / 461.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4358, allocations: 24.06 kB / 461.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.4366, allocations: 352.6 kB / 461.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.437, allocations: 0.7199 MB / 462.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.4371, allocations: 15.44 kB / 462.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.856e-06/0.4371, allocations: 4 kB / 462.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of Templates: time 0.005344/0.4425, allocations: 2.143 MB / 464.3 MB, free: 11.14 MB / 394.7 MB