Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002693/0.002698, allocations: 360.8 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.409/4.409, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004152/0.004152, allocations: 236.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.589/0.589, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006813/0.0006817, allocations: 20 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.152, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6466, allocations: 82.24 MB / 0.7604 GB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.6469, allocations: 77.41 kB / 0.7605 GB, free: 3 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01894/0.6659, allocations: 4.444 MB / 0.7648 GB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6659, allocations: 4 kB / 0.7648 GB, free: 15.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.6659, allocations: 0 / 0.7648 GB, free: 15.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007246/0.6667, allocations: 468.2 kB / 0.7653 GB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6667, allocations: 8.031 kB / 0.7653 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.6668, allocations: 7.906 kB / 0.7653 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.6672, allocations: 210 kB / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.6672, allocations: 0 / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.6673, allocations: 7.312 kB / 0.7655 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.6675, allocations: 78.69 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6676, allocations: 0 / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.6676, allocations: 7.328 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.6676, allocations: 0 / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.6677, allocations: 27.91 kB / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.6683, allocations: 308.2 kB / 0.7659 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.6686, allocations: 61.48 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.6687, allocations: 24.59 kB / 0.766 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.6687, allocations: 0 / 0.766 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.669, allocations: 85.61 kB / 0.7661 GB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.669, allocations: 0 / 0.7661 GB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008857/0.6699, allocations: 195.3 kB / 0.7662 GB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.67, allocations: 77.11 kB / 0.7663 GB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.6703, allocations: 155.1 kB / 0.7665 GB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.6703, allocations: 33.64 kB / 0.7665 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.6704, allocations: 87.64 kB / 0.7666 GB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.6705, allocations: 30.08 kB / 0.7666 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.6705, allocations: 3 kB / 0.7666 GB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.6707, allocations: 318.3 kB / 0.7669 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6708, allocations: 38.23 kB / 0.767 GB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.671, allocations: 59.88 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.6712, allocations: 66.02 kB / 0.7671 GB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6712, allocations: 3.953 kB / 0.7671 GB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004623/0.6717, allocations: 174.7 kB / 0.7672 GB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.6717, allocations: 33.7 kB / 0.7673 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6718, allocations: 4.062 kB / 0.7673 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6718, allocations: 0 / 0.7673 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.672, allocations: 24.55 kB / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.672, allocations: 0 / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6721, allocations: 5.438 kB / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.6721, allocations: 4.688 kB / 0.7673 GB, free: 12.66 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001691/0.6723, allocations: 131 kB / 0.7674 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.6724, allocations: 11.86 kB / 0.7674 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.6728, allocations: 128.8 kB / 0.7676 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.6728, allocations: 0 / 0.7676 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6728, allocations: 4 kB / 0.7676 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.6729, allocations: 3.984 kB / 0.7676 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.6736, allocations: 416.1 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6737, allocations: 4 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.6738, allocations: 8 kB / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6738, allocations: 32 / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6738, allocations: 8 kB / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6738, allocations: 0 / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6738, allocations: 288 / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.6743, allocations: 228.1 kB / 0.7682 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6744, allocations: 100.9 kB / 0.7683 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.6744, allocations: 3.25 kB / 0.7683 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6746, allocations: 11.98 kB / 0.7683 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.6746, allocations: 4 kB / 0.7683 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.6747, allocations: 7.984 kB / 0.7683 GB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.6748, allocations: 106 kB / 0.7684 GB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6748, allocations: 0 / 0.7684 GB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.6753, allocations: 54.86 kB / 0.7685 GB, free: 11.48 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001664/0.677, allocations: 0.5393 MB / 0.769 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005067/0.6775, allocations: 158.1 kB / 0.7692 GB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6776, allocations: 0 / 0.7692 GB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.6777, allocations: 38.67 kB / 0.7692 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.6782, allocations: 25.62 kB / 0.7692 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.6789, allocations: 223.7 kB / 0.7694 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.6792, allocations: 0.7004 MB / 0.7701 GB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.6794, allocations: 16.53 kB / 0.7701 GB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.6794, allocations: 19.42 kB / 0.7702 GB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6795, allocations: 4 kB / 0.7702 GB, free: 9.945 MB / 362.7 MB Notification: Performance of Templates: time 0.008064/0.6875, allocations: 2.039 MB / 0.7722 GB, free: 7.926 MB / 362.7 MB