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.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.316e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08739, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.4504, allocations: 75.64 MB / 402.2 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4506, allocations: 69.81 kB / 402.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01896/0.4696, allocations: 5.468 MB / 407.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.638e-06/0.4696, allocations: 3.938 kB / 407.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.424e-05/0.4697, allocations: 11.66 kB / 407.7 MB, free: 7.434 MB / 314.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.000632/0.4703, allocations: 0.6459 MB / 408.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4704, allocations: 7.719 kB / 408.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.4705, allocations: 46.5 kB / 408.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.4712, allocations: 453.6 kB / 408.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4713, allocations: 0 / 408.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4713, allocations: 6.938 kB / 408.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.4714, allocations: 68.59 kB / 408.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-06/0.4715, allocations: 4 kB / 409 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4715, allocations: 0 / 409 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4715, allocations: 3.938 kB / 409 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.4716, allocations: 22.2 kB / 409 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.472, allocations: 383.4 kB / 409.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4721, allocations: 54.89 kB / 409.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.4722, allocations: 36 kB / 409.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4722, allocations: 7.734 kB / 409.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.4723, allocations: 79.55 kB / 409.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.4724, allocations: 0 / 409.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003414/0.4727, allocations: 134 kB / 409.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4728, allocations: 81.11 kB / 409.7 MB, free: 5.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4743, allocations: 0.917 MB / 410.7 MB, free: 5.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4743, allocations: 28.77 kB / 410.7 MB, free: 5.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.4744, allocations: 250 kB / 410.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.4745, allocations: 11.69 kB / 410.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.4745, allocations: 7.656 kB / 410.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.4746, allocations: 318.8 kB / 411.3 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.301e-05/0.4747, allocations: 32.72 kB / 411.3 MB, free: 5.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.4748, allocations: 67.45 kB / 411.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.4749, allocations: 99.69 kB / 411.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4749, allocations: 0 / 411.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003261/0.4753, allocations: 187 kB / 411.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.4753, allocations: 63.08 kB / 411.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.4753, allocations: 0 / 411.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4754, allocations: 0 / 411.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.4755, allocations: 19.45 kB / 411.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.257e-06/0.4755, allocations: 0 / 411.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.4757, allocations: 22.47 kB / 411.7 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4757, allocations: 7.688 kB / 411.7 MB, free: 4.871 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 6.633e-05/0.4758, allocations: 111.8 kB / 411.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.4759, allocations: 46.81 kB / 411.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.4762, allocations: 165.1 kB / 412.1 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.572e-06/0.4762, allocations: 3.984 kB / 412.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-06/0.4762, allocations: 128 / 412.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.283e-06/0.4763, allocations: 0 / 412.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.4766, allocations: 379.3 kB / 412.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-06/0.4766, allocations: 0 / 412.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.4767, allocations: 11.62 kB / 412.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.703e-06/0.4767, allocations: 0 / 412.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4767, allocations: 0 / 412.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.037e-06/0.4767, allocations: 3.969 kB / 412.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4767, allocations: 3.938 kB / 412.5 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.477, allocations: 190.3 kB / 412.6 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4773, allocations: 181.1 kB / 412.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.506e-05/0.4774, allocations: 7.828 kB / 412.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4775, allocations: 10.22 kB / 412.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4775, allocations: 3.844 kB / 412.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4776, allocations: 7.828 kB / 412.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000919/0.4785, allocations: 0.7171 MB / 413.6 MB, free: 3.953 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4785, allocations: 3.938 kB / 413.6 MB, free: 3.953 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.479, allocations: 96.69 kB / 413.7 MB, free: 3.938 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001419/0.4804, allocations: 450.2 kB / 414.1 MB, free: 3.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.4807, allocations: 205.2 kB / 414.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.298e-06/0.4808, allocations: 0 / 414.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.4808, allocations: 22.94 kB / 414.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4813, allocations: 57.86 kB / 414.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4826, allocations: 0.7836 MB / 415.2 MB, free: 2.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4829, allocations: 0.8443 MB / 416 MB, free: 1.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4831, allocations: 38.25 kB / 416 MB, free: 1.879 MB / 314.7 MB Notification: Performance of SimCode: time 2.065e-06/0.4831, allocations: 0 / 416 MB, free: 1.879 MB / 314.7 MB Notification: Performance of Templates: time 0.01108/0.4942, allocations: 5.496 MB / 421.5 MB, free: 12.4 MB / 330.7 MB