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.001315/0.001315, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001463/0.001463, allocations: 223.1 kB / 23 MB, free: 4.914 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 0.8274/0.8274, allocations: 134 MB / 447.2 MB, free: 9.918 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.002007/0.002007, allocations: 63.09 kB / 0.6197 GB, free: 6.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 85.91 MB / 0.7036 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.00185/0.1675, allocations: 0.5896 MB / 0.7042 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.1677, allocations: 31.89 kB / 0.7042 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.163e-05/0.1677, allocations: 0 / 0.7042 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1677, allocations: 0 / 0.7042 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.1677, allocations: 0 / 0.7042 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.168, allocations: 19.92 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.1681, allocations: 0 / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.1681, allocations: 4 kB / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.1681, allocations: 3.984 kB / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.915e-05/0.1682, allocations: 7.984 kB / 0.7043 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1682, allocations: 0 / 0.7043 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1683, allocations: 15.98 kB / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1683, allocations: 0 / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.1683, allocations: 0 / 0.7043 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1684, allocations: 23.91 kB / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1684, allocations: 0 / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1684, allocations: 0 / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1684, allocations: 0 / 0.7043 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.0003135/0.1687, allocations: 234.8 kB / 0.7045 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1688, allocations: 12.03 kB / 0.7046 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.1688, allocations: 4.938 kB / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.1689, allocations: 114.4 kB / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1689, allocations: 384 / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1689, allocations: 384 / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.169, allocations: 30.27 kB / 0.7047 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.169, allocations: 192 / 0.7047 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.169, allocations: 11.92 kB / 0.7047 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.169, allocations: 0 / 0.7047 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.1691, allocations: 4 kB / 0.7047 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1692, allocations: 97.33 kB / 0.7048 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.1693, allocations: 30.53 kB / 0.7048 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.1693, allocations: 4.859 kB / 0.7048 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1694, allocations: 64 / 0.7048 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1694, allocations: 38.56 kB / 0.7049 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1694, allocations: 0 / 0.7049 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.1695, allocations: 37.59 kB / 0.7049 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1696, allocations: 51.41 kB / 0.705 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.1696, allocations: 93.86 kB / 0.705 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1696, allocations: 29.64 kB / 0.7051 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.1697, allocations: 80.14 kB / 0.7052 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1697, allocations: 8.109 kB / 0.7052 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.1697, allocations: 13.72 kB / 0.7052 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1699, allocations: 314.8 kB / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.1699, allocations: 0 / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.1699, allocations: 0 / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.1699, allocations: 8.859 kB / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1699, allocations: 0 / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.279e-05/0.17, allocations: 41.62 kB / 0.7055 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.17, allocations: 4 kB / 0.7055 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.17, allocations: 4.094 kB / 0.7055 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.17, allocations: 0 / 0.7055 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.17, allocations: 11.88 kB / 0.7055 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1701, allocations: 0 / 0.7055 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.1701, allocations: 0 / 0.7055 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1701, allocations: 0 / 0.7055 GB, free: 14.4 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 7.823e-05/0.1702, allocations: 113.8 kB / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-06/0.1702, allocations: 0 / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-05/0.1703, allocations: 40.69 kB / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1703, allocations: 7.938 kB / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1703, allocations: 0 / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1703, allocations: 0 / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.754e-05/0.1704, allocations: 101.3 kB / 0.7058 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1704, allocations: 0 / 0.7058 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.1704, allocations: 15.92 kB / 0.7058 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1704, allocations: 0 / 0.7058 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1704, allocations: 0 / 0.7058 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1704, allocations: 0 / 0.7058 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1704, allocations: 7.875 kB / 0.7058 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.449e-05/0.1705, allocations: 57.17 kB / 0.7059 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.1705, allocations: 3.984 kB / 0.7059 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1705, allocations: 4 kB / 0.7059 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-06/0.1705, allocations: 0 / 0.7059 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.1705, allocations: 7.938 kB / 0.7059 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1705, allocations: 0 / 0.7059 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.1706, allocations: 75.28 kB / 0.706 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1706, allocations: 0 / 0.706 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001841/0.1707, allocations: 11.94 kB / 0.706 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.0001487/0.1709, allocations: 99.28 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.021e-05/0.171, allocations: 11.92 kB / 0.7061 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.171, allocations: 0 / 0.7061 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.171, allocations: 0 / 0.7061 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.0001268/0.1711, allocations: 4 kB / 0.7061 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.1713, allocations: 106.7 kB / 0.7062 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.581e-05/0.1714, allocations: 59.22 kB / 0.7062 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1714, allocations: 11.55 kB / 0.7062 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1714, allocations: 4 kB / 0.7063 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.00202/0.1735, allocations: 447.6 kB / 0.7067 GB, free: 13.11 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: 7.56201943801716] Failed to read output from testmodel.py, exit status != 0: 0.18024190980941057 0.19598986799999996 0.024574353 Calling exit ...