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.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 1.8/1.8, allocations: 209.3 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.000443, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3092, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4553, allocations: 75.73 MB / 407 MB, free: 2.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4556, allocations: 67.97 kB / 407.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02063/0.4763, allocations: 5.427 MB / 412.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.283e-06/0.4763, allocations: 0 / 412.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.4764, allocations: 8 kB / 412.5 MB, free: 13.18 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.001086/0.4775, allocations: 0.7461 MB / 413.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4775, allocations: 12.03 kB / 413.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.4776, allocations: 43.44 kB / 413.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.4785, allocations: 451.2 kB / 413.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4785, allocations: 4 kB / 413.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.4786, allocations: 4 kB / 413.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4787, allocations: 71.36 kB / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4787, allocations: 3.938 kB / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4788, allocations: 3.938 kB / 413.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-06/0.4788, allocations: 4 kB / 413.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.24e-05/0.4789, allocations: 19.98 kB / 413.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.4794, allocations: 378.3 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4796, allocations: 61.14 kB / 414.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.4796, allocations: 0 / 414.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.4798, allocations: 101 kB / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.156e-06/0.4798, allocations: 0 / 414.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004196/0.4802, allocations: 141.1 kB / 414.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.4803, allocations: 77.11 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.482, allocations: 0.8923 MB / 415.5 MB, free: 9.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4821, allocations: 33.64 kB / 415.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.4823, allocations: 246.6 kB / 415.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.4824, allocations: 23.73 kB / 415.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.4824, allocations: 4 kB / 415.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4826, allocations: 326.8 kB / 416.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4827, allocations: 31.98 kB / 416.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4828, allocations: 53.69 kB / 416.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.483, allocations: 99.38 kB / 416.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.132e-06/0.483, allocations: 4 kB / 416.3 MB, free: 9.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003966/0.4834, allocations: 185 kB / 416.5 MB, free: 8.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.436e-05/0.4835, allocations: 67.39 kB / 416.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.639e-06/0.4835, allocations: 11.94 kB / 416.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4836, allocations: 0 / 416.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4837, allocations: 11.98 kB / 416.6 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.657e-06/0.4837, allocations: 0 / 416.6 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4839, allocations: 11.91 kB / 416.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4839, allocations: 8 kB / 416.6 MB, free: 8.797 MB / 346.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 () * Number of clocked 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 0.0002989/0.4842, allocations: 222.6 kB / 416.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4843, allocations: 51.38 kB / 416.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.4847, allocations: 153.1 kB / 417 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-06/0.4847, allocations: 0 / 417 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4847, allocations: 4 kB / 417 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.492e-06/0.4848, allocations: 3.938 kB / 417 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.4853, allocations: 365.2 kB / 417.4 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4853, allocations: 4.469 kB / 417.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.4853, allocations: 4.094 kB / 417.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.738e-06/0.4854, allocations: 7.938 kB / 417.4 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4854, allocations: 4 kB / 417.4 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.387e-06/0.4854, allocations: 0 / 417.4 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-06/0.4854, allocations: 4 kB / 417.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.4858, allocations: 183 kB / 417.6 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.4861, allocations: 180.5 kB / 417.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.4862, allocations: 8 kB / 417.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4863, allocations: 11.92 kB / 417.8 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4864, allocations: 8 kB / 417.8 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4864, allocations: 4 kB / 417.8 MB, free: 7.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.4876, allocations: 0.7057 MB / 418.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4876, allocations: 0 / 418.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004796/0.4881, allocations: 99.92 kB / 418.6 MB, free: 6.688 MB / 346.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) * Number of clocked states: 0 () * 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.001579/0.4897, allocations: 493.8 kB / 419.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.49, allocations: 198.8 kB / 419.3 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.47e-06/0.4901, allocations: 0 / 419.3 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.4901, allocations: 23.98 kB / 419.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.4905, allocations: 50.36 kB / 419.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4923, allocations: 0.9655 MB / 420.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.4929, allocations: 0.8351 MB / 421.1 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4931, allocations: 35.44 kB / 421.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.48e-06/0.4931, allocations: 0 / 421.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of Templates: time 0.01101/0.5041, allocations: 5.384 MB / 426.6 MB, free: 14.71 MB / 362.7 MB