Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004087/0.004094, allocations: 363.3 kB / 15.95 MB, free: 6.207 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.302/4.302, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003807/0.003807, allocations: 231 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.593/0.593, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006838/0.0006842, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1045, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.6188, allocations: 82.26 MB / 0.7604 GB, free: 3.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.6192, allocations: 74.33 kB / 0.7605 GB, free: 3.051 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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0296/0.6488, allocations: 7.112 MB / 0.7674 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6488, allocations: 3.938 kB / 0.7674 GB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.6489, allocations: 4 kB / 0.7674 GB, free: 12.99 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001041/0.6499, allocations: 0.6797 MB / 0.7681 GB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.65, allocations: 8.828 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.6501, allocations: 31.72 kB / 0.7682 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.6507, allocations: 291.6 kB / 0.7684 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.6507, allocations: 7.984 kB / 0.7684 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.6508, allocations: 15.14 kB / 0.7685 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.6511, allocations: 98.73 kB / 0.7685 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.6512, allocations: 4 kB / 0.7685 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.6512, allocations: 3.188 kB / 0.7686 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6512, allocations: 4 kB / 0.7686 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.6515, allocations: 45.58 kB / 0.7686 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.653, allocations: 0.5186 MB / 0.7691 GB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.6537, allocations: 129 kB / 0.7692 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.654, allocations: 45.02 kB / 0.7693 GB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.6541, allocations: 0 / 0.7693 GB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000499/0.6546, allocations: 124.7 kB / 0.7694 GB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.006e-06/0.6546, allocations: 0 / 0.7694 GB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002578/0.6572, allocations: 394.5 kB / 0.7698 GB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.6574, allocations: 81.11 kB / 0.7698 GB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.6588, allocations: 461.6 kB / 0.7703 GB, free: 10.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.659, allocations: 33.52 kB / 0.7703 GB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.6593, allocations: 154.4 kB / 0.7705 GB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6595, allocations: 54.53 kB / 0.7705 GB, free: 9.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.6595, allocations: 7.688 kB / 0.7705 GB, free: 9.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.6598, allocations: 351.9 kB / 0.7709 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.6603, allocations: 71.59 kB / 0.7709 GB, free: 9.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.6609, allocations: 113.6 kB / 0.771 GB, free: 9.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.6614, allocations: 152 kB / 0.7712 GB, free: 9.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.6615, allocations: 0 / 0.7712 GB, free: 9.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00144/0.6629, allocations: 338.3 kB / 0.7715 GB, free: 9.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.6631, allocations: 70.39 kB / 0.7716 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6631, allocations: 0 / 0.7716 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.6632, allocations: 0 / 0.7716 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.6636, allocations: 35.97 kB / 0.7716 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.6637, allocations: 4 kB / 0.7716 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.664, allocations: 15.88 kB / 0.7716 GB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.6641, allocations: 11.25 kB / 0.7716 GB, free: 8.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0004281/0.6645, allocations: 177.6 kB / 0.7718 GB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6647, allocations: 31.8 kB / 0.7718 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6658, allocations: 234.9 kB / 0.7721 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6659, allocations: 0 / 0.7721 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6659, allocations: 8 kB / 0.7721 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.6659, allocations: 0 / 0.7721 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.6681, allocations: 0.7005 MB / 0.7727 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.6681, allocations: 0 / 0.7727 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.6684, allocations: 16 kB / 0.7728 GB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.6684, allocations: 4 kB / 0.7728 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.6685, allocations: 19.48 kB / 0.7728 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.6685, allocations: 7.938 kB / 0.7728 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.6685, allocations: 3.953 kB / 0.7728 GB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.6696, allocations: 385 kB / 0.7732 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.67, allocations: 146.7 kB / 0.7733 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.6701, allocations: 7.75 kB / 0.7733 GB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.6705, allocations: 4 kB / 0.7733 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6707, allocations: 22.94 kB / 0.7733 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.6707, allocations: 7.984 kB / 0.7733 GB, free: 7.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009227/0.6717, allocations: 336.6 kB / 0.7737 GB, free: 7.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6717, allocations: 0 / 0.7737 GB, free: 7.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001149/0.6729, allocations: 97.36 kB / 0.7738 GB, free: 6.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00341/0.6763, allocations: 0.6669 MB / 0.7744 GB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.6778, allocations: 332.9 kB / 0.7747 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.6779, allocations: 0 / 0.7747 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.6783, allocations: 72.59 kB / 0.7748 GB, free: 6.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6795, allocations: 50.83 kB / 0.7748 GB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.6819, allocations: 0.6039 MB / 0.7754 GB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.6826, allocations: 0.7783 MB / 0.7762 GB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.6829, allocations: 45.34 kB / 0.7762 GB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.6831, allocations: 31.11 kB / 0.7763 GB, free: 4.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6831, allocations: 0 / 0.7763 GB, free: 4.695 MB / 362.7 MB Notification: Performance of Templates: time 0.01829/0.7014, allocations: 3.551 MB / 0.7797 GB, free: 1.172 MB / 362.7 MB