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.Test55.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.Test55,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.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.453e-05/3.469e-05, allocations: 8 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4439, allocations: 82.28 MB / 446.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4441, allocations: 67.97 kB / 446.9 MB, free: 14.14 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.02099/0.4651, allocations: 4.967 MB / 451.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4652, allocations: 0 / 451.9 MB, free: 9.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4652, allocations: 1.875 kB / 451.9 MB, free: 9.203 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.000577/0.4658, allocations: 457.6 kB / 452.3 MB, free: 8.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4658, allocations: 11.97 kB / 452.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.4659, allocations: 7.906 kB / 452.3 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4663, allocations: 200.4 kB / 452.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4663, allocations: 4 kB / 452.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.4663, allocations: 3.906 kB / 452.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4665, allocations: 75.33 kB / 452.6 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4665, allocations: 0 / 452.6 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4666, allocations: 11.95 kB / 452.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-06/0.4666, allocations: 0 / 452.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.4667, allocations: 19.98 kB / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.4671, allocations: 288.9 kB / 452.9 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.4673, allocations: 58.78 kB / 453 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.4674, allocations: 21.86 kB / 453 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4674, allocations: 11.94 kB / 453 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.4676, allocations: 63.39 kB / 453.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.69e-06/0.4676, allocations: 0 / 453.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005875/0.4682, allocations: 169.2 kB / 453.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4683, allocations: 77.11 kB / 453.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4685, allocations: 137.5 kB / 453.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4685, allocations: 33.7 kB / 453.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.4686, allocations: 162.4 kB / 453.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4687, allocations: 27.64 kB / 453.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.4687, allocations: 4 kB / 453.7 MB, free: 7.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4689, allocations: 318.8 kB / 454 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.469, allocations: 24 kB / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4691, allocations: 58.58 kB / 454.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.4692, allocations: 65.62 kB / 454.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.156e-06/0.4693, allocations: 3.953 kB / 454.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003232/0.4696, allocations: 143.4 kB / 454.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.4696, allocations: 33.69 kB / 454.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4697, allocations: 4.75 kB / 454.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4697, allocations: 3.938 kB / 454.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.4698, allocations: 19.98 kB / 454.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.458e-06/0.4699, allocations: 0 / 454.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.4699, allocations: 12.06 kB / 454.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.47, allocations: 4 kB / 454.3 MB, free: 6.457 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.0001028/0.4701, allocations: 110.5 kB / 454.5 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.4701, allocations: 11.86 kB / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.4704, allocations: 119.2 kB / 454.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-06/0.4705, allocations: 0 / 454.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4705, allocations: 0 / 454.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4705, allocations: 3.984 kB / 454.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.4711, allocations: 407.3 kB / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-06/0.4711, allocations: 1.031 kB / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.4712, allocations: 11.94 kB / 455 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-06/0.4712, allocations: 4 kB / 455 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4713, allocations: 4 kB / 455 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.479e-06/0.4713, allocations: 0 / 455 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4713, allocations: 0 / 455 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.4716, allocations: 226 kB / 455.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.4717, allocations: 101 kB / 455.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.4718, allocations: 0 / 455.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4719, allocations: 4 kB / 455.3 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.472, allocations: 15.92 kB / 455.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.472, allocations: 4 kB / 455.3 MB, free: 5.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.4721, allocations: 118 kB / 455.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.4722, allocations: 0 / 455.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.4726, allocations: 51.94 kB / 455.5 MB, free: 5.188 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.001722/0.4743, allocations: 0.4962 MB / 456 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.4747, allocations: 147.4 kB / 456.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4747, allocations: 0 / 456.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.4748, allocations: 31.94 kB / 456.2 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.4751, allocations: 20.11 kB / 456.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.4756, allocations: 156.2 kB / 456.4 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.476, allocations: 0.7004 MB / 457.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.4761, allocations: 15.44 kB / 457.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of SimCode: time 4.698e-06/0.4761, allocations: 0 / 457.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of Templates: time 0.004927/0.481, allocations: 2.098 MB / 459.2 MB, free: 1.531 MB / 378.7 MB