Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004/0.004, allocations: 351 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.989/3.989, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003525/0.003525, allocations: 214.1 kB / 397.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5143/0.5143, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004952, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09451, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.5511, allocations: 75.73 MB / 0.6807 GB, free: 37.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5514, allocations: 78.92 kB / 0.6808 GB, free: 36.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02124/0.5727, allocations: 5.488 MB / 0.6861 GB, free: 31.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5727, allocations: 0 / 0.6861 GB, free: 31.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.653e-05/0.5728, allocations: 4 kB / 0.6861 GB, free: 31.62 MB / 362.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.001165/0.5739, allocations: 0.7572 MB / 0.6869 GB, free: 30.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.574, allocations: 15.31 kB / 0.6869 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.5742, allocations: 43.44 kB / 0.6869 GB, free: 30.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.5751, allocations: 467.1 kB / 0.6874 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5752, allocations: 0 / 0.6874 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.5752, allocations: 8 kB / 0.6874 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5754, allocations: 59.39 kB / 0.6874 GB, free: 30.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5754, allocations: 7.375 kB / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5755, allocations: 4 kB / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5755, allocations: 0 / 0.6874 GB, free: 30.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.5756, allocations: 19.98 kB / 0.6875 GB, free: 30.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.5761, allocations: 382.3 kB / 0.6878 GB, free: 29.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.5763, allocations: 59.27 kB / 0.6879 GB, free: 29.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.5763, allocations: 29.14 kB / 0.6879 GB, free: 29.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5764, allocations: 4 kB / 0.6879 GB, free: 29.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.5766, allocations: 85.09 kB / 0.688 GB, free: 29.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.5766, allocations: 3.938 kB / 0.688 GB, free: 29.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005056/0.5771, allocations: 147.9 kB / 0.6881 GB, free: 29.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.5772, allocations: 85.05 kB / 0.6882 GB, free: 29.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.5791, allocations: 0.983 MB / 0.6892 GB, free: 28.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.5792, allocations: 29.7 kB / 0.6892 GB, free: 28.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5794, allocations: 228.1 kB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.5794, allocations: 27.72 kB / 0.6895 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.5795, allocations: 0 / 0.6895 GB, free: 27.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5796, allocations: 369.5 kB / 0.6898 GB, free: 27.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.5797, allocations: 35.97 kB / 0.6898 GB, free: 27.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.5798, allocations: 53.14 kB / 0.6899 GB, free: 27.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.58, allocations: 99.39 kB / 0.69 GB, free: 27.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.58, allocations: 2.094 kB / 0.69 GB, free: 27.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005174/0.5805, allocations: 236.4 kB / 0.6902 GB, free: 27.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.5806, allocations: 67.39 kB / 0.6903 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5806, allocations: 0 / 0.6903 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5807, allocations: 3.25 kB / 0.6903 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5808, allocations: 8 kB / 0.6903 GB, free: 27.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5808, allocations: 9.125 kB / 0.6903 GB, free: 27.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.581, allocations: 15.89 kB / 0.6903 GB, free: 27.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.5811, allocations: 8.875 kB / 0.6903 GB, free: 27.04 MB / 362.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.0003344/0.5814, allocations: 229.8 kB / 0.6905 GB, free: 26.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.5815, allocations: 51.42 kB / 0.6906 GB, free: 26.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.5819, allocations: 149.2 kB / 0.6907 GB, free: 26.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.582, allocations: 0 / 0.6907 GB, free: 26.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.582, allocations: 4 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.582, allocations: 3.406 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.5824, allocations: 369.3 kB / 0.6911 GB, free: 26.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5824, allocations: 0 / 0.6911 GB, free: 26.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.5825, allocations: 8 kB / 0.6911 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.5825, allocations: 0 / 0.6911 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.5825, allocations: 8 kB / 0.6911 GB, free: 26.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5825, allocations: 3.984 kB / 0.6911 GB, free: 26.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5826, allocations: 3.281 kB / 0.6911 GB, free: 26.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.5829, allocations: 176.6 kB / 0.6913 GB, free: 25.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.5832, allocations: 180.5 kB / 0.6915 GB, free: 25.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.5833, allocations: 11.64 kB / 0.6915 GB, free: 25.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.5835, allocations: 8 kB / 0.6915 GB, free: 25.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.5836, allocations: 7.984 kB / 0.6915 GB, free: 25.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.5836, allocations: 4.625 kB / 0.6915 GB, free: 25.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001245/0.5848, allocations: 0.7279 MB / 0.6922 GB, free: 25.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5849, allocations: 0 / 0.6922 GB, free: 25.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.5854, allocations: 95.92 kB / 0.6923 GB, free: 24.94 MB / 362.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.001409/0.5869, allocations: 473.2 kB / 0.6927 GB, free: 24.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.5873, allocations: 202.7 kB / 0.6929 GB, free: 24.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5874, allocations: 0.5938 kB / 0.6929 GB, free: 24.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.5875, allocations: 27.94 kB / 0.693 GB, free: 24.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.5882, allocations: 54.05 kB / 0.693 GB, free: 24.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5901, allocations: 0.9421 MB / 0.6939 GB, free: 23.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.5906, allocations: 0.8449 MB / 0.6948 GB, free: 22.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002873/0.5909, allocations: 86.09 kB / 0.6948 GB, free: 22.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.591, allocations: 35.44 kB / 0.6949 GB, free: 22.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/0.591, allocations: 0 / 0.6949 GB, free: 22.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01378/0.6048, allocations: 4.571 MB / 0.6993 GB, free: 18.1 MB / 362.7 MB