Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 105.2 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2931/0.2931, allocations: 54.94 MB / 331.5 MB, free: 2.75 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 69.3 kB / 464.9 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1582, allocations: 59.6 MB / 0.5122 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.00198/0.1602, allocations: 0.5428 MB / 0.5128 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.1606, allocations: 40 kB / 0.5128 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.1606, allocations: 0 / 0.5128 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.1606, allocations: 0 / 0.5128 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.1606, allocations: 0 / 0.5128 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.161, allocations: 15.92 kB / 0.5128 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.1611, allocations: 8 kB / 0.5128 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.328e-05/0.1611, allocations: 3.938 kB / 0.5128 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1612, allocations: 0 / 0.5128 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.1612, allocations: 4 kB / 0.5128 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1612, allocations: 0 / 0.5128 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1613, allocations: 15.98 kB / 0.5128 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1614, allocations: 0 / 0.5128 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.1614, allocations: 0 / 0.5128 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1615, allocations: 19.95 kB / 0.5129 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1615, allocations: 4 kB / 0.5129 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1615, allocations: 0 / 0.5129 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1615, allocations: 4 kB / 0.5129 GB, free: 4.113 MB / 398.1 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.0004328/0.162, allocations: 307.6 kB / 0.5132 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.162, allocations: 8.031 kB / 0.5132 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1621, allocations: 0.9375 kB / 0.5132 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1622, allocations: 172.3 kB / 0.5133 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1622, allocations: 384 / 0.5133 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1622, allocations: 4.375 kB / 0.5133 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1624, allocations: 29.64 kB / 0.5134 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1624, allocations: 4 kB / 0.5134 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1624, allocations: 0 / 0.5134 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1624, allocations: 0 / 0.5134 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.1624, allocations: 7.938 kB / 0.5134 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.1627, allocations: 145.7 kB / 0.5135 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.979e-05/0.1627, allocations: 26.55 kB / 0.5135 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.1627, allocations: 4.859 kB / 0.5136 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.1628, allocations: 3.938 kB / 0.5136 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1628, allocations: 38.62 kB / 0.5136 GB, free: 3.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1628, allocations: 0 / 0.5136 GB, free: 3.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.163, allocations: 37.64 kB / 0.5136 GB, free: 3.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1631, allocations: 51.41 kB / 0.5137 GB, free: 3.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.1631, allocations: 89.86 kB / 0.5138 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1631, allocations: 25.7 kB / 0.5138 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.1632, allocations: 88.08 kB / 0.5139 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1632, allocations: 8.062 kB / 0.5139 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1633, allocations: 17.66 kB / 0.5139 GB, free: 2.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1634, allocations: 310.8 kB / 0.5142 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.1634, allocations: 4 kB / 0.5142 GB, free: 2.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.1635, allocations: 0 / 0.5142 GB, free: 2.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.1635, allocations: 8.859 kB / 0.5142 GB, free: 2.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1635, allocations: 0 / 0.5142 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.117e-05/0.1636, allocations: 41.62 kB / 0.5142 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1636, allocations: 8.094 kB / 0.5143 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1636, allocations: 4 kB / 0.5143 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1636, allocations: 0 / 0.5143 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.1637, allocations: 3.938 kB / 0.5143 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1637, allocations: 0 / 0.5143 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.1637, allocations: 0 / 0.5143 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1637, allocations: 4 kB / 0.5143 GB, free: 2.465 MB / 398.1 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 (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.354e-05/0.1638, allocations: 106.5 kB / 0.5144 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.1639, allocations: 7.922 kB / 0.5144 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.164, allocations: 44.83 kB / 0.5144 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.164, allocations: 4 kB / 0.5144 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.164, allocations: 0 / 0.5144 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.164, allocations: 0 / 0.5144 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1641, allocations: 145.7 kB / 0.5146 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1641, allocations: 0 / 0.5146 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.1642, allocations: 7.938 kB / 0.5146 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1642, allocations: 3.938 kB / 0.5146 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1642, allocations: 4.031 kB / 0.5146 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1642, allocations: 0 / 0.5146 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1642, allocations: 3.938 kB / 0.5146 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.89e-05/0.1643, allocations: 61.12 kB / 0.5146 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1644, allocations: 81.05 kB / 0.5147 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.1644, allocations: 0 / 0.5147 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.1644, allocations: 4 kB / 0.5147 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.1644, allocations: 4.031 kB / 0.5147 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1644, allocations: 0 / 0.5147 GB, free: 1.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.1645, allocations: 75.28 kB / 0.5148 GB, free: 1.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 0.5148 GB, free: 1.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.1647, allocations: 4 kB / 0.5148 GB, free: 1.816 MB / 398.1 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 (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.0001593/0.1649, allocations: 103.2 kB / 0.5149 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.1649, allocations: 7.938 kB / 0.5149 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.165, allocations: 4.062 kB / 0.5149 GB, free: 1.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.165, allocations: 4 kB / 0.5149 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1651, allocations: 4 kB / 0.5149 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.1654, allocations: 92.78 kB / 0.515 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1657, allocations: 0.6729 MB / 0.5157 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.387e-05/0.1657, allocations: 0 / 0.5157 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1658, allocations: 11.5 kB / 0.5157 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1658, allocations: 4 kB / 0.5157 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Templates: time 0.002743/0.1685, allocations: 285.6 kB / 0.5159 GB, free: 0.5742 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.095592747442424]