Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002783/0.002783, allocations: 213.1 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.009/1.009, allocations: 134 MB / 446.4 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 73.61 kB / 0.619 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1769, allocations: 85.91 MB / 0.7029 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.002137/0.1791, allocations: 0.5907 MB / 0.7035 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002554/0.1793, allocations: 31.89 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.1793, allocations: 4 kB / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.1793, allocations: 0 / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-06/0.1794, allocations: 0 / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1797, allocations: 15.92 kB / 0.7035 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.506e-05/0.1797, allocations: 7.938 kB / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.1798, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.1798, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.74e-05/0.1798, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.1798, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1799, allocations: 23.97 kB / 0.7036 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.1799, allocations: 0 / 0.7036 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1799, allocations: 7.984 kB / 0.7036 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.18, allocations: 11.98 kB / 0.7036 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.18, allocations: 3.938 kB / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1801, allocations: 0 / 0.7036 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1801, allocations: 0 / 0.7036 GB, free: 15.83 MB / 0.5294 GB 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.0003458/0.1804, allocations: 242.8 kB / 0.7038 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1804, allocations: 8.031 kB / 0.7038 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1805, allocations: 0.9375 kB / 0.7038 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.1806, allocations: 102.5 kB / 0.7039 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1806, allocations: 12.38 kB / 0.7039 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1806, allocations: 4.312 kB / 0.7039 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1807, allocations: 30.25 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1807, allocations: 192 / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1807, allocations: 7.938 kB / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1807, allocations: 0 / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.1807, allocations: 0 / 0.704 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1809, allocations: 101.4 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.1809, allocations: 14.58 kB / 0.7041 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.181, allocations: 12.8 kB / 0.7041 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.181, allocations: 8.062 kB / 0.7041 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.181, allocations: 34.55 kB / 0.7041 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.181, allocations: 0 / 0.7041 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1812, allocations: 41.59 kB / 0.7042 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1812, allocations: 51.41 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.1812, allocations: 89.86 kB / 0.7043 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1813, allocations: 25.7 kB / 0.7043 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.1813, allocations: 80.14 kB / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1813, allocations: 0 / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1814, allocations: 17.72 kB / 0.7044 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1815, allocations: 319 kB / 0.7047 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.1815, allocations: 3.938 kB / 0.7047 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.1815, allocations: 4 kB / 0.7047 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.1816, allocations: 8.859 kB / 0.7047 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1816, allocations: 0 / 0.7047 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.287e-05/0.1816, allocations: 33.7 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1817, allocations: 7.938 kB / 0.7048 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1817, allocations: 0 / 0.7048 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1817, allocations: 7.938 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.1817, allocations: 12.02 kB / 0.7048 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1817, allocations: 0 / 0.7048 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.1818, allocations: 3.984 kB / 0.7048 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1818, allocations: 4 kB / 0.7048 GB, free: 14.39 MB / 0.5294 GB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.1819, allocations: 109.8 kB / 0.7049 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.1819, allocations: 0 / 0.7049 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.182, allocations: 40.69 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.182, allocations: 7.969 kB / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.182, allocations: 0 / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.182, allocations: 0 / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.08e-05/0.1821, allocations: 97.33 kB / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1821, allocations: 8 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.1821, allocations: 0 / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1821, allocations: 0 / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1821, allocations: 0 / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1821, allocations: 3.984 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1821, allocations: 7.938 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.1822, allocations: 57.08 kB / 0.7051 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.1822, allocations: 8.031 kB / 0.7051 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.1822, allocations: 0 / 0.7051 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.1822, allocations: 0 / 0.7051 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.1823, allocations: 7.922 kB / 0.7051 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1823, allocations: 4 kB / 0.7051 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.1823, allocations: 75.28 kB / 0.7052 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1823, allocations: 0 / 0.7052 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001991/0.1825, allocations: 7.938 kB / 0.7052 GB, free: 13.9 MB / 0.5294 GB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.1826, allocations: 95.25 kB / 0.7053 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/0.1827, allocations: 8 kB / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1827, allocations: 0 / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.1827, allocations: 7.938 kB / 0.7053 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1829, allocations: 6.641 kB / 0.7053 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.1831, allocations: 81.02 kB / 0.7054 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.1832, allocations: 55.22 kB / 0.7055 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.1832, allocations: 8.125 kB / 0.7055 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.1832, allocations: 11.38 kB / 0.7055 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1832, allocations: 0 / 0.7055 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.002714/0.1859, allocations: 276 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.931465236470103] Failed to read output from testmodel.py, exit status != 0: 0.193605437874794 0.21087333300000002 0.027538052 Calling exit ...