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.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006167/0.0006168, allocations: 16 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4701, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.6072, allocations: 75.66 MB / 407.5 MB, free: 2.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.6076, allocations: 75.97 kB / 407.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.6253, allocations: 3.882 MB / 411.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6254, allocations: 4 kB / 411.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.6254, allocations: 4 kB / 411.4 MB, free: 14.84 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006235/0.626, allocations: 427.7 kB / 411.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6261, allocations: 8.031 kB / 411.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.6261, allocations: 11.81 kB / 411.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.6264, allocations: 202.9 kB / 412.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.6265, allocations: 4 kB / 412.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.6265, allocations: 0 / 412.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.6266, allocations: 45.62 kB / 412.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6267, allocations: 0 / 412.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6267, allocations: 4 kB / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.6267, allocations: 0 / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.6268, allocations: 11.98 kB / 412.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.627, allocations: 185.6 kB / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.6271, allocations: 30.56 kB / 412.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.6272, allocations: 4 kB / 412.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.6273, allocations: 59.41 kB / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.6273, allocations: 0 / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002742/0.6276, allocations: 69.72 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.6277, allocations: 51.41 kB / 412.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.628, allocations: 199 kB / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.628, allocations: 29.7 kB / 412.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.6281, allocations: 162.6 kB / 412.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.6282, allocations: 15.89 kB / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.6282, allocations: 0 / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6283, allocations: 310.8 kB / 413.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.6284, allocations: 19.98 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.6285, allocations: 23.92 kB / 413.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.6286, allocations: 49.66 kB / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6286, allocations: 0 / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002588/0.6289, allocations: 111.4 kB / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.6289, allocations: 33.7 kB / 413.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6289, allocations: 7.984 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.629, allocations: 3.938 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.6291, allocations: 4 kB / 413.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6291, allocations: 0 / 413.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.6292, allocations: 11.89 kB / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.6292, allocations: 4 kB / 413.5 MB, free: 12.55 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 (5): * Single equations (assignments): 4 * 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.0001358/0.6294, allocations: 121.8 kB / 413.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.6294, allocations: 7.906 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.6297, allocations: 81.86 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.6297, allocations: 3.984 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.6297, allocations: 4 kB / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6297, allocations: 0 / 413.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.6299, allocations: 181.6 kB / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.63, allocations: 3.953 kB / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.63, allocations: 0 / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.63, allocations: 4 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.6301, allocations: 0 / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6301, allocations: 3.984 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6301, allocations: 0 / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.6303, allocations: 92.97 kB / 414 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.6304, allocations: 108.8 kB / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.6304, allocations: 0 / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.6305, allocations: 128 / 414.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.6305, allocations: 4 kB / 414.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6306, allocations: 4 kB / 414.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.6308, allocations: 159.9 kB / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6308, allocations: 4 kB / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.6311, allocations: 31.98 kB / 414.3 MB, free: 11.64 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 (4): * Single equations (assignments): 3 * 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.0009555/0.6321, allocations: 317.5 kB / 414.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.6324, allocations: 103.3 kB / 414.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6324, allocations: 0 / 414.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.619e-05/0.6325, allocations: 11.98 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.6328, allocations: 19.97 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.6334, allocations: 243.3 kB / 415 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.6338, allocations: 0.7004 MB / 415.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.6338, allocations: 15.38 kB / 415.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6338, allocations: 4 kB / 415.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of Templates: time 0.004972/0.6388, allocations: 1.574 MB / 417.3 MB, free: 8.664 MB / 346.7 MB