Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,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.Test64") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 20 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3234, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4428, allocations: 75.71 MB / 407 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4431, allocations: 67.97 kB / 407.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4597, allocations: 4.149 MB / 411.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.32e-06/0.4597, allocations: 0 / 411.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4598, allocations: 4 kB / 411.2 MB, free: 14.5 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.0005891/0.4604, allocations: 444.5 kB / 411.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4604, allocations: 15.97 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.4605, allocations: 11.81 kB / 411.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.4608, allocations: 202.8 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4609, allocations: 3.984 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4609, allocations: 4 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.461, allocations: 37.69 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-06/0.4611, allocations: 4 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4611, allocations: 4 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-06/0.4611, allocations: 0 / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.4612, allocations: 11.94 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.4614, allocations: 197.6 kB / 412.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.049e-05/0.4615, allocations: 30.56 kB / 412.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4616, allocations: 0 / 412.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.4617, allocations: 59.45 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.177e-06/0.4617, allocations: 0 / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002501/0.462, allocations: 77.44 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4621, allocations: 51.41 kB / 412.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.4624, allocations: 222.6 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4625, allocations: 29.7 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.4626, allocations: 166.6 kB / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.4626, allocations: 7.906 kB / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-06/0.4626, allocations: 0 / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4628, allocations: 314.8 kB / 413.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.4629, allocations: 23.98 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.4629, allocations: 15.98 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.659e-05/0.463, allocations: 49.7 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-06/0.463, allocations: 3.938 kB / 413.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002364/0.4633, allocations: 119.3 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.4633, allocations: 34.64 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.4634, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4634, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.4635, allocations: 4 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.357e-06/0.4635, allocations: 4 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.4636, allocations: 15.78 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4636, allocations: 11.98 kB / 413.3 MB, free: 12.13 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.0001398/0.4638, allocations: 129.8 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.4638, allocations: 11.86 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.464, allocations: 78.55 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-06/0.464, allocations: 240 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.169e-06/0.4641, allocations: 4 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-06/0.4641, allocations: 4 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.4643, allocations: 193.6 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-06/0.4643, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.4644, allocations: 8.125 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.862e-06/0.4644, allocations: 7.938 kB / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4644, allocations: 0 / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.299e-06/0.4644, allocations: 0 / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-06/0.4644, allocations: 0 / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.4646, allocations: 96.88 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.4647, allocations: 101 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4648, allocations: 3.953 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.4648, allocations: 4 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.4649, allocations: 7.984 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.4649, allocations: 0 / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002376/0.4652, allocations: 185.1 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4652, allocations: 0 / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.4655, allocations: 35.94 kB / 414.2 MB, free: 11.17 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.001061/0.4666, allocations: 324.4 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.4668, allocations: 103.4 kB / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.679e-06/0.4668, allocations: 0 / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.4669, allocations: 19.88 kB / 414.6 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.0002376/0.4671, allocations: 15.78 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.4678, allocations: 295.7 kB / 414.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.4682, allocations: 0.715 MB / 415.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.4683, allocations: 15.44 kB / 415.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.648e-06/0.4683, allocations: 0 / 415.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of Templates: time 0.004293/0.4726, allocations: 1.716 MB / 417.4 MB, free: 7.988 MB / 346.7 MB