Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00468/0.004679, allocations: 363 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.093/4.093, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.003803/0.003802, allocations: 237.4 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.5256/0.5256, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004797, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6012/0.7071, allocations: 82.14 MB / 0.7603 GB, free: 3.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.7074, allocations: 81.88 kB / 0.7604 GB, free: 3.199 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.0192/0.7266, allocations: 4.535 MB / 0.7648 GB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7267, allocations: 0 / 0.7648 GB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.7267, allocations: 0 / 0.7648 GB, free: 15.38 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.0007087/0.7274, allocations: 476.2 kB / 0.7653 GB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7275, allocations: 8.828 kB / 0.7653 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.7275, allocations: 11.91 kB / 0.7653 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.7279, allocations: 203.2 kB / 0.7655 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.728, allocations: 2.5 kB / 0.7655 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.728, allocations: 8 kB / 0.7655 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.7282, allocations: 59.11 kB / 0.7656 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7282, allocations: 0 / 0.7656 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.7283, allocations: 7.891 kB / 0.7656 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.7283, allocations: 0 / 0.7656 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.7284, allocations: 26.8 kB / 0.7656 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.729, allocations: 314.2 kB / 0.7659 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.7292, allocations: 64.23 kB / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.7294, allocations: 18.73 kB / 0.766 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.7294, allocations: 8 kB / 0.766 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.7296, allocations: 77.42 kB / 0.766 GB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.7296, allocations: 0 / 0.766 GB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008335/0.7305, allocations: 181.5 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.7305, allocations: 51.41 kB / 0.7663 GB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.7308, allocations: 166.8 kB / 0.7664 GB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.7308, allocations: 33.7 kB / 0.7665 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.7309, allocations: 95.44 kB / 0.7666 GB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.731, allocations: 27.52 kB / 0.7666 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.731, allocations: 6.938 kB / 0.7666 GB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7312, allocations: 314.8 kB / 0.7669 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.7313, allocations: 42.72 kB / 0.7669 GB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.7315, allocations: 55.89 kB / 0.767 GB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.7317, allocations: 79.19 kB / 0.7671 GB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7317, allocations: 0 / 0.7671 GB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004786/0.7322, allocations: 178.1 kB / 0.7672 GB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.7322, allocations: 33.7 kB / 0.7673 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7323, allocations: 0 / 0.7673 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7323, allocations: 4 kB / 0.7673 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.7325, allocations: 19.48 kB / 0.7673 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7325, allocations: 0 / 0.7673 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.7326, allocations: 4 kB / 0.7673 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.7326, allocations: 12.03 kB / 0.7673 GB, free: 12.82 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.0001661/0.7328, allocations: 125.1 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.7328, allocations: 15.77 kB / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.7333, allocations: 119.4 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.7333, allocations: 4 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7333, allocations: 3.938 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.7333, allocations: 0 / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.734, allocations: 419.6 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.734, allocations: 0 / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.7341, allocations: 11.94 kB / 0.768 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7341, allocations: 0 / 0.768 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.7342, allocations: 6.938 kB / 0.768 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7342, allocations: 3.984 kB / 0.768 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7342, allocations: 3.938 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.7346, allocations: 213 kB / 0.7682 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.7347, allocations: 104.5 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.7348, allocations: 2.938 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.7349, allocations: 4.375 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.7349, allocations: 7.984 kB / 0.7683 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.735, allocations: 6.688 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.7351, allocations: 124.8 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7352, allocations: 4 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.7356, allocations: 39.25 kB / 0.7685 GB, free: 11.62 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.001378/0.737, allocations: 443.2 kB / 0.7689 GB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.7374, allocations: 168 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7375, allocations: 0 / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.7376, allocations: 34.98 kB / 0.7691 GB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.7381, allocations: 31.52 kB / 0.7691 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.7388, allocations: 232.4 kB / 0.7693 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.7392, allocations: 0.7125 MB / 0.77 GB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.335e-05/0.7392, allocations: 8.438 kB / 0.77 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.7393, allocations: 19.42 kB / 0.77 GB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7393, allocations: 0 / 0.77 GB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.006554/0.7459, allocations: 1.72 MB / 0.7717 GB, free: 8.469 MB / 362.7 MB