Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004223/0.004232, allocations: 360.2 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.245/4.245, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003731/0.00373, allocations: 228.5 kB / 451 MB, free: 145.1 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.5586/0.5586, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004678, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.5976, allocations: 82.11 MB / 0.7603 GB, free: 3.219 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5979, allocations: 84.89 kB / 0.7604 GB, free: 3.172 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.01899/0.6169, allocations: 4.494 MB / 0.7647 GB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.617, allocations: 0 / 0.7647 GB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.617, allocations: 0 / 0.7647 GB, free: 15.38 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.0007862/0.6178, allocations: 470 kB / 0.7652 GB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.6179, allocations: 12.83 kB / 0.7652 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.618, allocations: 7.906 kB / 0.7652 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.6184, allocations: 209.9 kB / 0.7654 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.6184, allocations: 4 kB / 0.7654 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.6185, allocations: 11.62 kB / 0.7654 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.6187, allocations: 56.78 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6187, allocations: 0 / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.6187, allocations: 7.953 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.6188, allocations: 3.938 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.6189, allocations: 27.61 kB / 0.7655 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.6194, allocations: 303.5 kB / 0.7658 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.6197, allocations: 64.61 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.6198, allocations: 24.16 kB / 0.7659 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.6199, allocations: 11.98 kB / 0.7659 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.6201, allocations: 70.44 kB / 0.766 GB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.6201, allocations: 0 / 0.766 GB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008334/0.6209, allocations: 187.9 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.621, allocations: 51.41 kB / 0.7662 GB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.6213, allocations: 177.9 kB / 0.7664 GB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.6213, allocations: 33.7 kB / 0.7664 GB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.6214, allocations: 103.9 kB / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.6215, allocations: 27.14 kB / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.6215, allocations: 0 / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6217, allocations: 321 kB / 0.7668 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.6218, allocations: 41.09 kB / 0.7669 GB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.622, allocations: 58.61 kB / 0.7669 GB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.6222, allocations: 80.75 kB / 0.767 GB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6222, allocations: 0 / 0.767 GB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004929/0.6227, allocations: 181.3 kB / 0.7672 GB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/0.6228, allocations: 36.95 kB / 0.7672 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6228, allocations: 0 / 0.7672 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.6229, allocations: 4 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.623, allocations: 15.98 kB / 0.7672 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.623, allocations: 0 / 0.7672 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.6232, allocations: 4 kB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.6232, allocations: 12.03 kB / 0.7672 GB, free: 12.81 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.0001904/0.6234, allocations: 124.4 kB / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.6235, allocations: 15.86 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.6239, allocations: 124.9 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6239, allocations: 0 / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.624, allocations: 0 / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.624, allocations: 3.984 kB / 0.7675 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.6247, allocations: 421.6 kB / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6247, allocations: 192 / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.6248, allocations: 15.92 kB / 0.7679 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6249, allocations: 3.938 kB / 0.7679 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.6249, allocations: 7.25 kB / 0.7679 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.6249, allocations: 0 / 0.7679 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6249, allocations: 0 / 0.7679 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.6253, allocations: 214.5 kB / 0.7681 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6254, allocations: 96.91 kB / 0.7682 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.6255, allocations: 11.86 kB / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.6256, allocations: 0 / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.6257, allocations: 11.98 kB / 0.7683 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.6257, allocations: 7.75 kB / 0.7683 GB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.6259, allocations: 136.1 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6259, allocations: 0 / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.6264, allocations: 46.92 kB / 0.7684 GB, free: 11.6 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.001369/0.6277, allocations: 432.3 kB / 0.7688 GB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.6283, allocations: 170.4 kB / 0.769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6283, allocations: 0 / 0.769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6285, allocations: 39.23 kB / 0.769 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.629, allocations: 23 kB / 0.7691 GB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.6297, allocations: 242.8 kB / 0.7693 GB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.6301, allocations: 0.7095 MB / 0.77 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.403e-05/0.6302, allocations: 20.56 kB / 0.77 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.6303, allocations: 15.44 kB / 0.77 GB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 3.827e-06/0.6303, allocations: 0 / 0.77 GB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.006871/0.6372, allocations: 1.735 MB / 0.7717 GB, free: 8.418 MB / 362.7 MB