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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 16 kB / 314.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2771, allocations: 54.87 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4023, allocations: 82.16 MB / 451.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4026, allocations: 71.97 kB / 451.5 MB, free: 8.5 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.02037/0.423, allocations: 4.653 MB / 456.2 MB, free: 3.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.656e-06/0.423, allocations: 0 / 456.2 MB, free: 3.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4231, allocations: 0 / 456.2 MB, free: 3.84 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.0006381/0.4237, allocations: 486 kB / 456.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4238, allocations: 8.031 kB / 456.6 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.4238, allocations: 7.906 kB / 456.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.4242, allocations: 210.9 kB / 456.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4242, allocations: 4 kB / 456.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.4243, allocations: 7.984 kB / 456.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4244, allocations: 53.67 kB / 456.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4245, allocations: 0 / 456.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4245, allocations: 3.953 kB / 456.9 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-06/0.4245, allocations: 0 / 456.9 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4246, allocations: 31.91 kB / 457 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.4251, allocations: 320.8 kB / 457.3 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4254, allocations: 54.69 kB / 457.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.4254, allocations: 4.062 kB / 457.3 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.4256, allocations: 80.05 kB / 457.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.562e-06/0.4256, allocations: 7.938 kB / 457.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007321/0.4263, allocations: 185.2 kB / 457.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4264, allocations: 51.41 kB / 457.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.4267, allocations: 182.3 kB / 457.8 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4267, allocations: 33.7 kB / 457.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4268, allocations: 166.5 kB / 458 MB, free: 1.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.4269, allocations: 23.7 kB / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.4269, allocations: 0 / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4271, allocations: 318.8 kB / 458.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.4272, allocations: 35.98 kB / 458.4 MB, free: 1.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4274, allocations: 61.62 kB / 458.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.4275, allocations: 73.69 kB / 458.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-06/0.4275, allocations: 0 / 458.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004074/0.428, allocations: 171.2 kB / 458.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.428, allocations: 41.64 kB / 458.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4281, allocations: 4.031 kB / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4281, allocations: 0 / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4282, allocations: 15.94 kB / 458.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4282, allocations: 7.984 kB / 458.8 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.4283, allocations: 8 kB / 458.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4283, allocations: 4 kB / 458.8 MB, free: 0.9727 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.0001453/0.4285, allocations: 129.8 kB / 458.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.4285, allocations: 7.906 kB / 458.9 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.4289, allocations: 131 kB / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-06/0.4289, allocations: 0 / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.206e-06/0.4289, allocations: 0 / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-06/0.429, allocations: 0 / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.4296, allocations: 419.2 kB / 459.4 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.459e-06/0.4297, allocations: 0 / 459.4 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.4297, allocations: 12 kB / 459.5 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.089e-06/0.4298, allocations: 4.031 kB / 459.5 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.4298, allocations: 3.984 kB / 459.5 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.101e-06/0.4298, allocations: 4 kB / 459.5 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4298, allocations: 3.938 kB / 459.5 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.4302, allocations: 226 kB / 459.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4303, allocations: 100.9 kB / 459.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.4304, allocations: 4 kB / 459.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4305, allocations: 7.984 kB / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.4306, allocations: 11.94 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4306, allocations: 8.359 kB / 459.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.4308, allocations: 140 kB / 460 MB, free: 15.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.4308, allocations: 0 / 460 MB, free: 15.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.4312, allocations: 47.92 kB / 460 MB, free: 15.61 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.001565/0.4328, allocations: 460.7 kB / 460.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.4332, allocations: 167.3 kB / 460.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.244e-06/0.4332, allocations: 0 / 460.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4333, allocations: 35.92 kB / 460.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4336, allocations: 19.94 kB / 460.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.4343, allocations: 280.4 kB / 460.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4347, allocations: 0.7121 MB / 461.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.4347, allocations: 19.44 kB / 461.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.25e-06/0.4348, allocations: 0 / 461.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of Templates: time 0.004783/0.4396, allocations: 1.971 MB / 463.6 MB, free: 11.98 MB / 394.7 MB