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.Test43.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.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.021/2.021, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006676/0.0006678, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4838, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.6336, allocations: 75.88 MB / 407.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.634, allocations: 71.97 kB / 407.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01792/0.6519, allocations: 4.093 MB / 411.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.652, allocations: 0 / 411.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.652, allocations: 0 / 411.8 MB, free: 14.41 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.0005955/0.6526, allocations: 435.7 kB / 412.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6526, allocations: 12.03 kB / 412.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.6527, allocations: 11.91 kB / 412.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.653, allocations: 199.3 kB / 412.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.653, allocations: 8 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.6531, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.6532, allocations: 45.67 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6532, allocations: 4 kB / 412.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6533, allocations: 0 / 412.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.6533, allocations: 0 / 412.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.6534, allocations: 15.98 kB / 412.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.6538, allocations: 304.7 kB / 412.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.6541, allocations: 42.56 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6541, allocations: 0 / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.6543, allocations: 63.42 kB / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.6543, allocations: 4 kB / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005381/0.6549, allocations: 113.3 kB / 413.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.6549, allocations: 55.41 kB / 413.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.6552, allocations: 182.4 kB / 413.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.6552, allocations: 29.7 kB / 413.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.6553, allocations: 170.5 kB / 413.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.6554, allocations: 15.73 kB / 413.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.6554, allocations: 4 kB / 413.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6555, allocations: 318.8 kB / 413.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.6556, allocations: 27.92 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.6557, allocations: 23.98 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.6558, allocations: 49.7 kB / 413.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6558, allocations: 0 / 413.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002816/0.6561, allocations: 131.2 kB / 414.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.6562, allocations: 33.7 kB / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6562, allocations: 0 / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6562, allocations: 0 / 414.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.6563, allocations: 11.98 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6563, allocations: 0 / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.6564, allocations: 8 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6565, allocations: 7.953 kB / 414.1 MB, free: 11.88 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.0001276/0.6566, allocations: 125.8 kB / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.6566, allocations: 7.906 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.6569, allocations: 93.92 kB / 414.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6569, allocations: 0 / 414.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6569, allocations: 0 / 414.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.657, allocations: 4.281 kB / 414.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.6575, allocations: 350.5 kB / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6575, allocations: 3.984 kB / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.6575, allocations: 8 kB / 414.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6576, allocations: 3.984 kB / 414.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6576, allocations: 3.938 kB / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6576, allocations: 192 / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6576, allocations: 4.094 kB / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.6579, allocations: 191.3 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.658, allocations: 88.95 kB / 415 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.658, allocations: 4 kB / 415 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.6581, allocations: 4 kB / 415 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.6582, allocations: 3.984 kB / 415 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.6582, allocations: 4 kB / 415 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.6584, allocations: 141.8 kB / 415.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6584, allocations: 0 / 415.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.6588, allocations: 43.84 kB / 415.2 MB, free: 10.71 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.001067/0.6599, allocations: 370.9 kB / 415.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.6602, allocations: 107.4 kB / 415.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6602, allocations: 0 / 415.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/0.6603, allocations: 23.98 kB / 415.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.6607, allocations: 16 kB / 415.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.6613, allocations: 251.2 kB / 415.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.6616, allocations: 0.7082 MB / 416.6 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.6617, allocations: 23.42 kB / 416.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6617, allocations: 0 / 416.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of Templates: time 0.005118/0.6668, allocations: 1.732 MB / 418.4 MB, free: 7.496 MB / 346.7 MB