Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001372/0.001372, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001473/0.001473, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.848/0.848, allocations: 134 MB / 447.2 MB, free: 9.934 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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002032/0.002032, allocations: 71.45 kB / 0.6197 GB, free: 6.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1575, allocations: 85.9 MB / 0.7036 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002981/0.1605, allocations: 1.46 MB / 0.705 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.1609, allocations: 92.59 kB / 0.7051 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.1609, allocations: 4 kB / 0.7051 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.1609, allocations: 3.938 kB / 0.7051 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.521e-05/0.161, allocations: 7.922 kB / 0.7051 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1612, allocations: 19.98 kB / 0.7051 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.1613, allocations: 23.92 kB / 0.7052 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.1614, allocations: 7.984 kB / 0.7052 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.1614, allocations: 7.938 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.1615, allocations: 11.92 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1615, allocations: 8 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.1616, allocations: 19.97 kB / 0.7052 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.1616, allocations: 11.94 kB / 0.7052 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1616, allocations: 7.922 kB / 0.7052 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1618, allocations: 39.83 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1618, allocations: 0 / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1618, allocations: 0 / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1618, allocations: 0 / 0.7053 GB, free: 14.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004585/0.1622, allocations: 274.2 kB / 0.7055 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1623, allocations: 16.02 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1623, allocations: 4.938 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1624, allocations: 106.5 kB / 0.7057 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1624, allocations: 4.375 kB / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1625, allocations: 384 / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1626, allocations: 54.23 kB / 0.7057 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1626, allocations: 192 / 0.7057 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1627, allocations: 3.938 kB / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1627, allocations: 0 / 0.7057 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1628, allocations: 35.95 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1632, allocations: 204.5 kB / 0.7059 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1633, allocations: 42.59 kB / 0.706 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.1634, allocations: 24.91 kB / 0.706 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1634, allocations: 3.938 kB / 0.706 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1634, allocations: 38.55 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1634, allocations: 0 / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.1638, allocations: 93.58 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1638, allocations: 51.41 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.1639, allocations: 105.8 kB / 0.7063 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.164, allocations: 25.7 kB / 0.7063 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.164, allocations: 88.08 kB / 0.7064 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.164, allocations: 7.953 kB / 0.7064 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1641, allocations: 9.719 kB / 0.7064 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1642, allocations: 318.8 kB / 0.7067 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.1643, allocations: 20.09 kB / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.1644, allocations: 19.98 kB / 0.7068 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1645, allocations: 41.06 kB / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1645, allocations: 0 / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.1647, allocations: 81.48 kB / 0.7069 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1647, allocations: 8.094 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1647, allocations: 0 / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1648, allocations: 3.984 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.1648, allocations: 8 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1648, allocations: 0 / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.1649, allocations: 11.94 kB / 0.7069 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1649, allocations: 3.938 kB / 0.7069 GB, free: 12.95 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 (2): * Single equations (assignments): 2 * 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.923e-05/0.165, allocations: 113.8 kB / 0.707 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.165, allocations: 3.938 kB / 0.707 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1653, allocations: 89.2 kB / 0.7071 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1653, allocations: 0 / 0.7071 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1653, allocations: 0 / 0.7071 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1653, allocations: 3.984 kB / 0.7071 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1654, allocations: 109.3 kB / 0.7072 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1654, allocations: 0 / 0.7072 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.1655, allocations: 4 kB / 0.7072 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1655, allocations: 3.938 kB / 0.7072 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1655, allocations: 7.984 kB / 0.7072 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1655, allocations: 4.031 kB / 0.7072 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1655, allocations: 0 / 0.7072 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1658, allocations: 163.5 kB / 0.7074 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.1658, allocations: 7.891 kB / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1658, allocations: 0 / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1659, allocations: 7.984 kB / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1659, allocations: 7.938 kB / 0.7074 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1659, allocations: 0 / 0.7074 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.1659, allocations: 87.31 kB / 0.7075 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 0.7075 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002258/0.1662, allocations: 11.98 kB / 0.7075 GB, free: 12.27 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 (2): * Single equations (assignments): 2 * 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.0001421/0.1663, allocations: 99.19 kB / 0.7076 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1665, allocations: 39.95 kB / 0.7076 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1665, allocations: 0 / 0.7076 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.1666, allocations: 24.05 kB / 0.7077 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1669, allocations: 4.188 kB / 0.7077 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.1672, allocations: 151 kB / 0.7078 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.1673, allocations: 67.2 kB / 0.7079 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.1673, allocations: 7.438 kB / 0.7079 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.1673, allocations: 0 / 0.7079 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.002324/0.1696, allocations: 0.6821 MB / 0.7086 GB, free: 11.15 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.756270914338529] Failed to read output from testmodel.py, exit status != 0: 0.1771909878589213 0.192352767 0.027620345 Calling exit ...