Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003118/0.003123, allocations: 363.1 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.281/4.281, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003558/0.003557, allocations: 234 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.6041/0.6041, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000707/0.0007072, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1178, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6118/0.7298, allocations: 80.87 MB / 0.7591 GB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/0.7302, allocations: 78.52 kB / 0.7591 GB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.7559, allocations: 5.197 MB / 0.7642 GB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.756, allocations: 0 / 0.7642 GB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.466e-05/0.756, allocations: 8 kB / 0.7642 GB, free: 15.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001312/0.7573, allocations: 0.6285 MB / 0.7648 GB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.7574, allocations: 11.97 kB / 0.7649 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.7576, allocations: 47.44 kB / 0.7649 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.7586, allocations: 312 kB / 0.7652 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.7587, allocations: 0 / 0.7652 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.7587, allocations: 3.688 kB / 0.7652 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.759, allocations: 47.75 kB / 0.7652 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.759, allocations: 0 / 0.7652 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.7591, allocations: 3.953 kB / 0.7652 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.7591, allocations: 4 kB / 0.7653 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.7593, allocations: 30.86 kB / 0.7653 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.7604, allocations: 415.2 kB / 0.7657 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.7606, allocations: 30.27 kB / 0.7657 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.7608, allocations: 24.86 kB / 0.7657 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.7608, allocations: 0 / 0.7657 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.7609, allocations: 39.66 kB / 0.7658 GB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 4.669e-06/0.7609, allocations: 0 / 0.7658 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005718/0.7615, allocations: 108.5 kB / 0.7659 GB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.7615, allocations: 55.53 kB / 0.7659 GB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.7645, allocations: 0.8277 MB / 0.7667 GB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.7646, allocations: 25.7 kB / 0.7668 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.765, allocations: 210.3 kB / 0.767 GB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.765, allocations: 15.83 kB / 0.767 GB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.765, allocations: 0 / 0.767 GB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.7653, allocations: 360.7 kB / 0.7673 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.7655, allocations: 12 kB / 0.7673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.7656, allocations: 15.42 kB / 0.7673 GB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.7657, allocations: 37.14 kB / 0.7674 GB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7658, allocations: 0 / 0.7674 GB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005193/0.7663, allocations: 129.7 kB / 0.7675 GB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.7664, allocations: 32.95 kB / 0.7675 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7664, allocations: 0 / 0.7675 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.7664, allocations: 4 kB / 0.7675 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.7666, allocations: 11.98 kB / 0.7675 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7666, allocations: 0 / 0.7675 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.7668, allocations: 7.906 kB / 0.7676 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.7668, allocations: 0 / 0.7676 GB, free: 12.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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.0004589/0.7673, allocations: 207.6 kB / 0.7678 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.7675, allocations: 39.48 kB / 0.7678 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.7679, allocations: 114.2 kB / 0.7679 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.768, allocations: 7.984 kB / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.768, allocations: 0 / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.768, allocations: 0 / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/0.7687, allocations: 312.2 kB / 0.7682 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7687, allocations: 0 / 0.7682 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.7689, allocations: 4 kB / 0.7682 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.7689, allocations: 4.875 kB / 0.7682 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.7689, allocations: 7.984 kB / 0.7682 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.778e-06/0.7689, allocations: 0 / 0.7682 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.769, allocations: 4 kB / 0.7682 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.7695, allocations: 189.7 kB / 0.7684 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.7699, allocations: 154.5 kB / 0.7686 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.77, allocations: 8 kB / 0.7686 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.7702, allocations: 15.92 kB / 0.7686 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.7703, allocations: 3.938 kB / 0.7686 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.7703, allocations: 0 / 0.7686 GB, free: 11.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001815/0.7722, allocations: 0.6282 MB / 0.7692 GB, free: 10.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.7722, allocations: 3.938 kB / 0.7692 GB, free: 10.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007482/0.773, allocations: 48 kB / 0.7692 GB, free: 10.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001093/0.7741, allocations: 228.7 kB / 0.7695 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.7746, allocations: 81.33 kB / 0.7695 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7746, allocations: 0 / 0.7695 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.7748, allocations: 10.88 kB / 0.7695 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/0.7756, allocations: 27.23 kB / 0.7696 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.7784, allocations: 0.8605 MB / 0.7704 GB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.7793, allocations: 0.8181 MB / 0.7712 GB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.7795, allocations: 40.14 kB / 0.7713 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.7797, allocations: 19.44 kB / 0.7713 GB, free: 8.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/0.7797, allocations: 0 / 0.7713 GB, free: 8.816 MB / 362.7 MB Notification: Performance of Templates: time 0.01305/0.7928, allocations: 1.963 MB / 0.7732 GB, free: 6.855 MB / 362.7 MB