Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.083/2.083, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004549, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3757, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5194, allocations: 75.88 MB / 407.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5198, allocations: 67.97 kB / 407.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.5382, allocations: 4.272 MB / 412 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.299e-06/0.5383, allocations: 4 kB / 412 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.5383, allocations: 0 / 412 MB, free: 14.21 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006516/0.5389, allocations: 448.5 kB / 412.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.539, allocations: 8.031 kB / 412.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.5391, allocations: 11.91 kB / 412.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.5394, allocations: 214.7 kB / 412.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5394, allocations: 0 / 412.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5395, allocations: 8 kB / 412.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5396, allocations: 45.67 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5397, allocations: 3.938 kB / 412.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5397, allocations: 8 kB / 412.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5397, allocations: 0 / 412.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.5398, allocations: 11.98 kB / 412.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.5403, allocations: 304.9 kB / 413.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.5406, allocations: 46.56 kB / 413.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.5406, allocations: 3.938 kB / 413.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.5408, allocations: 63.42 kB / 413.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.5408, allocations: 0 / 413.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005487/0.5413, allocations: 137.1 kB / 413.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5414, allocations: 51.41 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.5417, allocations: 226.7 kB / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.5418, allocations: 29.7 kB / 413.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.5419, allocations: 166.5 kB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.5419, allocations: 15.89 kB / 413.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.5419, allocations: 3.938 kB / 413.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5421, allocations: 318.8 kB / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.414e-05/0.5422, allocations: 19.98 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.5423, allocations: 23.98 kB / 414.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.5424, allocations: 49.7 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5424, allocations: 4 kB / 414.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002821/0.5427, allocations: 131.2 kB / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.5427, allocations: 37.7 kB / 414.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5428, allocations: 0 / 414.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5428, allocations: 0 / 414.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.5429, allocations: 11.98 kB / 414.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.5429, allocations: 0 / 414.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.543, allocations: 4 kB / 414.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.543, allocations: 7.953 kB / 414.4 MB, free: 11.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001404/0.5432, allocations: 133.8 kB / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.5432, allocations: 11.91 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.5435, allocations: 90.67 kB / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5435, allocations: 0 / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5435, allocations: 0 / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5435, allocations: 0 / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.5441, allocations: 382.3 kB / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5441, allocations: 0 / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.5442, allocations: 12 kB / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.5442, allocations: 0 / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5442, allocations: 0 / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5442, allocations: 4 kB / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5442, allocations: 0 / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.5445, allocations: 183.7 kB / 415.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.5446, allocations: 104.8 kB / 415.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.5446, allocations: 0 / 415.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.5448, allocations: 15.98 kB / 415.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.5448, allocations: 0 / 415.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.5448, allocations: 4 kB / 415.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002389/0.5451, allocations: 180.2 kB / 415.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5451, allocations: 0 / 415.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.5455, allocations: 39.94 kB / 415.5 MB, free: 10.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001068/0.5466, allocations: 376.2 kB / 415.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.5469, allocations: 111.4 kB / 416 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5469, allocations: 0 / 416 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/0.5469, allocations: 19.94 kB / 416 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.5473, allocations: 15.98 kB / 416 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.5479, allocations: 291.2 kB / 416.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.5483, allocations: 0.7121 MB / 417 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.5484, allocations: 11.44 kB / 417 MB, free: 8.84 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5484, allocations: 0 / 417 MB, free: 8.84 MB / 346.7 MB Notification: Performance of Templates: time 0.005264/0.5536, allocations: 1.857 MB / 418.9 MB, free: 6.992 MB / 346.7 MB