Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002759/0.002759, allocations: 359.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.292/4.292, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.00356/0.00356, allocations: 226.5 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.5427/0.5427, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004558, allocations: 19.98 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09791, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5609, allocations: 82.14 MB / 0.7603 GB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5613, allocations: 78.14 kB / 0.7604 GB, free: 3.117 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.01961/0.5809, allocations: 4.592 MB / 0.7649 GB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5809, allocations: 4 kB / 0.7649 GB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.581, allocations: 0 / 0.7649 GB, free: 15.24 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.0007425/0.5817, allocations: 468.2 kB / 0.7653 GB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5818, allocations: 8.828 kB / 0.7653 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.5819, allocations: 11.91 kB / 0.7653 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.5823, allocations: 209.2 kB / 0.7655 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.5823, allocations: 4 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.5824, allocations: 4 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.5826, allocations: 58.86 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5826, allocations: 0 / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.5827, allocations: 7.938 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.5827, allocations: 0 / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.5828, allocations: 25.42 kB / 0.7656 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.5834, allocations: 306.9 kB / 0.7659 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.5837, allocations: 72.23 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.5838, allocations: 24.28 kB / 0.766 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.5839, allocations: 0 / 0.766 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.5841, allocations: 71.44 kB / 0.7661 GB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.5841, allocations: 0 / 0.7661 GB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008592/0.585, allocations: 190.9 kB / 0.7663 GB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.5851, allocations: 55.41 kB / 0.7663 GB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.5853, allocations: 177.1 kB / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5854, allocations: 28.95 kB / 0.7665 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.5855, allocations: 103.2 kB / 0.7666 GB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.5855, allocations: 27.28 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/0.5856, allocations: 3.062 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5857, allocations: 322.5 kB / 0.767 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5859, allocations: 42.16 kB / 0.767 GB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.586, allocations: 52.83 kB / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.5862, allocations: 74.56 kB / 0.7671 GB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5863, allocations: 0 / 0.7671 GB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004839/0.5867, allocations: 187.8 kB / 0.7673 GB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/0.5868, allocations: 36.77 kB / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5868, allocations: 0 / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5869, allocations: 0 / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.587, allocations: 24.02 kB / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5871, allocations: 0 / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5872, allocations: 4 kB / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.5872, allocations: 10.98 kB / 0.7674 GB, free: 12.68 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.0001658/0.5874, allocations: 129.3 kB / 0.7675 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.5874, allocations: 11.86 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.5879, allocations: 125 kB / 0.7676 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5879, allocations: 4 kB / 0.7676 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5879, allocations: 4 kB / 0.7676 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5879, allocations: 0 / 0.7676 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.5887, allocations: 419.7 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5887, allocations: 0 / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.5888, allocations: 15.98 kB / 0.7681 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.5888, allocations: 192 / 0.7681 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5888, allocations: 0 / 0.7681 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.5888, allocations: 7.938 kB / 0.7681 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5889, allocations: 4.031 kB / 0.7681 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.5892, allocations: 210.2 kB / 0.7683 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5894, allocations: 100.2 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.5894, allocations: 4.359 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5896, allocations: 7.5 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.5896, allocations: 4 kB / 0.7684 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.5896, allocations: 15.98 kB / 0.7684 GB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.5898, allocations: 138.3 kB / 0.7685 GB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5898, allocations: 0 / 0.7685 GB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004328/0.5903, allocations: 38.98 kB / 0.7686 GB, free: 11.46 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.001413/0.5917, allocations: 445 kB / 0.769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.5922, allocations: 164.6 kB / 0.7691 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5922, allocations: 8 kB / 0.7691 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.5924, allocations: 31.42 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.0004658/0.5929, allocations: 23.88 kB / 0.7692 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.5936, allocations: 253.4 kB / 0.7694 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.594, allocations: 0.7056 MB / 0.7701 GB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.5941, allocations: 16.23 kB / 0.7701 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.5942, allocations: 15.44 kB / 0.7702 GB, free: 10 MB / 362.7 MB Notification: Performance of SimCode: time 2.295e-06/0.5942, allocations: 0 / 0.7702 GB, free: 10 MB / 362.7 MB Notification: Performance of Templates: time 0.006967/0.6012, allocations: 1.729 MB / 0.7718 GB, free: 8.293 MB / 362.7 MB