Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.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.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002757/0.002762, 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.014/4.014, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003659/0.003659, allocations: 225.6 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.5178/0.5178, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.000481, allocations: 8.844 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09874, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6537/0.7525, allocations: 192.6 MB / 0.8682 GB, free: 9.863 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.7528, allocations: 71.59 kB / 0.8682 GB, free: 9.828 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03359/0.7864, allocations: 6.902 MB / 0.875 GB, free: 3.996 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7865, allocations: 0 / 0.875 GB, free: 3.996 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.7865, allocations: 0 / 0.875 GB, free: 3.996 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006294/0.7871, allocations: 407.9 kB / 0.8754 GB, free: 3.547 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.7872, allocations: 12.02 kB / 0.8754 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.7873, allocations: 6.188 kB / 0.8754 GB, free: 3.531 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.7874, allocations: 159.1 kB / 0.8755 GB, free: 3.336 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.7874, allocations: 7.922 kB / 0.8755 GB, free: 3.328 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.7875, allocations: 0 / 0.8755 GB, free: 3.328 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.7876, allocations: 37.64 kB / 0.8756 GB, free: 3.285 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7876, allocations: 0 / 0.8756 GB, free: 3.285 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.7876, allocations: 0 / 0.8756 GB, free: 3.285 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.7876, allocations: 3.953 kB / 0.8756 GB, free: 3.281 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.7877, allocations: 0 / 0.8756 GB, free: 3.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.7879, allocations: 160.4 kB / 0.8757 GB, free: 3.078 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.7879, allocations: 18.52 kB / 0.8758 GB, free: 3.051 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.788, allocations: 6.203 kB / 0.8758 GB, free: 3.043 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.788, allocations: 8.094 kB / 0.8758 GB, free: 3.035 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.7881, allocations: 60.08 kB / 0.8758 GB, free: 2.965 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.7881, allocations: 0 / 0.8758 GB, free: 2.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000216/0.7883, allocations: 63.39 kB / 0.8759 GB, free: 2.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.7884, allocations: 81.06 kB / 0.876 GB, free: 2.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/0.7884, allocations: 89.86 kB / 0.8761 GB, free: 2.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.7885, allocations: 25.7 kB / 0.8761 GB, free: 2.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.7885, allocations: 84.27 kB / 0.8762 GB, free: 2.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.7886, allocations: 2.875 kB / 0.8762 GB, free: 2.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.7886, allocations: 4 kB / 0.8762 GB, free: 2.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7887, allocations: 310.8 kB / 0.8765 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.7888, allocations: 3.938 kB / 0.8765 GB, free: 2.258 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.7888, allocations: 0 / 0.8765 GB, free: 2.258 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.7888, allocations: 33.69 kB / 0.8765 GB, free: 2.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7889, allocations: 0 / 0.8765 GB, free: 2.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.46e-05/0.789, allocations: 62.47 kB / 0.8766 GB, free: 2.148 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.789, allocations: 33.7 kB / 0.8766 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.789, allocations: 0 / 0.8766 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7891, allocations: 0 / 0.8766 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.7891, allocations: 0 / 0.8766 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7891, allocations: 0 / 0.8766 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.7891, allocations: 7.938 kB / 0.8766 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.7891, allocations: 4 kB / 0.8766 GB, free: 2.098 MB / 458.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001098/0.7893, allocations: 132.3 kB / 0.8767 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.7893, allocations: 0 / 0.8767 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.7893, allocations: 7.156 kB / 0.8767 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.7893, allocations: 4 kB / 0.8767 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.7893, allocations: 0 / 0.8767 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7894, allocations: 7.875 kB / 0.8767 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.7895, allocations: 153.3 kB / 0.8769 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7895, allocations: 0 / 0.8769 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.7895, allocations: 0 / 0.8769 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7896, allocations: 4 kB / 0.8769 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.7896, allocations: 0 / 0.8769 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.7896, allocations: 0 / 0.8769 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7896, allocations: 4 kB / 0.8769 GB, free: 1.734 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.7897, allocations: 94.09 kB / 0.877 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.7898, allocations: 77.11 kB / 0.8771 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.7898, allocations: 0 / 0.8771 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.7899, allocations: 3.938 kB / 0.8771 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.7899, allocations: 0 / 0.8771 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.7899, allocations: 4 kB / 0.8771 GB, free: 1.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.7899, allocations: 79.31 kB / 0.8771 GB, free: 1.441 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.79, allocations: 0 / 0.8771 GB, free: 1.441 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005804/0.7905, allocations: 79.3 kB / 0.8772 GB, free: 1.367 MB / 458.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006983/0.7913, allocations: 219.8 kB / 0.8774 GB, free: 1.152 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.7914, allocations: 59.41 kB / 0.8775 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7914, allocations: 0 / 0.8775 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.7915, allocations: 63.33 kB / 0.8775 GB, free: 1.012 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.7916, allocations: 8.5 kB / 0.8776 GB, free: 1.004 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.7919, allocations: 79.11 kB / 0.8776 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.7922, allocations: 0.677 MB / 0.8783 GB, free: 200 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.702e-06/0.7922, allocations: 0 / 0.8783 GB, free: 200 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.7922, allocations: 7.438 kB / 0.8783 GB, free: 192 kB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/0.7922, allocations: 0 / 0.8783 GB, free: 192 kB / 458.7 MB Notification: Performance of Templates: time 0.006983/0.7992, allocations: 1.829 MB / 0.8801 GB, free: 14.38 MB / 474.7 MB