Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003841/0.003847, allocations: 361 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.132/4.132, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003725/0.003724, allocations: 236.4 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.5502/0.5502, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005027, allocations: 19.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.112, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5308/0.6428, allocations: 82.15 MB / 0.7603 GB, free: 3.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.6432, allocations: 76.78 kB / 0.7604 GB, free: 3.145 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.02711/0.6703, allocations: 4.66 MB / 0.7649 GB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.6703, allocations: 0 / 0.7649 GB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.6704, allocations: 0 / 0.7649 GB, free: 15.21 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.0009866/0.6714, allocations: 481.4 kB / 0.7654 GB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.857e-05/0.6715, allocations: 12.83 kB / 0.7654 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.6716, allocations: 7.906 kB / 0.7654 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.6722, allocations: 214.2 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.6722, allocations: 0 / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.6723, allocations: 4 kB / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.6726, allocations: 61.09 kB / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.6726, allocations: 0 / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.6727, allocations: 3.953 kB / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6727, allocations: 0 / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.6729, allocations: 27.61 kB / 0.7657 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.6736, allocations: 319.6 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.674, allocations: 62.3 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6742, allocations: 20.72 kB / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.6742, allocations: 0 / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.6746, allocations: 79.44 kB / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.697e-06/0.6746, allocations: 0 / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001199/0.6758, allocations: 183.9 kB / 0.7664 GB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.6759, allocations: 63.27 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.6764, allocations: 197 kB / 0.7666 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.6764, allocations: 25.7 kB / 0.7666 GB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.6765, allocations: 103.8 kB / 0.7667 GB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.6766, allocations: 23.64 kB / 0.7667 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.6767, allocations: 0 / 0.7667 GB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6768, allocations: 326.6 kB / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.6771, allocations: 38.92 kB / 0.7671 GB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.6773, allocations: 57.83 kB / 0.7671 GB, free: 12.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.6776, allocations: 72.62 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6777, allocations: 0 / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000738/0.6784, allocations: 191.1 kB / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/0.6785, allocations: 37.73 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.6786, allocations: 3.984 kB / 0.7674 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.6786, allocations: 0 / 0.7674 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.6788, allocations: 19.98 kB / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6789, allocations: 0 / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.6791, allocations: 7.438 kB / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.6791, allocations: 4 kB / 0.7675 GB, free: 12.61 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.0002561/0.6794, allocations: 133.7 kB / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.6795, allocations: 15.86 kB / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.6802, allocations: 122.2 kB / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.6802, allocations: 0 / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.6802, allocations: 0 / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.6803, allocations: 4 kB / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.6814, allocations: 423.8 kB / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6814, allocations: 4 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.6815, allocations: 11.98 kB / 0.7682 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.6816, allocations: 4.031 kB / 0.7682 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.6816, allocations: 4 kB / 0.7682 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.6816, allocations: 0 / 0.7682 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6817, allocations: 0 / 0.7682 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.6822, allocations: 216.3 kB / 0.7684 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.6824, allocations: 104.5 kB / 0.7685 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.6825, allocations: 8 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.6827, allocations: 3.688 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.6828, allocations: 7.984 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.6829, allocations: 4 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.6832, allocations: 145.5 kB / 0.7686 GB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6832, allocations: 0 / 0.7686 GB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006813/0.6839, allocations: 42.88 kB / 0.7687 GB, free: 11.39 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.002139/0.6861, allocations: 450 kB / 0.7691 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.6869, allocations: 166.8 kB / 0.7693 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6869, allocations: 0 / 0.7693 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.6871, allocations: 31.05 kB / 0.7693 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.6879, allocations: 26.34 kB / 0.7693 GB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6889, allocations: 262.2 kB / 0.7696 GB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.6894, allocations: 0.7095 MB / 0.7703 GB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.6896, allocations: 16.58 kB / 0.7703 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.6897, allocations: 15.44 kB / 0.7703 GB, free: 9.906 MB / 362.7 MB Notification: Performance of SimCode: time 1.552e-06/0.6898, allocations: 0 / 0.7703 GB, free: 9.906 MB / 362.7 MB Notification: Performance of Templates: time 0.007681/0.6975, allocations: 1.764 MB / 0.772 GB, free: 8.172 MB / 362.7 MB