Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003374/0.003378, allocations: 360 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.213/4.213, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.005714/0.005713, allocations: 229.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.589/0.589, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007176/0.0007183, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1371, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.6326, allocations: 82.15 MB / 0.7603 GB, free: 3.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.633, allocations: 75.11 kB / 0.7604 GB, free: 3.184 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.02506/0.6581, allocations: 4.589 MB / 0.7649 GB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6581, allocations: 4 kB / 0.7649 GB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.6581, allocations: 4 kB / 0.7649 GB, free: 15.3 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.0008146/0.659, allocations: 468.2 kB / 0.7653 GB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.659, allocations: 12.03 kB / 0.7653 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.6591, allocations: 7.906 kB / 0.7653 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.6596, allocations: 205.1 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.6596, allocations: 4 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.6597, allocations: 7.375 kB / 0.7656 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.66, allocations: 64.41 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.66, allocations: 0 / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.66, allocations: 3.953 kB / 0.7656 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.66, allocations: 0 / 0.7656 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.6602, allocations: 26.67 kB / 0.7656 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.6609, allocations: 307.9 kB / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.6612, allocations: 65.11 kB / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.6614, allocations: 24.22 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6614, allocations: 7.438 kB / 0.766 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.6617, allocations: 66.94 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/0.6617, allocations: 0 / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00104/0.6628, allocations: 183.5 kB / 0.7663 GB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.6628, allocations: 62.59 kB / 0.7663 GB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.6632, allocations: 174.7 kB / 0.7665 GB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.6632, allocations: 32.89 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.6634, allocations: 99.72 kB / 0.7666 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.6634, allocations: 30.52 kB / 0.7667 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.6635, allocations: 7.938 kB / 0.7667 GB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.6637, allocations: 318.6 kB / 0.767 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.6639, allocations: 38.98 kB / 0.767 GB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.6641, allocations: 55.39 kB / 0.7671 GB, free: 13.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.6643, allocations: 76 kB / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6643, allocations: 0 / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006177/0.665, allocations: 184.7 kB / 0.7673 GB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.6651, allocations: 33.7 kB / 0.7673 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6651, allocations: 4 kB / 0.7673 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6651, allocations: 0 / 0.7673 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.6653, allocations: 24 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6653, allocations: 80 / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6655, allocations: 11.25 kB / 0.7674 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.6655, allocations: 7.984 kB / 0.7674 GB, free: 12.73 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.000188/0.6657, allocations: 129.6 kB / 0.7675 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.6658, allocations: 15.86 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.6663, allocations: 121.2 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6663, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6664, allocations: 4 kB / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6664, allocations: 3.984 kB / 0.7676 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.6673, allocations: 417 kB / 0.768 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6673, allocations: 0 / 0.768 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.6674, allocations: 11.98 kB / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6674, allocations: 0 / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.6675, allocations: 4 kB / 0.7681 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6675, allocations: 0 / 0.7681 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6675, allocations: 4.031 kB / 0.7681 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.6679, allocations: 217.6 kB / 0.7683 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.668, allocations: 100.3 kB / 0.7684 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6681, allocations: 7.5 kB / 0.7684 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6682, allocations: 4 kB / 0.7684 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.6683, allocations: 7.984 kB / 0.7684 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.6683, allocations: 8 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.6685, allocations: 141.2 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6685, allocations: 0 / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.669, allocations: 43.17 kB / 0.7686 GB, free: 11.52 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.001362/0.6703, allocations: 435.2 kB / 0.769 GB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.6708, allocations: 173.4 kB / 0.7691 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.6708, allocations: 0 / 0.7691 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.671, allocations: 35.17 kB / 0.7692 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.6714, allocations: 22.75 kB / 0.7692 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.6721, allocations: 253.5 kB / 0.7694 GB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.6725, allocations: 0.7121 MB / 0.7701 GB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.059e-05/0.6726, allocations: 16.56 kB / 0.7702 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.6727, allocations: 15.44 kB / 0.7702 GB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6727, allocations: 0 / 0.7702 GB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.007459/0.6802, allocations: 1.738 MB / 0.7719 GB, free: 8.34 MB / 362.7 MB