Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004333/0.004339, allocations: 359.6 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.355/4.355, 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.005707/0.005706, allocations: 230.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.5614/0.5614, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000642/0.0006423, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1021, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5626, allocations: 82.15 MB / 0.7603 GB, free: 3.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5629, allocations: 82.5 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.01969/0.5826, allocations: 4.586 MB / 0.7649 GB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5826, allocations: 0 / 0.7649 GB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.5827, allocations: 7 kB / 0.7649 GB, free: 15.27 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.0006472/0.5833, allocations: 475.3 kB / 0.7653 GB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5834, allocations: 8.828 kB / 0.7653 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.5835, allocations: 7.906 kB / 0.7653 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.5838, allocations: 217.3 kB / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.5839, allocations: 0 / 0.7656 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.5839, allocations: 8 kB / 0.7656 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.5841, allocations: 52.11 kB / 0.7656 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5842, allocations: 0 / 0.7656 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5842, allocations: 10.89 kB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5842, allocations: 0 / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.5843, allocations: 23.86 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.5849, allocations: 313.5 kB / 0.7659 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.5851, allocations: 58 kB / 0.766 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.5852, allocations: 28.59 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.5853, allocations: 0 / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.5855, allocations: 71.62 kB / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.5855, allocations: 0 / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000874/0.5864, allocations: 190.6 kB / 0.7663 GB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.5865, allocations: 55.41 kB / 0.7663 GB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.5867, allocations: 182.2 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.5868, allocations: 25.7 kB / 0.7665 GB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.5869, allocations: 99.23 kB / 0.7666 GB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.5869, allocations: 31.39 kB / 0.7667 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.5869, allocations: 4 kB / 0.7667 GB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5871, allocations: 322.6 kB / 0.767 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5872, allocations: 33.23 kB / 0.767 GB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.5874, allocations: 62.05 kB / 0.7671 GB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5876, allocations: 72.64 kB / 0.7671 GB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5876, allocations: 0 / 0.7671 GB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005052/0.5881, allocations: 187 kB / 0.7673 GB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.5882, allocations: 41.38 kB / 0.7673 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5882, allocations: 0 / 0.7673 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.5883, allocations: 0 / 0.7673 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5884, allocations: 16.38 kB / 0.7674 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5885, allocations: 0 / 0.7674 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.5886, allocations: 12.02 kB / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.5886, allocations: 8.078 kB / 0.7674 GB, free: 12.71 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.0001636/0.5888, allocations: 127.8 kB / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.5888, allocations: 11.86 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.5893, allocations: 132.5 kB / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5893, allocations: 4 kB / 0.7676 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5893, allocations: 0 / 0.7676 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5893, allocations: 0 / 0.7676 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007601/0.5901, allocations: 419.1 kB / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5901, allocations: 0 / 0.768 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.5902, allocations: 12 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5903, allocations: 192 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.5903, allocations: 0 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.5903, allocations: 7.938 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5903, allocations: 0 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.5907, allocations: 219.8 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5908, allocations: 104.1 kB / 0.7684 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.5909, allocations: 0 / 0.7684 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.591, allocations: 7.562 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.5911, allocations: 7.984 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5911, allocations: 4 kB / 0.7684 GB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5913, allocations: 142.5 kB / 0.7685 GB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5913, allocations: 4 kB / 0.7685 GB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.5917, allocations: 34.88 kB / 0.7686 GB, free: 11.5 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.001347/0.5931, allocations: 443.2 kB / 0.769 GB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004668/0.5936, allocations: 165.2 kB / 0.7691 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5936, allocations: 3.938 kB / 0.7691 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.5938, allocations: 34.8 kB / 0.7692 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.5943, allocations: 19.75 kB / 0.7692 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.5949, allocations: 256.3 kB / 0.7694 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.5952, allocations: 0.7094 MB / 0.7701 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.876e-05/0.5953, allocations: 16.56 kB / 0.7701 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.5954, allocations: 15.44 kB / 0.7702 GB, free: 10.02 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5954, allocations: 0 / 0.7702 GB, free: 10.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006533/0.602, allocations: 1.739 MB / 0.7719 GB, free: 8.305 MB / 362.7 MB