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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 209.2 MB / 225.4 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004472, allocations: 16 kB / 283.1 MB, free: 9.656 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3604, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.4969, allocations: 75.87 MB / 407.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4973, allocations: 79.95 kB / 407.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02042/0.5177, allocations: 4.543 MB / 412.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5178, allocations: 0 / 412.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.5178, allocations: 4 kB / 412.3 MB, free: 13.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006897/0.5185, allocations: 444.5 kB / 412.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5186, allocations: 8.031 kB / 412.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.5186, allocations: 15.81 kB / 412.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.519, allocations: 218.8 kB / 413 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.519, allocations: 0 / 413 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5191, allocations: 4 kB / 413 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.5192, allocations: 57.67 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5193, allocations: 3.938 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.5193, allocations: 0 / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5193, allocations: 4 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.5194, allocations: 23.98 kB / 413.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.52, allocations: 328.7 kB / 413.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.5202, allocations: 54.56 kB / 413.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.5202, allocations: 3.938 kB / 413.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.5204, allocations: 63.48 kB / 413.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.297e-06/0.5204, allocations: 0 / 413.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006584/0.5211, allocations: 145.2 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.5212, allocations: 59.36 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.5216, allocations: 234.6 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.5216, allocations: 29.7 kB / 414 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.5217, allocations: 170.5 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.5218, allocations: 19.75 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.5218, allocations: 0 / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5219, allocations: 318.8 kB / 414.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.5221, allocations: 23.98 kB / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.5222, allocations: 31.98 kB / 414.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.5223, allocations: 65.69 kB / 414.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5223, allocations: 0 / 414.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003498/0.5227, allocations: 143.3 kB / 414.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.5228, allocations: 34.33 kB / 414.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5228, allocations: 7.984 kB / 414.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5228, allocations: 0 / 414.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5229, allocations: 11.98 kB / 414.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.523, allocations: 0 / 414.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-05/0.5231, allocations: 7.953 kB / 414.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5231, allocations: 4 kB / 414.8 MB, free: 11.23 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 (8): * Single equations (assignments): 7 * 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.0001565/0.5233, allocations: 137.8 kB / 414.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.5233, allocations: 15.81 kB / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.5237, allocations: 123.2 kB / 415.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5237, allocations: 3.938 kB / 415.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5237, allocations: 0 / 415.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5237, allocations: 0 / 415.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.5244, allocations: 410.4 kB / 415.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5244, allocations: 0 / 415.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.5245, allocations: 8 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.5246, allocations: 4 kB / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.5246, allocations: 448 / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.5246, allocations: 0 / 415.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5246, allocations: 7.953 kB / 415.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.5249, allocations: 195.3 kB / 415.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.525, allocations: 97 kB / 415.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.5251, allocations: 8 kB / 415.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.5252, allocations: 0 / 415.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.5253, allocations: 15.94 kB / 415.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.5253, allocations: 4 kB / 415.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.5256, allocations: 171.2 kB / 416 MB, free: 9.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5256, allocations: 0 / 416 MB, free: 9.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.526, allocations: 51.83 kB / 416 MB, free: 9.902 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 (8): * Single equations (assignments): 7 * 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.00109/0.5271, allocations: 368.5 kB / 416.4 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.5275, allocations: 127.3 kB / 416.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5275, allocations: 0 / 416.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.5276, allocations: 27.98 kB / 416.5 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.528, allocations: 16.17 kB / 416.5 MB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.5288, allocations: 319.4 kB / 416.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.5291, allocations: 0.7121 MB / 417.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.5292, allocations: 23.44 kB / 417.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5292, allocations: 3.938 kB / 417.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of Templates: time 0.005936/0.5352, allocations: 1.985 MB / 419.6 MB, free: 6.34 MB / 346.7 MB