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.Test17.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.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.147/2.147, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 16 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2715, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3943, allocations: 82.15 MB / 451.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.3945, allocations: 79.89 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.01931/0.4139, allocations: 4.536 MB / 456 MB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.704e-06/0.4139, allocations: 0 / 456 MB, free: 3.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4139, allocations: 4 kB / 456 MB, free: 3.828 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.0006248/0.4146, allocations: 474.2 kB / 456.5 MB, free: 3.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4146, allocations: 12.03 kB / 456.5 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.4147, allocations: 7.906 kB / 456.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.415, allocations: 209.4 kB / 456.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.4151, allocations: 4 kB / 456.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.4151, allocations: 4 kB / 456.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4153, allocations: 53.67 kB / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4153, allocations: 0 / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4153, allocations: 11.95 kB / 456.8 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.4154, allocations: 0 / 456.8 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4155, allocations: 23.97 kB / 456.8 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.416, allocations: 312.7 kB / 457.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4162, allocations: 62.61 kB / 457.2 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.4162, allocations: 4 kB / 457.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.4165, allocations: 72.19 kB / 457.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.695e-06/0.4165, allocations: 7.922 kB / 457.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007208/0.4172, allocations: 177.5 kB / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.4173, allocations: 55.41 kB / 457.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.4175, allocations: 157.5 kB / 457.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.4176, allocations: 29.7 kB / 457.7 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.4177, allocations: 162.6 kB / 457.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.4177, allocations: 27.64 kB / 457.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.4178, allocations: 4 kB / 457.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4179, allocations: 318.8 kB / 458.2 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.4181, allocations: 39.92 kB / 458.2 MB, free: 1.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4182, allocations: 57.64 kB / 458.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4184, allocations: 77.69 kB / 458.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4184, allocations: 0 / 458.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004159/0.4189, allocations: 171.5 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.4189, allocations: 33.66 kB / 458.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.69e-06/0.4189, allocations: 4 kB / 458.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.419, allocations: 4 kB / 458.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4191, allocations: 15.98 kB / 458.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.95e-06/0.4191, allocations: 0 / 458.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.4192, allocations: 12 kB / 458.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4192, allocations: 8.031 kB / 458.6 MB, free: 1.016 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.0001382/0.4194, allocations: 125.8 kB / 458.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.4194, allocations: 11.81 kB / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.4198, allocations: 130.3 kB / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-06/0.4198, allocations: 0 / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-06/0.4199, allocations: 0 / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-06/0.4199, allocations: 0 / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.4205, allocations: 415.2 kB / 459.3 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-06/0.4206, allocations: 0 / 459.3 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.4206, allocations: 8 kB / 459.3 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.196e-06/0.4207, allocations: 7.938 kB / 459.3 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4207, allocations: 4 kB / 459.3 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.4207, allocations: 3.984 kB / 459.3 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.126e-06/0.4207, allocations: 0 / 459.3 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.4211, allocations: 230.1 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.4212, allocations: 92.94 kB / 459.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.4213, allocations: 4 kB / 459.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4214, allocations: 7.984 kB / 459.6 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.4214, allocations: 4.281 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.4215, allocations: 4 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4216, allocations: 134.5 kB / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.4217, allocations: 7.938 kB / 459.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.4221, allocations: 32 kB / 459.8 MB, free: 15.69 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.001593/0.4237, allocations: 465 kB / 460.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.4242, allocations: 167.3 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.927e-06/0.4242, allocations: 4 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.4244, allocations: 36.05 kB / 460.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.4248, allocations: 19.94 kB / 460.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.4254, allocations: 263.7 kB / 460.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.4258, allocations: 0.7082 MB / 461.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.4259, allocations: 11.44 kB / 461.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.644e-06/0.4259, allocations: 4 kB / 461.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of Templates: time 0.004658/0.4306, allocations: 1.904 MB / 463.4 MB, free: 12.14 MB / 394.7 MB