Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 234.9 MB / 251.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006574/0.0006578, allocations: 12 kB / 315 MB, free: 9.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4705, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.6207, allocations: 82.13 MB / 451.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.621, allocations: 75.97 kB / 452 MB, free: 10.46 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02211/0.6432, allocations: 4.84 MB / 456.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6432, allocations: 4 kB / 456.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.6432, allocations: 0 / 456.9 MB, free: 5.609 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.0007268/0.644, allocations: 0.4918 MB / 457.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.644, allocations: 12.03 kB / 457.4 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.6441, allocations: 11.81 kB / 457.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.6445, allocations: 219.6 kB / 457.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.6446, allocations: 0 / 457.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.6446, allocations: 15.98 kB / 457.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.6448, allocations: 53.67 kB / 457.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6449, allocations: 3.938 kB / 457.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.6449, allocations: 7.891 kB / 457.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6449, allocations: 4 kB / 457.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.645, allocations: 23.98 kB / 457.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.6456, allocations: 320.8 kB / 458 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.6459, allocations: 62.67 kB / 458.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.6459, allocations: 3.938 kB / 458.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.6461, allocations: 72.06 kB / 458.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.545e-06/0.6462, allocations: 0 / 458.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008782/0.647, allocations: 189 kB / 458.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.6471, allocations: 55.41 kB / 458.4 MB, free: 3.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.6475, allocations: 235 kB / 458.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6475, allocations: 33.7 kB / 458.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.6476, allocations: 170.5 kB / 458.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.6477, allocations: 23.66 kB / 458.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.6477, allocations: 4 kB / 458.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6479, allocations: 318.8 kB / 459.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.648, allocations: 35.98 kB / 459.2 MB, free: 3.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.6482, allocations: 61.69 kB / 459.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.6484, allocations: 69.7 kB / 459.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6484, allocations: 0 / 459.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004657/0.6489, allocations: 187.1 kB / 459.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.649, allocations: 33.7 kB / 459.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.649, allocations: 3.984 kB / 459.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.649, allocations: 0 / 459.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.6492, allocations: 15.94 kB / 459.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.6492, allocations: 8.031 kB / 459.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.6493, allocations: 8 kB / 459.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.6493, allocations: 7.984 kB / 459.6 MB, free: 2.637 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.0001657/0.6495, allocations: 132.5 kB / 459.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.6496, allocations: 19.75 kB / 459.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.65, allocations: 123 kB / 459.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.65, allocations: 4 kB / 459.8 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.65, allocations: 7.938 kB / 459.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.65, allocations: 0 / 459.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.6508, allocations: 431.2 kB / 460.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6508, allocations: 0 / 460.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.6509, allocations: 8 kB / 460.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.6509, allocations: 0 / 460.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.651, allocations: 7.984 kB / 460.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.651, allocations: 384 / 460.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.651, allocations: 4.031 kB / 460.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.6514, allocations: 220.1 kB / 460.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6515, allocations: 104.9 kB / 460.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.6516, allocations: 8 kB / 460.6 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6517, allocations: 3.984 kB / 460.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.6518, allocations: 11.94 kB / 460.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.6518, allocations: 11.98 kB / 460.7 MB, free: 1.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002558/0.6521, allocations: 177.1 kB / 460.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6521, allocations: 0 / 460.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004168/0.6525, allocations: 48.22 kB / 460.9 MB, free: 1.234 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) * 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.001305/0.6538, allocations: 450.9 kB / 461.3 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.6543, allocations: 171.3 kB / 461.5 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6544, allocations: 0 / 461.5 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.6545, allocations: 35.92 kB / 461.5 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.6549, allocations: 20.17 kB / 461.5 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.6557, allocations: 340.3 kB / 461.9 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6561, allocations: 0.7158 MB / 462.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.6562, allocations: 15.44 kB / 462.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6562, allocations: 0 / 462.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of Templates: time 0.006213/0.6624, allocations: 2.105 MB / 464.7 MB, free: 13.4 MB / 394.7 MB