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.Test34.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.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.183/2.183, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.601e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3449, allocations: 54.86 MB / 364.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.4884, allocations: 82.06 MB / 446.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4887, allocations: 71.97 kB / 446.7 MB, free: 14.21 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.01976/0.5085, allocations: 4.569 MB / 451.3 MB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5085, allocations: 4 kB / 451.3 MB, free: 9.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5086, allocations: 0 / 451.3 MB, free: 9.672 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.0006108/0.5092, allocations: 449.6 kB / 451.7 MB, free: 9.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5092, allocations: 15.97 kB / 451.7 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.5093, allocations: 7.906 kB / 451.7 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.5097, allocations: 202.8 kB / 451.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5097, allocations: 4 kB / 451.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.5097, allocations: 4 kB / 451.9 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5099, allocations: 57.67 kB / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5099, allocations: 0 / 452 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.51, allocations: 7.953 kB / 452 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-06/0.51, allocations: 0 / 452 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.5101, allocations: 23.98 kB / 452 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.5106, allocations: 312.7 kB / 452.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.5108, allocations: 58.69 kB / 452.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.5108, allocations: 21.81 kB / 452.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.5109, allocations: 3.953 kB / 452.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.5111, allocations: 68.34 kB / 452.5 MB, free: 8.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.721e-06/0.5111, allocations: 0 / 452.5 MB, free: 8.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005601/0.5116, allocations: 161.5 kB / 452.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.5117, allocations: 55.34 kB / 452.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.512, allocations: 173.2 kB / 452.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.512, allocations: 29.7 kB / 452.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5121, allocations: 166.5 kB / 453 MB, free: 7.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.5122, allocations: 20.38 kB / 453.1 MB, free: 7.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5122, allocations: 7.938 kB / 453.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5124, allocations: 318.8 kB / 453.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/0.5125, allocations: 32 kB / 453.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.5126, allocations: 51.55 kB / 453.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.5128, allocations: 77.67 kB / 453.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-06/0.5128, allocations: 0 / 453.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003817/0.5132, allocations: 176 kB / 453.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.5132, allocations: 39.56 kB / 453.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-06/0.5132, allocations: 4 kB / 453.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5133, allocations: 4 kB / 453.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.5134, allocations: 12 kB / 453.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.415e-06/0.5134, allocations: 3.984 kB / 453.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.923e-05/0.5135, allocations: 12.03 kB / 453.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.5136, allocations: 9.312 kB / 453.8 MB, free: 6.895 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.0001096/0.5137, allocations: 112.9 kB / 453.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.5137, allocations: 11.86 kB / 453.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.514, allocations: 114.2 kB / 454 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-06/0.5141, allocations: 0 / 454 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5141, allocations: 4 kB / 454 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.5141, allocations: 0 / 454 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.5147, allocations: 419.2 kB / 454.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-06/0.5148, allocations: 1.781 kB / 454.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.5148, allocations: 8 kB / 454.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/0.5149, allocations: 4 kB / 454.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5149, allocations: 0 / 454.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-06/0.5149, allocations: 0 / 454.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.079e-06/0.5149, allocations: 0 / 454.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.5152, allocations: 233.8 kB / 454.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5153, allocations: 96.98 kB / 454.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5154, allocations: 4 kB / 454.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5155, allocations: 4 kB / 454.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.5156, allocations: 11.98 kB / 454.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5156, allocations: 0 / 454.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.5158, allocations: 143.1 kB / 454.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.5158, allocations: 4.281 kB / 454.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.5162, allocations: 36 kB / 455 MB, free: 5.598 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.001438/0.5176, allocations: 418.7 kB / 455.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.518, allocations: 167.3 kB / 455.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.892e-06/0.518, allocations: 0 / 455.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.5181, allocations: 32.06 kB / 455.6 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.5184, allocations: 23.94 kB / 455.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.5189, allocations: 184.4 kB / 455.8 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.5194, allocations: 0.7121 MB / 456.5 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.5194, allocations: 15.44 kB / 456.5 MB, free: 4.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.439e-06/0.5194, allocations: 4.062 kB / 456.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of Templates: time 0.00481/0.5243, allocations: 1.919 MB / 458.4 MB, free: 2.152 MB / 378.7 MB