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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.345/2.345, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.266e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.4769, allocations: 81.36 MB / 439.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4772, allocations: 71.97 kB / 439.5 MB, free: 13.4 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.0189/0.4961, allocations: 4.423 MB / 443.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.855e-06/0.4961, allocations: 0 / 443.9 MB, free: 8.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4961, allocations: 0 / 443.9 MB, free: 8.977 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.0006027/0.4968, allocations: 465.5 kB / 444.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4968, allocations: 12.03 kB / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.4969, allocations: 7.906 kB / 444.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.4972, allocations: 199.4 kB / 444.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.4973, allocations: 4 kB / 444.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.4973, allocations: 7.984 kB / 444.6 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.616e-05/0.4974, allocations: 23.98 kB / 444.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.4976, allocations: 57.61 kB / 444.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4976, allocations: 3.953 kB / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4976, allocations: 4 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-06/0.4976, allocations: 0 / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.4981, allocations: 293.3 kB / 445 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4983, allocations: 50.69 kB / 445 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.4983, allocations: 16.98 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4984, allocations: 4 kB / 445 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.4985, allocations: 71.28 kB / 445.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.674e-06/0.4986, allocations: 4 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.4991, allocations: 141.3 kB / 445.2 MB, free: 7.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4992, allocations: 67.33 kB / 445.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.4994, allocations: 158 kB / 445.5 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.4995, allocations: 29.7 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4996, allocations: 166.5 kB / 445.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.4996, allocations: 19.7 kB / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.4996, allocations: 4 kB / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4998, allocations: 315.5 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.4999, allocations: 28 kB / 446 MB, free: 6.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.5, allocations: 49.7 kB / 446.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5002, allocations: 39.98 kB / 446.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-06/0.5002, allocations: 0 / 446.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003174/0.5005, allocations: 129.6 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.5006, allocations: 41.69 kB / 446.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-06/0.5006, allocations: 3.953 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5006, allocations: 0 / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5007, allocations: 16 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.365e-06/0.5008, allocations: 3.984 kB / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.5009, allocations: 4 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5009, allocations: 4 kB / 446.3 MB, free: 6.355 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.0001119/0.501, allocations: 118.6 kB / 446.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.5011, allocations: 11.81 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.5014, allocations: 110.3 kB / 446.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.5014, allocations: 7.891 kB / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5014, allocations: 0 / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.733e-06/0.5014, allocations: 0 / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.502, allocations: 371.9 kB / 446.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-06/0.5021, allocations: 32 / 446.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.5021, allocations: 23.92 kB / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.617e-06/0.5022, allocations: 3.953 kB / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5022, allocations: 0 / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.438e-06/0.5022, allocations: 4 kB / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.32e-06/0.5022, allocations: 352 / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.5025, allocations: 222 kB / 447.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5027, allocations: 109 kB / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.5027, allocations: 0 / 447.3 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.5028, allocations: 7.984 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.5029, allocations: 4 kB / 447.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.5029, allocations: 8 kB / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.5031, allocations: 135.3 kB / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.5031, allocations: 0 / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.5035, allocations: 32 kB / 447.4 MB, free: 5.105 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.001278/0.5048, allocations: 385.8 kB / 447.8 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.5051, allocations: 155.3 kB / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.479e-06/0.5052, allocations: 0 / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.5052, allocations: 39.91 kB / 448 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5056, allocations: 16.72 kB / 448 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.5061, allocations: 180.1 kB / 448.2 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.5065, allocations: 0.7118 MB / 448.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.5066, allocations: 15.44 kB / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of SimCode: time 1.679e-06/0.5066, allocations: 0 / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of Templates: time 0.004756/0.5114, allocations: 1.921 MB / 450.8 MB, free: 1.68 MB / 378.7 MB