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.Test36.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.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004359, allocations: 12 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3393, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4849, allocations: 82.13 MB / 451.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4853, allocations: 75.97 kB / 452 MB, free: 8.418 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.0213/0.5066, allocations: 4.793 MB / 456.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5066, allocations: 0 / 456.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.5066, allocations: 4 kB / 456.8 MB, free: 3.613 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.0007254/0.5074, allocations: 486.1 kB / 457.3 MB, free: 3.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5074, allocations: 11.97 kB / 457.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.5075, allocations: 15.81 kB / 457.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.5079, allocations: 206.9 kB / 457.5 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.5079, allocations: 11.98 kB / 457.5 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.508, allocations: 12 kB / 457.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5082, allocations: 53.67 kB / 457.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5082, allocations: 0 / 457.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5082, allocations: 3.953 kB / 457.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5083, allocations: 0 / 457.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.5084, allocations: 23.92 kB / 457.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.5089, allocations: 312.9 kB / 457.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5092, allocations: 66.61 kB / 458 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.5092, allocations: 4 kB / 458 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.5095, allocations: 72 kB / 458.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.5095, allocations: 0 / 458.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008277/0.5103, allocations: 189.1 kB / 458.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5104, allocations: 71.28 kB / 458.3 MB, free: 1.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.5107, allocations: 211.4 kB / 458.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.5108, allocations: 33.69 kB / 458.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.5109, allocations: 166.6 kB / 458.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.5109, allocations: 23.64 kB / 458.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.5109, allocations: 8 kB / 458.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5111, allocations: 314.8 kB / 459.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.5112, allocations: 39.98 kB / 459.1 MB, free: 1.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.5114, allocations: 57.69 kB / 459.2 MB, free: 1.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5116, allocations: 69.7 kB / 459.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5116, allocations: 0 / 459.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004779/0.5121, allocations: 183.2 kB / 459.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.5122, allocations: 37.69 kB / 459.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5122, allocations: 4 kB / 459.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5122, allocations: 0 / 459.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.5124, allocations: 12.03 kB / 459.5 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5124, allocations: 4 kB / 459.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.5125, allocations: 11.98 kB / 459.5 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.5126, allocations: 8 kB / 459.5 MB, free: 0.6914 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.0001526/0.5127, allocations: 129.8 kB / 459.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.5128, allocations: 23.75 kB / 459.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.5132, allocations: 123 kB / 459.7 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.5132, allocations: 4 kB / 459.8 MB, free: 408 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5132, allocations: 4 kB / 459.8 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5132, allocations: 0 / 459.8 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007385/0.514, allocations: 423.2 kB / 460.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.514, allocations: 384 / 460.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.5141, allocations: 8 kB / 460.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.5141, allocations: 11.94 kB / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.5141, allocations: 4 kB / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5142, allocations: 0 / 460.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5142, allocations: 4.031 kB / 460.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.5146, allocations: 220.2 kB / 460.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5147, allocations: 101 kB / 460.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.5148, allocations: 4 kB / 460.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5149, allocations: 4 kB / 460.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.5149, allocations: 7.984 kB / 460.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.515, allocations: 8 kB / 460.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.5152, allocations: 167.2 kB / 460.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5153, allocations: 0 / 460.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.5157, allocations: 43.94 kB / 460.7 MB, free: 15.31 MB / 394.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.001304/0.517, allocations: 454.7 kB / 461.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.5175, allocations: 171.3 kB / 461.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5175, allocations: 0 / 461.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.5176, allocations: 31.98 kB / 461.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.518, allocations: 15.98 kB / 461.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/0.5188, allocations: 324.3 kB / 461.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.5191, allocations: 0.716 MB / 462.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.5192, allocations: 19.42 kB / 462.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5192, allocations: 0 / 462.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of Templates: time 0.005835/0.5251, allocations: 2.049 MB / 464.5 MB, free: 11.56 MB / 394.7 MB