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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.981e-05, allocations: 8 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 54.86 MB / 364.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4359, allocations: 82.06 MB / 446.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4361, allocations: 72.64 kB / 446.7 MB, free: 14.35 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.01947/0.4556, allocations: 4.629 MB / 451.3 MB, free: 9.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.4557, allocations: 4 kB / 451.3 MB, free: 9.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.4557, allocations: 4 kB / 451.3 MB, free: 9.738 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.0005796/0.4563, allocations: 461.5 kB / 451.8 MB, free: 9.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4563, allocations: 15.97 kB / 451.8 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.4564, allocations: 7.906 kB / 451.8 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.4567, allocations: 198.9 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4568, allocations: 8 kB / 452 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.4568, allocations: 7.984 kB / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.457, allocations: 54.31 kB / 452.1 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.457, allocations: 0 / 452.1 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.457, allocations: 3.953 kB / 452.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.459e-06/0.457, allocations: 3.984 kB / 452.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.4571, allocations: 23.92 kB / 452.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.4576, allocations: 321.6 kB / 452.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.4578, allocations: 62.69 kB / 452.5 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.4579, allocations: 20.92 kB / 452.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4579, allocations: 3.953 kB / 452.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.4581, allocations: 67.52 kB / 452.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.702e-06/0.4581, allocations: 0 / 452.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005415/0.4586, allocations: 165.2 kB / 452.7 MB, free: 8.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4587, allocations: 55.41 kB / 452.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.4589, allocations: 182.5 kB / 452.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.459, allocations: 30.39 kB / 453 MB, free: 7.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.4591, allocations: 162.6 kB / 453.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.4592, allocations: 27.64 kB / 453.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-06/0.4592, allocations: 0 / 453.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4593, allocations: 318.8 kB / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.4594, allocations: 32 kB / 453.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4596, allocations: 53.7 kB / 453.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.4597, allocations: 73.69 kB / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-06/0.4597, allocations: 0.75 kB / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003712/0.4601, allocations: 175.2 kB / 453.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.4602, allocations: 35.58 kB / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.844e-06/0.4602, allocations: 0 / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4602, allocations: 0 / 453.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4604, allocations: 23.92 kB / 453.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.347e-06/0.4604, allocations: 0 / 453.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.4605, allocations: 12.88 kB / 453.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4605, allocations: 4 kB / 453.9 MB, free: 6.926 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.0001031/0.4606, allocations: 114.7 kB / 454 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.4607, allocations: 15.86 kB / 454 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.461, allocations: 120.4 kB / 454.1 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-06/0.461, allocations: 0 / 454.1 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.055e-06/0.461, allocations: 4 kB / 454.1 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-06/0.461, allocations: 0 / 454.1 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.4617, allocations: 415.3 kB / 454.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.945e-06/0.4617, allocations: 4 kB / 454.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.4618, allocations: 8 kB / 454.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.006e-06/0.4618, allocations: 0 / 454.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4618, allocations: 4 kB / 454.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.757e-06/0.4618, allocations: 0 / 454.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.4618, allocations: 0 / 454.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4621, allocations: 223.3 kB / 454.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4622, allocations: 100.9 kB / 454.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.4623, allocations: 8.172 kB / 454.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.4624, allocations: 11.94 kB / 454.9 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4625, allocations: 11.92 kB / 454.9 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4625, allocations: 4 kB / 454.9 MB, free: 5.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.4627, allocations: 144 kB / 455 MB, free: 5.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.4627, allocations: 4 kB / 455 MB, free: 5.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.4631, allocations: 43.94 kB / 455.1 MB, free: 5.605 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.00141/0.4645, allocations: 412.8 kB / 455.5 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.4649, allocations: 167.3 kB / 455.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.914e-06/0.4649, allocations: 0 / 455.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.465, allocations: 39.98 kB / 455.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4654, allocations: 23.94 kB / 455.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.4659, allocations: 200.3 kB / 455.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.4663, allocations: 0.7082 MB / 456.6 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.4663, allocations: 19.42 kB / 456.6 MB, free: 4.066 MB / 378.7 MB Notification: Performance of SimCode: time 1.598e-06/0.4663, allocations: 4.062 kB / 456.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of Templates: time 0.004596/0.4709, allocations: 1.964 MB / 458.6 MB, free: 2.102 MB / 378.7 MB