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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.775e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3652, allocations: 54.86 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4894, allocations: 82.03 MB / 446.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4897, allocations: 67.97 kB / 446.6 MB, free: 14.38 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.01917/0.5089, allocations: 4.419 MB / 451.1 MB, free: 9.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.629e-06/0.5089, allocations: 0 / 451.1 MB, free: 9.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.509, allocations: 9.531 kB / 451.1 MB, free: 9.98 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.0006139/0.5096, allocations: 453.6 kB / 451.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5096, allocations: 11.97 kB / 451.5 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.5097, allocations: 7.906 kB / 451.5 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.5101, allocations: 203.4 kB / 451.7 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.5101, allocations: 11.94 kB / 451.7 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.5102, allocations: 4 kB / 451.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.5103, allocations: 57.66 kB / 451.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5104, allocations: 4 kB / 451.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5104, allocations: 3.953 kB / 451.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-06/0.5104, allocations: 0 / 451.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.5105, allocations: 16 kB / 451.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.511, allocations: 308.9 kB / 452.1 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.5112, allocations: 58.62 kB / 452.2 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.5112, allocations: 20.98 kB / 452.2 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5113, allocations: 3.953 kB / 452.2 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.5114, allocations: 75.28 kB / 452.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.621e-06/0.5115, allocations: 0.8438 kB / 452.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005919/0.5121, allocations: 162.2 kB / 452.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.5121, allocations: 55.41 kB / 452.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.5124, allocations: 152.7 kB / 452.6 MB, free: 8.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.5124, allocations: 33.69 kB / 452.7 MB, free: 8.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.5125, allocations: 166.4 kB / 452.8 MB, free: 7.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.5126, allocations: 19.75 kB / 452.9 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.5126, allocations: 4 kB / 452.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5128, allocations: 318.8 kB / 453.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.5129, allocations: 36.75 kB / 453.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.513, allocations: 57.64 kB / 453.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.5132, allocations: 69.69 kB / 453.3 MB, free: 7.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-06/0.5132, allocations: 0 / 453.3 MB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003737/0.5135, allocations: 171.2 kB / 453.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.5136, allocations: 37.69 kB / 453.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5136, allocations: 0 / 453.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5137, allocations: 4.75 kB / 453.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5138, allocations: 20.02 kB / 453.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.462e-06/0.5138, allocations: 192 / 453.6 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.5139, allocations: 12 kB / 453.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.514, allocations: 4 kB / 453.6 MB, free: 7.219 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 () * 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.0001026/0.5141, allocations: 113 kB / 453.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.5141, allocations: 11.86 kB / 453.7 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.5145, allocations: 119.1 kB / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-06/0.5145, allocations: 0 / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5145, allocations: 4 kB / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5145, allocations: 0 / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.5152, allocations: 407.3 kB / 454.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5152, allocations: 1.406 kB / 454.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.5153, allocations: 11.94 kB / 454.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.393e-06/0.5153, allocations: 4 kB / 454.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5153, allocations: 0 / 454.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.799e-06/0.5153, allocations: 0 / 454.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.764e-06/0.5153, allocations: 4 kB / 454.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.5157, allocations: 225.9 kB / 454.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5158, allocations: 89 kB / 454.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.5158, allocations: 11.98 kB / 454.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.516, allocations: 1.219 kB / 454.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.516, allocations: 11.92 kB / 454.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.5161, allocations: 8 kB / 454.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.5162, allocations: 126.5 kB / 454.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.5162, allocations: 0 / 454.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.5167, allocations: 47.92 kB / 454.8 MB, free: 5.938 MB / 378.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) * 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.001473/0.5182, allocations: 422.4 kB / 455.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.5186, allocations: 171.3 kB / 455.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5186, allocations: 4 kB / 455.3 MB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.5187, allocations: 28 kB / 455.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.5191, allocations: 19.94 kB / 455.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.5196, allocations: 183.8 kB / 455.6 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.52, allocations: 0.7122 MB / 456.3 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.52, allocations: 15.44 kB / 456.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.116e-06/0.5201, allocations: 0 / 456.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004616/0.5247, allocations: 1.892 MB / 458.2 MB, free: 2.52 MB / 378.7 MB