Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002932/0.002932, allocations: 360.1 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.278/4.278, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003589/0.003589, allocations: 239.6 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.6163/0.6163, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006377/0.0006383, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1313, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5322/0.6635, allocations: 82.19 MB / 0.7604 GB, free: 3.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.6639, allocations: 81.77 kB / 0.7604 GB, free: 3.109 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.02097/0.6849, allocations: 5.167 MB / 0.7655 GB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6849, allocations: 0 / 0.7655 GB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.6849, allocations: 0 / 0.7655 GB, free: 14.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007098/0.6856, allocations: 0.4888 MB / 0.766 GB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6857, allocations: 8.031 kB / 0.766 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.6858, allocations: 19.8 kB / 0.766 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.6862, allocations: 217.8 kB / 0.7662 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6863, allocations: 10.81 kB / 0.7662 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.6863, allocations: 11.94 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.6866, allocations: 75.28 kB / 0.7663 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.6866, allocations: 3.953 kB / 0.7663 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6866, allocations: 0 / 0.7663 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6866, allocations: 0 / 0.7663 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.6868, allocations: 38.03 kB / 0.7663 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.6875, allocations: 358.2 kB / 0.7667 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.6878, allocations: 80.92 kB / 0.7667 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.6879, allocations: 28.22 kB / 0.7668 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.688, allocations: 0 / 0.7668 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.6882, allocations: 82.3 kB / 0.7668 GB, free: 13.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.255e-06/0.6882, allocations: 0 / 0.7668 GB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009772/0.6892, allocations: 259.1 kB / 0.7671 GB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6893, allocations: 51.41 kB / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.6896, allocations: 242.3 kB / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.6897, allocations: 32.95 kB / 0.7674 GB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.6898, allocations: 106.2 kB / 0.7675 GB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.6898, allocations: 38.77 kB / 0.7675 GB, free: 12.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.6899, allocations: 4 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.69, allocations: 329.8 kB / 0.7679 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.6902, allocations: 49.97 kB / 0.7679 GB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.6904, allocations: 66.19 kB / 0.768 GB, free: 12.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.6906, allocations: 96.66 kB / 0.7681 GB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6907, allocations: 0 / 0.7681 GB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005318/0.6912, allocations: 218.2 kB / 0.7683 GB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.6913, allocations: 45.34 kB / 0.7683 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6913, allocations: 3.984 kB / 0.7683 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6913, allocations: 0 / 0.7683 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.6915, allocations: 23.98 kB / 0.7683 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6915, allocations: 3.938 kB / 0.7683 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.6916, allocations: 8 kB / 0.7684 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.6917, allocations: 11.5 kB / 0.7684 GB, free: 11.84 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 (14): * Single equations (assignments): 13 * 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.00016/0.6919, allocations: 138 kB / 0.7685 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.6919, allocations: 19.81 kB / 0.7685 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.6924, allocations: 170.7 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.6924, allocations: 4 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6924, allocations: 0 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6925, allocations: 0 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008761/0.6933, allocations: 491.8 kB / 0.7692 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6934, allocations: 7.969 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6935, allocations: 19.98 kB / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6935, allocations: 0 / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.6935, allocations: 4 kB / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6936, allocations: 0 / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6936, allocations: 0 / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.6941, allocations: 255.8 kB / 0.7694 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.6942, allocations: 114.2 kB / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.6943, allocations: 7.125 kB / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6944, allocations: 1.25 kB / 0.7695 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.6945, allocations: 13.17 kB / 0.7696 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.6945, allocations: 4 kB / 0.7696 GB, free: 10.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003002/0.6948, allocations: 182.9 kB / 0.7697 GB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6948, allocations: 3.938 kB / 0.7697 GB, free: 10.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.6953, allocations: 48.38 kB / 0.7698 GB, free: 10.47 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 (13): * Single equations (assignments): 11 * 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.00134/0.6966, allocations: 445.2 kB / 0.7702 GB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.6972, allocations: 201.6 kB / 0.7704 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6972, allocations: 0 / 0.7704 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.6974, allocations: 52.05 kB / 0.7705 GB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.6979, allocations: 25.84 kB / 0.7705 GB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.6988, allocations: 346.1 kB / 0.7708 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.6992, allocations: 0.7302 MB / 0.7715 GB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.6993, allocations: 24.81 kB / 0.7715 GB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.6994, allocations: 20.42 kB / 0.7716 GB, free: 8.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6994, allocations: 0 / 0.7716 GB, free: 8.836 MB / 362.7 MB Notification: Performance of Templates: time 0.007652/0.7071, allocations: 2.068 MB / 0.7736 GB, free: 6.793 MB / 362.7 MB