Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002832/0.002837, allocations: 361.5 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.217/4.217, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.005183/0.005183, allocations: 231.2 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.6289/0.6289, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005127, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1135, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5433/0.6568, allocations: 82.14 MB / 0.7603 GB, free: 3.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.6572, allocations: 78.78 kB / 0.7604 GB, free: 3.078 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.01995/0.6771, allocations: 4.697 MB / 0.765 GB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6772, allocations: 4 kB / 0.765 GB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.6772, allocations: 4 kB / 0.765 GB, free: 15.1 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.0007583/0.678, allocations: 488.9 kB / 0.7654 GB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6781, allocations: 8.828 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.6781, allocations: 11.91 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.6785, allocations: 217.8 kB / 0.7657 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.6786, allocations: 0 / 0.7657 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.6786, allocations: 8 kB / 0.7657 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.6789, allocations: 64.09 kB / 0.7657 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6789, allocations: 3.938 kB / 0.7657 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.6789, allocations: 3.953 kB / 0.7657 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6789, allocations: 0 / 0.7657 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.6791, allocations: 27.42 kB / 0.7658 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.6797, allocations: 316.2 kB / 0.7661 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.6799, allocations: 64.55 kB / 0.7661 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.6801, allocations: 24.34 kB / 0.7662 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.6801, allocations: 0 / 0.7662 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.6803, allocations: 74.19 kB / 0.7662 GB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.6803, allocations: 0 / 0.7662 GB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008335/0.6812, allocations: 194.1 kB / 0.7664 GB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.6812, allocations: 59.39 kB / 0.7665 GB, free: 13.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.6816, allocations: 199.9 kB / 0.7667 GB, free: 13.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.6816, allocations: 29.7 kB / 0.7667 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.6817, allocations: 101.5 kB / 0.7668 GB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.6817, allocations: 26.83 kB / 0.7668 GB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.6818, allocations: 0 / 0.7668 GB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6819, allocations: 325.9 kB / 0.7671 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6821, allocations: 37.3 kB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.6823, allocations: 62.69 kB / 0.7672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.6825, allocations: 75.2 kB / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6825, allocations: 0 / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005065/0.683, allocations: 186.8 kB / 0.7675 GB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.6831, allocations: 37.69 kB / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6831, allocations: 0 / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6831, allocations: 0 / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6833, allocations: 16.03 kB / 0.7675 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6833, allocations: 7.938 kB / 0.7675 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.6834, allocations: 11.73 kB / 0.7675 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.6835, allocations: 4 kB / 0.7675 GB, free: 12.47 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.0001767/0.6837, allocations: 125.3 kB / 0.7677 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.6837, allocations: 23.75 kB / 0.7677 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.6841, allocations: 120.2 kB / 0.7678 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6842, allocations: 7.938 kB / 0.7678 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6842, allocations: 4 kB / 0.7678 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6842, allocations: 0 / 0.7678 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.685, allocations: 418.9 kB / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.685, allocations: 0 / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.6851, allocations: 11.98 kB / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.6852, allocations: 4.188 kB / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.6852, allocations: 0 / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6852, allocations: 4.312 kB / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6852, allocations: 8.031 kB / 0.7682 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.6856, allocations: 217.1 kB / 0.7684 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.6858, allocations: 108.3 kB / 0.7685 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.6858, allocations: 4 kB / 0.7686 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.686, allocations: 0 / 0.7686 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.686, allocations: 15.8 kB / 0.7686 GB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.6861, allocations: 7.938 kB / 0.7686 GB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.6863, allocations: 152 kB / 0.7687 GB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6863, allocations: 0 / 0.7687 GB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.6867, allocations: 43.48 kB / 0.7688 GB, free: 11.24 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.001429/0.6882, allocations: 431.6 kB / 0.7692 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.6888, allocations: 169.5 kB / 0.7693 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6888, allocations: 0 / 0.7693 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.689, allocations: 35.23 kB / 0.7694 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.6895, allocations: 35 kB / 0.7694 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.6903, allocations: 268.4 kB / 0.7697 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.6907, allocations: 0.711 MB / 0.7704 GB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.6908, allocations: 17.08 kB / 0.7704 GB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.6909, allocations: 16.61 kB / 0.7704 GB, free: 9.738 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.691, allocations: 8 kB / 0.7704 GB, free: 9.73 MB / 362.7 MB Notification: Performance of Templates: time 0.007735/0.6987, allocations: 1.78 MB / 0.7721 GB, free: 7.977 MB / 362.7 MB