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.Test54.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.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 234.9 MB / 250.5 MB, free: 10.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004324, allocations: 12 kB / 314.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 54.86 MB / 369.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4059, allocations: 82.16 MB / 451.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4061, allocations: 67.97 kB / 451.5 MB, free: 8.52 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.0201/0.4263, allocations: 4.766 MB / 456.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.348e-06/0.4263, allocations: 0 / 456.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4263, allocations: 4 kB / 456.3 MB, free: 3.738 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.0006332/0.427, allocations: 486 kB / 456.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.427, allocations: 12.03 kB / 456.8 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.4271, allocations: 11.81 kB / 456.8 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4274, allocations: 214.8 kB / 457 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4275, allocations: 4 kB / 457 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4275, allocations: 4 kB / 457 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4277, allocations: 57.66 kB / 457 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4277, allocations: 4 kB / 457 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4277, allocations: 7.953 kB / 457 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-06/0.4278, allocations: 8 kB / 457.1 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.4279, allocations: 19.98 kB / 457.1 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.4284, allocations: 312.9 kB / 457.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4286, allocations: 58.62 kB / 457.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.4286, allocations: 0 / 457.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.4289, allocations: 80.17 kB / 457.5 MB, free: 2.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.78e-06/0.4289, allocations: 3.938 kB / 457.5 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007235/0.4296, allocations: 193 kB / 457.7 MB, free: 2.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.4297, allocations: 51.41 kB / 457.8 MB, free: 2.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.43, allocations: 202.5 kB / 458 MB, free: 1.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.43, allocations: 33.7 kB / 458 MB, free: 1.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4301, allocations: 162.6 kB / 458.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.4302, allocations: 23.66 kB / 458.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.4302, allocations: 4 kB / 458.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4304, allocations: 318.8 kB / 458.5 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4305, allocations: 39.92 kB / 458.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.4307, allocations: 57.69 kB / 458.6 MB, free: 1.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4308, allocations: 65.7 kB / 458.6 MB, free: 1.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-06/0.4309, allocations: 8 kB / 458.7 MB, free: 1.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004191/0.4313, allocations: 171.2 kB / 458.8 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.4314, allocations: 45.64 kB / 458.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.192e-06/0.4314, allocations: 4 kB / 458.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4314, allocations: 0 / 458.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4315, allocations: 12 kB / 458.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.647e-06/0.4315, allocations: 0 / 458.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.4316, allocations: 11.98 kB / 458.9 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.4317, allocations: 4.094 kB / 458.9 MB, free: 0.8516 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.0001551/0.4319, allocations: 145.7 kB / 459 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.4319, allocations: 15.81 kB / 459.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.4323, allocations: 119 kB / 459.2 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.722e-06/0.4323, allocations: 4 kB / 459.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-06/0.4323, allocations: 3.938 kB / 459.2 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-06/0.4323, allocations: 0 / 459.2 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.433, allocations: 427.3 kB / 459.6 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.72e-06/0.433, allocations: 3.938 kB / 459.6 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.4331, allocations: 8 kB / 459.6 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-06/0.4331, allocations: 4 kB / 459.6 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4332, allocations: 0 / 459.6 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.4332, allocations: 384 / 459.6 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-06/0.4332, allocations: 3.938 kB / 459.6 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.4336, allocations: 237.8 kB / 459.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4337, allocations: 97 kB / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.4338, allocations: 8 kB / 460 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4339, allocations: 4 kB / 460 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.4339, allocations: 7.984 kB / 460 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.434, allocations: 4 kB / 460 MB, free: 15.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.4342, allocations: 167.2 kB / 460.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4342, allocations: 0 / 460.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.4346, allocations: 47.94 kB / 460.2 MB, free: 15.45 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.001555/0.4362, allocations: 467.2 kB / 460.6 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.4366, allocations: 167.3 kB / 460.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4366, allocations: 0 / 460.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.4367, allocations: 35.92 kB / 460.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.4371, allocations: 28.06 kB / 460.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.4378, allocations: 308.2 kB / 461.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4382, allocations: 0.716 MB / 461.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.4382, allocations: 19.42 kB / 461.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.538e-06/0.4383, allocations: 3.938 kB / 461.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of Templates: time 0.00486/0.4431, allocations: 2.042 MB / 463.9 MB, free: 11.69 MB / 394.7 MB