Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002902/0.002901, allocations: 362.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.024/4.024, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.00369/0.003689, allocations: 237.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.5755/0.5755, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.000485, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.5845, allocations: 81.04 MB / 0.7592 GB, free: 4.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5848, allocations: 73.84 kB / 0.7593 GB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.6029, allocations: 5.426 MB / 0.7646 GB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6029, allocations: 0 / 0.7646 GB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.309e-05/0.603, allocations: 8 kB / 0.7646 GB, free: 15.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001064/0.6041, allocations: 0.6422 MB / 0.7652 GB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.6041, allocations: 8.828 kB / 0.7652 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.6043, allocations: 43.19 kB / 0.7653 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.6049, allocations: 318.8 kB / 0.7656 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.605, allocations: 4 kB / 0.7656 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.605, allocations: 3.625 kB / 0.7656 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.6052, allocations: 57.59 kB / 0.7656 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6053, allocations: 11.77 kB / 0.7657 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6053, allocations: 4 kB / 0.7657 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6053, allocations: 0 / 0.7657 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.6055, allocations: 31.8 kB / 0.7657 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.6063, allocations: 422.5 kB / 0.7661 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.6067, allocations: 50.36 kB / 0.7661 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.6069, allocations: 22.55 kB / 0.7662 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.6069, allocations: 3.938 kB / 0.7662 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.607, allocations: 30.56 kB / 0.7662 GB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 4.027e-06/0.607, allocations: 0 / 0.7662 GB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001118/0.6081, allocations: 247.4 kB / 0.7664 GB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6082, allocations: 55.34 kB / 0.7665 GB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.6102, allocations: 0.8391 MB / 0.7673 GB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.6103, allocations: 28.45 kB / 0.7673 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.6105, allocations: 205.2 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.6106, allocations: 19.38 kB / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.6106, allocations: 0 / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6108, allocations: 360.7 kB / 0.7679 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.611, allocations: 23.48 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.6111, allocations: 31.42 kB / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.6113, allocations: 53.2 kB / 0.768 GB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6113, allocations: 0 / 0.768 GB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000522/0.6119, allocations: 157.3 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.6119, allocations: 29.7 kB / 0.7682 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6119, allocations: 0 / 0.7682 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.612, allocations: 7.938 kB / 0.7682 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6121, allocations: 15.98 kB / 0.7682 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6121, allocations: 0 / 0.7682 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.6123, allocations: 11.89 kB / 0.7682 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.6123, allocations: 7.562 kB / 0.7682 GB, free: 11.84 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 (6): * Single equations (assignments): 5 * 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.0003465/0.6127, allocations: 211.4 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6128, allocations: 39.53 kB / 0.7685 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.6133, allocations: 138.4 kB / 0.7686 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.6133, allocations: 4.312 kB / 0.7686 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6133, allocations: 7.875 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6134, allocations: 4 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.6147, allocations: 0.5813 MB / 0.7692 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6147, allocations: 0 / 0.7692 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.6149, allocations: 15.98 kB / 0.7692 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6149, allocations: 4 kB / 0.7692 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6149, allocations: 4 kB / 0.7692 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6149, allocations: 0 / 0.7692 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6149, allocations: 0 / 0.7692 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.6154, allocations: 232.2 kB / 0.7694 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.6157, allocations: 154.6 kB / 0.7696 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.6158, allocations: 0 / 0.7696 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6159, allocations: 7.984 kB / 0.7696 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.616, allocations: 4 kB / 0.7696 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.616, allocations: 0 / 0.7696 GB, free: 10.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.6172, allocations: 0.628 MB / 0.7702 GB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6173, allocations: 0 / 0.7702 GB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004551/0.6177, allocations: 55.5 kB / 0.7702 GB, free: 9.969 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 (5): * Single equations (assignments): 5 * 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.0008809/0.6186, allocations: 299 kB / 0.7705 GB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.6191, allocations: 112.6 kB / 0.7706 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6191, allocations: 0 / 0.7706 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.6192, allocations: 26.3 kB / 0.7707 GB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.6198, allocations: 36.5 kB / 0.7707 GB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.6219, allocations: 0.8846 MB / 0.7716 GB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.6225, allocations: 0.8255 MB / 0.7724 GB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.6227, allocations: 36.44 kB / 0.7724 GB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6228, allocations: 15.44 kB / 0.7724 GB, free: 7.871 MB / 362.7 MB Notification: Performance of SimCode: time 3.136e-06/0.6228, allocations: 4 kB / 0.7724 GB, free: 7.867 MB / 362.7 MB Notification: Performance of Templates: time 0.01043/0.6333, allocations: 2.163 MB / 0.7745 GB, free: 5.715 MB / 362.7 MB