Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00294/0.002945, allocations: 363.1 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.287/4.287, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.005312/0.005312, allocations: 227.7 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.5237/0.5237, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000636/0.0006362, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1412, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.6686, allocations: 82.26 MB / 0.7604 GB, free: 3.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6689, allocations: 81.2 kB / 0.7605 GB, free: 3.027 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.02982/0.6988, allocations: 6.787 MB / 0.7671 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6988, allocations: 0 / 0.7671 GB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.6988, allocations: 8 kB / 0.7671 GB, free: 13.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001062/0.6999, allocations: 0.6276 MB / 0.7678 GB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.7, allocations: 8.828 kB / 0.7678 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.7001, allocations: 23.72 kB / 0.7678 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.7007, allocations: 266.2 kB / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.7008, allocations: 11.8 kB / 0.768 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.7009, allocations: 12 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.7012, allocations: 94.98 kB / 0.7681 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.7012, allocations: 7.859 kB / 0.7682 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.7012, allocations: 3.75 kB / 0.7682 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7013, allocations: 0 / 0.7682 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.7015, allocations: 51.52 kB / 0.7682 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.7024, allocations: 494.1 kB / 0.7687 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.7029, allocations: 139.5 kB / 0.7688 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.7031, allocations: 36.52 kB / 0.7688 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.7031, allocations: 11.81 kB / 0.7689 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.7035, allocations: 116.1 kB / 0.769 GB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.505e-06/0.7035, allocations: 4 kB / 0.769 GB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001525/0.705, allocations: 372.2 kB / 0.7693 GB, free: 11.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.7051, allocations: 81.11 kB / 0.7694 GB, free: 10.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.7058, allocations: 347.1 kB / 0.7697 GB, free: 10.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.7058, allocations: 37.5 kB / 0.7698 GB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.706, allocations: 127.4 kB / 0.7699 GB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.706, allocations: 51.22 kB / 0.7699 GB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.7061, allocations: 8 kB / 0.77 GB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.7063, allocations: 342.3 kB / 0.7703 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.7066, allocations: 75.02 kB / 0.7703 GB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.7069, allocations: 106.5 kB / 0.7705 GB, free: 9.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.7073, allocations: 151.6 kB / 0.7706 GB, free: 9.867 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7073, allocations: 4 kB / 0.7706 GB, free: 9.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009239/0.7082, allocations: 340.5 kB / 0.7709 GB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.7083, allocations: 67.27 kB / 0.771 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.7084, allocations: 0 / 0.771 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.7084, allocations: 4 kB / 0.771 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.7087, allocations: 35.92 kB / 0.771 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7087, allocations: 0 / 0.771 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.7089, allocations: 11.5 kB / 0.771 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.709, allocations: 24.17 kB / 0.7711 GB, free: 9.445 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.0002643/0.7093, allocations: 154.7 kB / 0.7712 GB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.7093, allocations: 31.56 kB / 0.7712 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.7101, allocations: 221.5 kB / 0.7714 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.7101, allocations: 0 / 0.7714 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.7101, allocations: 3.984 kB / 0.7715 GB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.7101, allocations: 4 kB / 0.7715 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.7115, allocations: 0.6665 MB / 0.7721 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.7115, allocations: 0 / 0.7721 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.7117, allocations: 23.92 kB / 0.7721 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.7117, allocations: 4 kB / 0.7721 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.7117, allocations: 7.938 kB / 0.7721 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.7118, allocations: 3.984 kB / 0.7721 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7118, allocations: 8.062 kB / 0.7722 GB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.7125, allocations: 382.5 kB / 0.7725 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.7127, allocations: 120.5 kB / 0.7726 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.7128, allocations: 4 kB / 0.7726 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.713, allocations: 19.8 kB / 0.7727 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.7131, allocations: 7.984 kB / 0.7727 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.7131, allocations: 11.88 kB / 0.7727 GB, free: 7.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004435/0.7136, allocations: 255.2 kB / 0.7729 GB, free: 7.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7136, allocations: 0 / 0.7729 GB, free: 7.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006145/0.7142, allocations: 84.61 kB / 0.773 GB, free: 7.605 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.002182/0.7164, allocations: 0.6651 MB / 0.7736 GB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008818/0.7173, allocations: 334.7 kB / 0.774 GB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7174, allocations: 4 kB / 0.774 GB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.7176, allocations: 69.84 kB / 0.774 GB, free: 6.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.7184, allocations: 50.28 kB / 0.7741 GB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.7197, allocations: 499.7 kB / 0.7746 GB, free: 6.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.7202, allocations: 0.7594 MB / 0.7753 GB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.7204, allocations: 30.22 kB / 0.7753 GB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7205, allocations: 26.67 kB / 0.7754 GB, free: 5.449 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7205, allocations: 3.938 kB / 0.7754 GB, free: 5.445 MB / 362.7 MB Notification: Performance of Templates: time 0.01155/0.732, allocations: 3.312 MB / 0.7786 GB, free: 2.164 MB / 362.7 MB