Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002744/0.002749, allocations: 362.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.289/4.289, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003531/0.003531, allocations: 233.2 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.5387/0.5387, allocations: 80.02 MB / 0.5627 GB, free: 19.87 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004752, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/0.6468, allocations: 82.01 MB / 0.7602 GB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.6473, allocations: 87.7 kB / 0.7603 GB, free: 3.262 MB / 346.7 MB [/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$startTime.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$startTime.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$startTime.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$startTime.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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03112/0.6784, allocations: 6.021 MB / 0.7661 GB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6785, allocations: 0 / 0.7661 GB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.618e-05/0.6785, allocations: 4 kB / 0.7661 GB, free: 14.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001842/0.6804, allocations: 0.835 MB / 0.767 GB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6805, allocations: 8.031 kB / 0.767 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.6807, allocations: 47.44 kB / 0.767 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.6823, allocations: 471.5 kB / 0.7675 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.6823, allocations: 7.984 kB / 0.7675 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.6824, allocations: 11.5 kB / 0.7675 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.6828, allocations: 85.89 kB / 0.7676 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6828, allocations: 7.891 kB / 0.7676 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.6828, allocations: 7.875 kB / 0.7676 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6829, allocations: 0 / 0.7676 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.6831, allocations: 34.78 kB / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.684, allocations: 410.9 kB / 0.768 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.6846, allocations: 118.3 kB / 0.7681 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.6848, allocations: 36.83 kB / 0.7681 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.6848, allocations: 0 / 0.7681 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.6853, allocations: 124.9 kB / 0.7683 GB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 5.03e-06/0.6853, allocations: 0 / 0.7683 GB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001098/0.6864, allocations: 220.7 kB / 0.7685 GB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.6865, allocations: 77.11 kB / 0.7685 GB, free: 11.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.6895, allocations: 0.9999 MB / 0.7695 GB, free: 10.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.6896, allocations: 33.7 kB / 0.7696 GB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.69, allocations: 247 kB / 0.7698 GB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.6901, allocations: 18.97 kB / 0.7698 GB, free: 10.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.6901, allocations: 7.875 kB / 0.7698 GB, free: 10.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003225/0.6904, allocations: 362.9 kB / 0.7702 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.6908, allocations: 62.91 kB / 0.7702 GB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.6912, allocations: 93.23 kB / 0.7703 GB, free: 10.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.6916, allocations: 141.2 kB / 0.7704 GB, free: 10.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6916, allocations: 0 / 0.7704 GB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001151/0.6928, allocations: 323.8 kB / 0.7708 GB, free: 9.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.6929, allocations: 67.39 kB / 0.7708 GB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6929, allocations: 192 / 0.7708 GB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.693, allocations: 7.953 kB / 0.7708 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.6933, allocations: 31.17 kB / 0.7709 GB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.6933, allocations: 4 kB / 0.7709 GB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.6936, allocations: 23.78 kB / 0.7709 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.6937, allocations: 15.56 kB / 0.7709 GB, free: 9.621 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.000508/0.6942, allocations: 223.6 kB / 0.7711 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.6944, allocations: 55.33 kB / 0.7712 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.6953, allocations: 200.8 kB / 0.7714 GB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6953, allocations: 8 kB / 0.7714 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.6953, allocations: 3.953 kB / 0.7714 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6953, allocations: 0 / 0.7714 GB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.6961, allocations: 385.5 kB / 0.7717 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6961, allocations: 0 / 0.7717 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.6962, allocations: 8 kB / 0.7717 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.6963, allocations: 4 kB / 0.7717 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.6963, allocations: 7.484 kB / 0.7718 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6963, allocations: 4 kB / 0.7718 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6963, allocations: 0 / 0.7718 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.6971, allocations: 228.1 kB / 0.772 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/0.6977, allocations: 205.3 kB / 0.7722 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6979, allocations: 7.25 kB / 0.7722 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.6981, allocations: 7.984 kB / 0.7722 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.6982, allocations: 7.375 kB / 0.7722 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.6983, allocations: 11.94 kB / 0.7722 GB, free: 8.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002059/0.7003, allocations: 0.741 MB / 0.7729 GB, free: 7.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.7004, allocations: 0 / 0.7729 GB, free: 7.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009073/0.7013, allocations: 107.9 kB / 0.773 GB, free: 7.703 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002557/0.7039, allocations: 0.5825 MB / 0.7736 GB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.7049, allocations: 295 kB / 0.7739 GB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7049, allocations: 4 kB / 0.7739 GB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.7052, allocations: 42.05 kB / 0.7739 GB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.7062, allocations: 58.91 kB / 0.774 GB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.7092, allocations: 0.9964 MB / 0.775 GB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/0.7101, allocations: 0.8557 MB / 0.7758 GB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004042/0.7105, allocations: 84.89 kB / 0.7759 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.7108, allocations: 38.8 kB / 0.7759 GB, free: 5.082 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7108, allocations: 0 / 0.7759 GB, free: 5.082 MB / 362.7 MB Notification: Performance of Templates: time 0.01916/0.73, allocations: 4.964 MB / 0.7808 GB, free: 156 kB / 362.7 MB