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.Test7.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.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.291/2.291, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.192e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 54.86 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.5191, allocations: 82.06 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5194, allocations: 71.95 kB / 446.7 MB, free: 14.34 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.01994/0.5393, allocations: 4.829 MB / 451.5 MB, free: 9.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.236e-06/0.5394, allocations: 0 / 451.5 MB, free: 9.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5394, allocations: 3.938 kB / 451.5 MB, free: 9.535 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.0006152/0.54, allocations: 461.6 kB / 452 MB, free: 9.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5401, allocations: 15.97 kB / 452 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.5401, allocations: 15.81 kB / 452 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.5405, allocations: 215.6 kB / 452.2 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.5406, allocations: 8.75 kB / 452.2 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.5406, allocations: 4 kB / 452.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5408, allocations: 49.69 kB / 452.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5408, allocations: 0.9375 kB / 452.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.5408, allocations: 7.938 kB / 452.3 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-06/0.5408, allocations: 4 kB / 452.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.5409, allocations: 20 kB / 452.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.5414, allocations: 328.8 kB / 452.6 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.5416, allocations: 50.69 kB / 452.7 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.5417, allocations: 20.98 kB / 452.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5417, allocations: 7.953 kB / 452.7 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5419, allocations: 71.45 kB / 452.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.664e-06/0.5419, allocations: 0 / 452.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005799/0.5425, allocations: 173.9 kB / 452.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5426, allocations: 59.28 kB / 453 MB, free: 7.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.5429, allocations: 214.3 kB / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.5429, allocations: 29.7 kB / 453.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.543, allocations: 170.5 kB / 453.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.5431, allocations: 23.66 kB / 453.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-06/0.5431, allocations: 4 kB / 453.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5433, allocations: 322.8 kB / 453.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/0.5434, allocations: 32.75 kB / 453.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5435, allocations: 53.7 kB / 453.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.5437, allocations: 73.69 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-06/0.5437, allocations: 0 / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003797/0.5441, allocations: 171.2 kB / 454.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.5441, allocations: 41.72 kB / 454.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-06/0.5442, allocations: 0 / 454.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5442, allocations: 1.125 kB / 454.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.5443, allocations: 15.98 kB / 454.1 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.46e-06/0.5443, allocations: 4 kB / 454.1 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.5444, allocations: 8 kB / 454.1 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.5445, allocations: 4 kB / 454.1 MB, free: 6.656 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.0001053/0.5446, allocations: 112.9 kB / 454.2 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.5446, allocations: 19.86 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.545, allocations: 120.4 kB / 454.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-06/0.545, allocations: 4 kB / 454.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.172e-06/0.545, allocations: 0 / 454.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-06/0.545, allocations: 3.984 kB / 454.4 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.5457, allocations: 427.2 kB / 454.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-06/0.5457, allocations: 0 / 454.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.5458, allocations: 15.98 kB / 454.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.005e-06/0.5458, allocations: 4.031 kB / 454.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.5458, allocations: 4 kB / 454.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.663e-06/0.5458, allocations: 0 / 454.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.307e-06/0.5459, allocations: 192 / 454.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.5462, allocations: 227.2 kB / 455.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.5463, allocations: 100.9 kB / 455.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.5464, allocations: 12 kB / 455.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5465, allocations: 7.984 kB / 455.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.5466, allocations: 4 kB / 455.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.5466, allocations: 4 kB / 455.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.5468, allocations: 172.1 kB / 455.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.5468, allocations: 0 / 455.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.5472, allocations: 51.92 kB / 455.4 MB, free: 5.277 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.001452/0.5487, allocations: 429.7 kB / 455.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.5491, allocations: 163.3 kB / 456 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.892e-06/0.5491, allocations: 0 / 456 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.5492, allocations: 32 kB / 456 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.5495, allocations: 24.06 kB / 456 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.5501, allocations: 247.9 kB / 456.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5505, allocations: 0.7158 MB / 457 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.5506, allocations: 19.44 kB / 457 MB, free: 3.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.557e-06/0.5506, allocations: 0 / 457 MB, free: 3.672 MB / 378.7 MB Notification: Performance of Templates: time 0.004906/0.5555, allocations: 2.076 MB / 459.1 MB, free: 1.598 MB / 378.7 MB