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.001895/0.001895, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002152/0.002152, allocations: 189.4 kB / 22.1 MB, free: 5.152 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.538/1.538, allocations: 207.6 MB / 232.8 MB, free: 10.03 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.2984/0.2984, allocations: 55.68 MB / 340.7 MB, free: 14.06 MB / 286.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.002288/0.002288, allocations: 75.88 kB / 482.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.43, allocations: 62.87 MB / 0.5322 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.002037/0.432, allocations: 0.5486 MB / 0.5327 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003192/0.4323, allocations: 42.95 kB / 0.5327 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.4323, allocations: 0 / 0.5327 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.4323, allocations: 0 / 0.5327 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-06/0.4324, allocations: 0 / 0.5327 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.4328, allocations: 17.81 kB / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.4328, allocations: 7.344 kB / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.4329, allocations: 1.984 kB / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.4329, allocations: 0 / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.433, allocations: 1.922 kB / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.433, allocations: 0 / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.4331, allocations: 21.89 kB / 0.5328 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.4331, allocations: 1.781 kB / 0.5328 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.4331, allocations: 0 / 0.5328 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.4333, allocations: 23.11 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4333, allocations: 1.797 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4333, allocations: 0 / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4333, allocations: 0 / 0.5328 GB, free: 7.555 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.0003677/0.4337, allocations: 237 kB / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.4337, allocations: 9.031 kB / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4338, allocations: 6.469 kB / 0.5331 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.4339, allocations: 108.3 kB / 0.5332 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4339, allocations: 1.438 kB / 0.5332 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.4339, allocations: 4.312 kB / 0.5332 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.434, allocations: 33.72 kB / 0.5332 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.434, allocations: 0 / 0.5332 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.434, allocations: 0.7031 kB / 0.5332 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.434, allocations: 1.5 kB / 0.5332 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.4341, allocations: 1.75 kB / 0.5332 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.4342, allocations: 124 kB / 0.5333 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.4342, allocations: 15.86 kB / 0.5333 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.4343, allocations: 10.41 kB / 0.5333 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.4343, allocations: 6.031 kB / 0.5333 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.4343, allocations: 33.03 kB / 0.5334 GB, free: 6.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4343, allocations: 0 / 0.5334 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.4345, allocations: 41.02 kB / 0.5334 GB, free: 6.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.4345, allocations: 55.53 kB / 0.5335 GB, free: 6.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.134e-05/0.4345, allocations: 90.52 kB / 0.5336 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.4345, allocations: 26.8 kB / 0.5336 GB, free: 6.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.297e-05/0.4345, allocations: 80.14 kB / 0.5337 GB, free: 6.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.4346, allocations: 3.766 kB / 0.5337 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.4346, allocations: 12.53 kB / 0.5337 GB, free: 6.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.4346, allocations: 311.6 kB / 0.534 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.4346, allocations: 9 kB / 0.534 GB, free: 6.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.4346, allocations: 6.734 kB / 0.534 GB, free: 6.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.4347, allocations: 12.14 kB / 0.534 GB, free: 6.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4347, allocations: 0 / 0.534 GB, free: 6.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.023e-05/0.4347, allocations: 37.56 kB / 0.534 GB, free: 6.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4347, allocations: 6.047 kB / 0.534 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4348, allocations: 0 / 0.534 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4348, allocations: 0 / 0.534 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.4348, allocations: 3.172 kB / 0.534 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4348, allocations: 96 / 0.534 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.4348, allocations: 10.05 kB / 0.534 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4349, allocations: 1.344 kB / 0.5341 GB, free: 6.18 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 4.883e-05/0.4349, allocations: 111.8 kB / 0.5342 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.4349, allocations: 3.938 kB / 0.5342 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.435, allocations: 45.72 kB / 0.5342 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.435, allocations: 5.438 kB / 0.5342 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.435, allocations: 0 / 0.5342 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.435, allocations: 0.6562 kB / 0.5342 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.633e-05/0.4351, allocations: 115.7 kB / 0.5343 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.4351, allocations: 1.438 kB / 0.5343 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.4351, allocations: 5.953 kB / 0.5343 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4351, allocations: 0 / 0.5343 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.4351, allocations: 1.859 kB / 0.5343 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.4351, allocations: 0 / 0.5343 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4351, allocations: 1.375 kB / 0.5343 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.029e-05/0.4352, allocations: 66.62 kB / 0.5344 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-06/0.4352, allocations: 4.641 kB / 0.5344 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4352, allocations: 1.281 kB / 0.5344 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.4352, allocations: 0 / 0.5344 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.4352, allocations: 2.078 kB / 0.5344 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.4352, allocations: 2.172 kB / 0.5344 GB, free: 5.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.644e-05/0.4352, allocations: 79.28 kB / 0.5345 GB, free: 5.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4352, allocations: 0 / 0.5345 GB, free: 5.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.4355, allocations: 8.031 kB / 0.5345 GB, free: 5.699 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.0001321/0.4356, allocations: 97.84 kB / 0.5346 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.4357, allocations: 8.375 kB / 0.5346 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4357, allocations: 1.094 kB / 0.5346 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.4357, allocations: 5.156 kB / 0.5346 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.4358, allocations: 10.67 kB / 0.5346 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.436, allocations: 88.69 kB / 0.5347 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4361, allocations: 0.6714 MB / 0.5353 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.26e-05/0.4361, allocations: 5 kB / 0.5353 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.4361, allocations: 9.234 kB / 0.5354 GB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4361, allocations: 1.094 kB / 0.5354 GB, free: 4.785 MB / 398.1 MB Notification: Performance of Templates: time 0.002736/0.4389, allocations: 300.8 kB / 0.5356 GB, free: 4.719 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.26798602193594] Failed to read output from testmodel.py, exit status != 0: 0.4474043296650052 0.462894658 0.026131282000000002 Calling exit ...