Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06002/0.06002, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.00104/0.00104, allocations: 91.27 kB / 35.33 MB, free: 0.9375 MB / 24.77 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.000964/0.000964, allocations: 169.9 kB / 38.73 MB, free: 2.402 MB / 24.77 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 0.9983/0.9983, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004031/0.004031, allocations: 0.8256 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.678/1.678, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Polynomial") translateModel(AixLib.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.973e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Polynomial): time 0.002116/0.002136, allocations: 1.546 MB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.00238, allocations: 95.59 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.002407, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.002466, allocations: 3.938 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.002502, allocations: 4 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.002715, allocations: 19.97 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.00281, allocations: 19.92 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.341e-05/0.002873, allocations: 11.94 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.00291, allocations: 11.98 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.002943, allocations: 7.984 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002956, allocations: 0 / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-05/0.00304, allocations: 23.97 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.00307, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.003086, allocations: 11.94 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003186, allocations: 35.83 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003188, allocations: 4 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003189, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.003191, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 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.0002607/0.003452, allocations: 240.9 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.003485, allocations: 11.98 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.003508, allocations: 4.938 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.003582, allocations: 105.8 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.003591, allocations: 8.375 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.003597, allocations: 384 / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.003689, allocations: 61.75 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.003697, allocations: 192 / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.003704, allocations: 4.375 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.003711, allocations: 384 / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.003735, allocations: 11.88 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.003975, allocations: 153.9 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.004022, allocations: 65.31 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.004035, allocations: 8.922 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.004065, allocations: 0 / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.004086, allocations: 38.5 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.004086, allocations: 0 / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.829e-05/0.004185, allocations: 41.73 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.004217, allocations: 59.34 kB / 0.6404 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.004273, allocations: 110.7 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.004282, allocations: 25.7 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.004311, allocations: 84.09 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.00433, allocations: 11.88 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.004354, allocations: 13.72 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.004432, allocations: 314.8 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.004442, allocations: 6.828 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.004449, allocations: 0 / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.004471, allocations: 19.81 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.004474, allocations: 4 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.215e-05/0.004516, allocations: 37.94 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.004529, allocations: 8 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004534, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.004548, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.004613, allocations: 7.938 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.004615, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.004638, allocations: 7.984 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.004645, allocations: 32 / 0.6411 GB, free: 10.62 MB / 0.6043 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 6.374e-05/0.004708, allocations: 112.7 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.004725, allocations: 4 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.004798, allocations: 45.25 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.0048, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.004804, allocations: 7.938 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.004809, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.777e-05/0.004897, allocations: 69.88 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004898, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.004921, allocations: 4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.004923, allocations: 4.031 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.004927, allocations: 7.938 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004928, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.00493, allocations: 3.984 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.849e-05/0.005018, allocations: 178.2 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.005026, allocations: 3.984 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.005035, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.005064, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.005088, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.00509, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.462e-05/0.005105, allocations: 24.81 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005105, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001234/0.005228, allocations: 4 kB / 0.6415 GB, free: 10.11 MB / 0.6043 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 9.193e-05/0.00532, allocations: 80.41 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.06e-05/0.005371, allocations: 8.859 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.005373, allocations: 4 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.005389, allocations: 16.78 kB / 0.6416 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.00552, allocations: 4.125 kB / 0.6416 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.005725, allocations: 118.5 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.976e-05/0.005755, allocations: 51.36 kB / 0.6418 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.005772, allocations: 11.98 kB / 0.6418 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.005807, allocations: 47.38 kB / 0.6419 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.005807, allocations: 0 / 0.6419 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of Templates: time 0.002077/0.007884, allocations: 0.554 MB / 0.6424 GB, free: 9.152 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Polynomial.sim & ./AixLib_AixLib.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.312443753704429]