Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.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.002006/0.002006, 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.003111/0.003111, allocations: 192.7 kB / 22.11 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.791/1.791, 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.3134/0.3134, allocations: 55.67 MB / 340.7 MB, free: 13.98 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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") translateModel(Annex60.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") [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.002527/0.002527, allocations: 82.22 kB / 482.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4379, allocations: 62.85 MB / 0.5321 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.00329/0.4412, allocations: 1.425 MB / 0.5335 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003937/0.4416, allocations: 87.03 kB / 0.5336 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.4417, allocations: 0 / 0.5336 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.917e-05/0.4417, allocations: 1.844 kB / 0.5336 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.4418, allocations: 6.531 kB / 0.5336 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.4421, allocations: 18.39 kB / 0.5336 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.4422, allocations: 20.31 kB / 0.5337 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4423, allocations: 12.34 kB / 0.5337 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.4423, allocations: 17.3 kB / 0.5337 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.4424, allocations: 13.8 kB / 0.5337 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4424, allocations: 2.125 kB / 0.5337 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.4425, allocations: 24.14 kB / 0.5337 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.4426, allocations: 6.328 kB / 0.5337 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.4426, allocations: 11.5 kB / 0.5337 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.4427, allocations: 38.61 kB / 0.5338 GB, free: 6.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4427, allocations: 0 / 0.5338 GB, free: 6.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4427, allocations: 0 / 0.5338 GB, free: 6.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.4428, allocations: 1.031 kB / 0.5338 GB, free: 6.754 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004219/0.4432, allocations: 272.5 kB / 0.534 GB, free: 6.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4432, allocations: 10.47 kB / 0.534 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.4433, allocations: 2.094 kB / 0.534 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.4434, allocations: 114.5 kB / 0.5342 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4434, allocations: 1.562 kB / 0.5342 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4434, allocations: 5.562 kB / 0.5342 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.4436, allocations: 54.33 kB / 0.5342 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4436, allocations: 4 kB / 0.5342 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4436, allocations: 5.219 kB / 0.5342 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4436, allocations: 0 / 0.5342 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.4438, allocations: 35.59 kB / 0.5343 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.4441, allocations: 227.4 kB / 0.5345 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4442, allocations: 46.83 kB / 0.5345 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.4443, allocations: 25.78 kB / 0.5345 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.4444, allocations: 3.016 kB / 0.5345 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4444, allocations: 35.25 kB / 0.5346 GB, free: 5.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4444, allocations: 1.188 kB / 0.5346 GB, free: 5.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000401/0.4448, allocations: 88.36 kB / 0.5347 GB, free: 5.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.4448, allocations: 52.69 kB / 0.5347 GB, free: 5.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.4449, allocations: 109 kB / 0.5348 GB, free: 5.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.557e-06/0.4449, allocations: 25.7 kB / 0.5348 GB, free: 5.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.4449, allocations: 87.84 kB / 0.5349 GB, free: 5.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.445, allocations: 4.656 kB / 0.5349 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.445, allocations: 12.83 kB / 0.5349 GB, free: 5.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.445, allocations: 325.5 kB / 0.5353 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.4451, allocations: 19.67 kB / 0.5353 GB, free: 5.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.4452, allocations: 19.94 kB / 0.5353 GB, free: 5.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4454, allocations: 40.77 kB / 0.5353 GB, free: 5.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4454, allocations: 0 / 0.5353 GB, free: 5.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.4456, allocations: 71.3 kB / 0.5354 GB, free: 5.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4456, allocations: 5.781 kB / 0.5354 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4456, allocations: 0 / 0.5354 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4456, allocations: 3.938 kB / 0.5354 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.4457, allocations: 13.92 kB / 0.5354 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4457, allocations: 256 / 0.5354 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.4458, allocations: 14.48 kB / 0.5354 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4458, allocations: 4.797 kB / 0.5354 GB, free: 5.219 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 (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 4.802e-05/0.4458, allocations: 116.7 kB / 0.5356 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.4458, allocations: 2.25 kB / 0.5356 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.4461, allocations: 75.91 kB / 0.5356 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4461, allocations: 0.6094 kB / 0.5356 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4461, allocations: 0.875 kB / 0.5356 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4461, allocations: 0.7969 kB / 0.5356 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4462, allocations: 134.4 kB / 0.5358 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4462, allocations: 4.031 kB / 0.5358 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.4463, allocations: 9.406 kB / 0.5358 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4463, allocations: 3.938 kB / 0.5358 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4463, allocations: 0.9688 kB / 0.5358 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4463, allocations: 0.75 kB / 0.5358 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4463, allocations: 1.594 kB / 0.5358 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.4465, allocations: 169.9 kB / 0.5359 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.4465, allocations: 5.078 kB / 0.5359 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4465, allocations: 1.875 kB / 0.5359 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.4466, allocations: 5.844 kB / 0.5359 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.4467, allocations: 6.266 kB / 0.536 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4467, allocations: 1.406 kB / 0.536 GB, free: 4.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.844e-05/0.4467, allocations: 82.48 kB / 0.536 GB, free: 4.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4467, allocations: 1.125 kB / 0.536 GB, free: 4.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.4469, allocations: 10.62 kB / 0.536 GB, free: 4.656 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 (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.0001219/0.447, allocations: 104.3 kB / 0.5361 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.4473, allocations: 51.67 kB / 0.5362 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4473, allocations: 0 / 0.5362 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.4474, allocations: 21.27 kB / 0.5362 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.4477, allocations: 3.859 kB / 0.5362 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.4479, allocations: 117.9 kB / 0.5363 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.4481, allocations: 0.6779 MB / 0.537 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.4481, allocations: 1 kB / 0.537 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.4481, allocations: 10.33 kB / 0.537 GB, free: 3.723 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4481, allocations: 0 / 0.537 GB, free: 3.723 MB / 398.1 MB Notification: Performance of Templates: time 0.003511/0.4516, allocations: 0.557 MB / 0.5375 GB, free: 3.645 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.659130553714931] Failed to read output from testmodel.py, exit status != 0: 0.4606125829741359 0.47568801800000005 0.028712863 Calling exit ...