Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002737/0.002736, allocations: 364.2 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.23/4.23, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.003597/0.003597, allocations: 223.8 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.6318/0.6318, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004599, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4757/0.6071, allocations: 82.15 MB / 0.7603 GB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.6075, allocations: 73.84 kB / 0.7604 GB, free: 3.125 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.02476/0.6323, allocations: 4.58 MB / 0.7649 GB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6323, allocations: 0 / 0.7649 GB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.6324, allocations: 0 / 0.7649 GB, free: 15.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008317/0.6332, allocations: 469.1 kB / 0.7653 GB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6333, allocations: 12.83 kB / 0.7653 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.6334, allocations: 7.906 kB / 0.7653 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.6338, allocations: 209.5 kB / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.6339, allocations: 4 kB / 0.7655 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.6339, allocations: 7.312 kB / 0.7655 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.6342, allocations: 51.98 kB / 0.7656 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6342, allocations: 4 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.6343, allocations: 11.94 kB / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6343, allocations: 0 / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.6344, allocations: 26.17 kB / 0.7656 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.6351, allocations: 302.6 kB / 0.7659 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.6355, allocations: 70.59 kB / 0.766 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.6356, allocations: 27.78 kB / 0.766 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.6357, allocations: 4 kB / 0.766 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.6359, allocations: 66.44 kB / 0.7661 GB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.636, allocations: 3.938 kB / 0.7661 GB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001051/0.637, allocations: 184.7 kB / 0.7663 GB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6371, allocations: 55.09 kB / 0.7663 GB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.6375, allocations: 181 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.6375, allocations: 29.7 kB / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.6376, allocations: 102.7 kB / 0.7666 GB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.6377, allocations: 30.95 kB / 0.7666 GB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.6377, allocations: 0 / 0.7666 GB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6379, allocations: 325.7 kB / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.6381, allocations: 40.91 kB / 0.767 GB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.6384, allocations: 59.38 kB / 0.7671 GB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.6386, allocations: 75.12 kB / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6386, allocations: 0 / 0.7671 GB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006433/0.6393, allocations: 181.4 kB / 0.7673 GB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.6394, allocations: 37.2 kB / 0.7673 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6394, allocations: 0 / 0.7673 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6394, allocations: 4 kB / 0.7673 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.6397, allocations: 15.98 kB / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6397, allocations: 0 / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.6398, allocations: 8.031 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.6399, allocations: 8.078 kB / 0.7674 GB, free: 12.7 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 (11): * Single equations (assignments): 10 * 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.0001879/0.6401, allocations: 128.1 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.6401, allocations: 15.86 kB / 0.7675 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/0.6407, allocations: 127.8 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6407, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6407, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6408, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.6417, allocations: 421.5 kB / 0.768 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6417, allocations: 0 / 0.768 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6419, allocations: 15.36 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.6419, allocations: 0 / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.6419, allocations: 4 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6419, allocations: 0 / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6419, allocations: 0 / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.6425, allocations: 216.3 kB / 0.7683 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6426, allocations: 103.5 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.6427, allocations: 8.359 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.6429, allocations: 0 / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.643, allocations: 11.25 kB / 0.7684 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.643, allocations: 7.984 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.6433, allocations: 143.6 kB / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6433, allocations: 0 / 0.7685 GB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007068/0.644, allocations: 43.11 kB / 0.7686 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 (9): * Single equations (assignments): 7 * 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.001878/0.6459, allocations: 432.2 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.6465, allocations: 164.2 kB / 0.7691 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6465, allocations: 7.938 kB / 0.7691 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.6467, allocations: 38.05 kB / 0.7692 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.6474, allocations: 18.75 kB / 0.7692 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.6483, allocations: 253.2 kB / 0.7694 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.6487, allocations: 0.7126 MB / 0.7701 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.6489, allocations: 16.56 kB / 0.7701 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.649, allocations: 15.44 kB / 0.7702 GB, free: 10 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.649, allocations: 0 / 0.7702 GB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.008669/0.6576, allocations: 1.734 MB / 0.7719 GB, free: 8.293 MB / 362.7 MB