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.Test27.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.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004398, allocations: 15.98 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2748, allocations: 54.86 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.3966, allocations: 82.11 MB / 451.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3968, allocations: 79.95 kB / 451.5 MB, free: 8.375 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.01856/0.4154, allocations: 4.481 MB / 456 MB, free: 3.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4154, allocations: 0 / 456 MB, free: 3.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4155, allocations: 4 kB / 456 MB, free: 3.887 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.0006387/0.4161, allocations: 478.1 kB / 456.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4162, allocations: 8.031 kB / 456.4 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.4162, allocations: 11.81 kB / 456.4 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.4166, allocations: 206.9 kB / 456.6 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4166, allocations: 4 kB / 456.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.4166, allocations: 8 kB / 456.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.4168, allocations: 53.67 kB / 456.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4168, allocations: 0 / 456.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4169, allocations: 7.953 kB / 456.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-06/0.4169, allocations: 0 / 456.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.417, allocations: 27.91 kB / 456.7 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.4175, allocations: 304.9 kB / 457 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.4177, allocations: 66.66 kB / 457.1 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4178, allocations: 4 kB / 457.1 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.418, allocations: 72.12 kB / 457.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.447e-06/0.418, allocations: 3.938 kB / 457.2 MB, free: 2.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007222/0.4187, allocations: 193.1 kB / 457.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4188, allocations: 51.41 kB / 457.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.419, allocations: 169.3 kB / 457.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4191, allocations: 29.7 kB / 457.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4192, allocations: 162.5 kB / 457.8 MB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.4193, allocations: 27.64 kB / 457.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4193, allocations: 4 kB / 457.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4194, allocations: 314.8 kB / 458.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.4196, allocations: 39.98 kB / 458.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.4197, allocations: 57.69 kB / 458.2 MB, free: 1.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4199, allocations: 69.69 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4199, allocations: 4 kB / 458.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004092/0.4203, allocations: 167.3 kB / 458.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.4204, allocations: 41.73 kB / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.101e-06/0.4204, allocations: 7.938 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4205, allocations: 4.031 kB / 458.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4206, allocations: 15.94 kB / 458.5 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4206, allocations: 3.984 kB / 458.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.4207, allocations: 12 kB / 458.5 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.4207, allocations: 4 kB / 458.5 MB, free: 1.059 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.0001407/0.4209, allocations: 121.8 kB / 458.7 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.4209, allocations: 20.17 kB / 458.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.4213, allocations: 122.3 kB / 458.8 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-06/0.4214, allocations: 4 kB / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-06/0.4214, allocations: 0 / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4214, allocations: 4 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.4221, allocations: 415.3 kB / 459.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-06/0.4221, allocations: 0 / 459.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.4222, allocations: 8 kB / 459.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4222, allocations: 0 / 459.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4222, allocations: 4 kB / 459.2 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.035e-06/0.4222, allocations: 4.031 kB / 459.2 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-06/0.4222, allocations: 4.094 kB / 459.2 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.4226, allocations: 233.9 kB / 459.5 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4227, allocations: 96.91 kB / 459.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.4228, allocations: 4 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4229, allocations: 8 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.423, allocations: 7.922 kB / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.423, allocations: 8 kB / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.4232, allocations: 139.2 kB / 459.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.87e-07/0.4232, allocations: 0 / 459.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.4236, allocations: 39.94 kB / 459.8 MB, free: 15.71 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.001569/0.4252, allocations: 462.3 kB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.4256, allocations: 167.3 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.125e-06/0.4257, allocations: 4 kB / 460.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.4258, allocations: 35.92 kB / 460.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.4261, allocations: 19.94 kB / 460.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.4268, allocations: 283.7 kB / 460.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4272, allocations: 0.7043 MB / 461.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.4273, allocations: 19.44 kB / 461.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.96e-06/0.4273, allocations: 4 kB / 461.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of Templates: time 0.004823/0.4321, allocations: 1.931 MB / 463.4 MB, free: 12.11 MB / 394.7 MB