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.Test61.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.Test61,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.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.097/2.097, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004645, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4147, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.5573, allocations: 75.7 MB / 407.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.5577, allocations: 67.97 kB / 407.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.5757, allocations: 4.146 MB / 411.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5757, allocations: 0 / 411.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.5757, allocations: 4 kB / 411.7 MB, free: 14.53 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.0006672/0.5764, allocations: 440.5 kB / 412.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5765, allocations: 11.97 kB / 412.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.5766, allocations: 15.81 kB / 412.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.5769, allocations: 214.8 kB / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.5769, allocations: 4 kB / 412.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.577, allocations: 3.984 kB / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.5771, allocations: 41.69 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5771, allocations: 0 / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5772, allocations: 0 / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5772, allocations: 0 / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.5773, allocations: 8 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.5775, allocations: 197.6 kB / 412.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.5776, allocations: 34.5 kB / 412.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5777, allocations: 0 / 412.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.5778, allocations: 55.47 kB / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5779, allocations: 0 / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002828/0.5781, allocations: 73.48 kB / 412.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5782, allocations: 59.34 kB / 412.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.5786, allocations: 239.5 kB / 413.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.5787, allocations: 29.7 kB / 413.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/0.5788, allocations: 166.5 kB / 413.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.5788, allocations: 11.91 kB / 413.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.5788, allocations: 0 / 413.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.579, allocations: 310.8 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.5791, allocations: 23.98 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.5791, allocations: 19.98 kB / 413.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.5792, allocations: 53.64 kB / 413.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5793, allocations: 0 / 413.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002467/0.5795, allocations: 107.4 kB / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.5796, allocations: 37.69 kB / 413.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5796, allocations: 0 / 413.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5796, allocations: 0 / 413.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.5797, allocations: 7.938 kB / 413.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5797, allocations: 0 / 413.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.5799, allocations: 15.78 kB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.5799, allocations: 11.94 kB / 413.9 MB, free: 12.14 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.000155/0.5801, allocations: 137.8 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.5801, allocations: 7.906 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5803, allocations: 74.59 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5803, allocations: 240 / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5804, allocations: 8.125 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5804, allocations: 3.984 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.5806, allocations: 197.6 kB / 414.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5806, allocations: 3.953 kB / 414.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.5807, allocations: 11.94 kB / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5807, allocations: 0 / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5807, allocations: 0 / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5807, allocations: 3.984 kB / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5807, allocations: 0 / 414.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.5809, allocations: 88.94 kB / 414.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5811, allocations: 105 kB / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.5811, allocations: 0 / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.5812, allocations: 4 kB / 414.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.5812, allocations: 4 kB / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.5813, allocations: 0 / 414.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.5815, allocations: 193.1 kB / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5816, allocations: 0 / 414.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.5819, allocations: 27.94 kB / 414.7 MB, free: 11.18 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.0009716/0.5829, allocations: 325.9 kB / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.5831, allocations: 99.38 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5832, allocations: 4 kB / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.5832, allocations: 19.94 kB / 415.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.5835, allocations: 12.17 kB / 415.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.5843, allocations: 295.7 kB / 415.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.5847, allocations: 0.7121 MB / 416.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.5848, allocations: 19.44 kB / 416.2 MB, free: 9.703 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5848, allocations: 0 / 416.2 MB, free: 9.703 MB / 346.7 MB Notification: Performance of Templates: time 0.005195/0.59, allocations: 1.712 MB / 417.9 MB, free: 7.996 MB / 346.7 MB