Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.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.04158/0.04158, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 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.000876/0.000876, allocations: 99.08 kB / 35.33 MB, free: 1.062 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.00111/0.00111, allocations: 163.7 kB / 38.73 MB, free: 2.496 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.9692/0.9692, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004047/0.004047, allocations: 0.8374 MB / 276.5 MB, free: 0.7383 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.635/1.635, allocations: 274.9 MB / 0.5419 GB, free: 0.5859 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial") translateModel(AixLib.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.757e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Polynomial): time 0.001342/0.001369, allocations: 0.6189 MB / 0.6385 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.001553, allocations: 27.89 kB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.146e-05/0.001564, allocations: 4 kB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.001577, allocations: 0 / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.001584, allocations: 0 / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.001843, allocations: 7.984 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.918e-05/0.001882, allocations: 0 / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.001917, allocations: 7.984 kB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/0.001948, allocations: 4 kB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.001966, allocations: 3.938 kB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.001979, allocations: 0 / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-05/0.002047, allocations: 15.98 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-06/0.002057, allocations: 3.984 kB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.766e-06/0.002066, allocations: 0 / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.026e-05/0.002136, allocations: 15.92 kB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002138, allocations: 0 / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002139, allocations: 0 / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.766e-06/0.002141, allocations: 0 / 0.6386 GB, free: 13.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001976/0.002339, allocations: 212.7 kB / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.002372, allocations: 19.98 kB / 0.6388 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.002394, allocations: 0.9375 kB / 0.6388 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.295e-05/0.002447, allocations: 105.8 kB / 0.6389 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.002457, allocations: 384 / 0.6389 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.002465, allocations: 384 / 0.6389 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.835e-05/0.002524, allocations: 34.25 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.002531, allocations: 4.172 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-06/0.002536, allocations: 4.312 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.00254, allocations: 384 / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.016e-05/0.002551, allocations: 7.938 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.036e-05/0.002611, allocations: 57.03 kB / 0.639 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/0.002643, allocations: 22.61 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.043e-05/0.002653, allocations: 4.859 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.002676, allocations: 0 / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.002695, allocations: 34.62 kB / 0.6391 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.002696, allocations: 0 / 0.6391 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.594e-05/0.002772, allocations: 37.62 kB / 0.6391 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.002802, allocations: 55.41 kB / 0.6392 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.34e-05/0.002826, allocations: 89.86 kB / 0.6393 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.002833, allocations: 25.7 kB / 0.6393 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.002856, allocations: 84.27 kB / 0.6394 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.002878, allocations: 4 kB / 0.6394 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/0.002897, allocations: 9.719 kB / 0.6394 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.002967, allocations: 314.8 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.002975, allocations: 4 kB / 0.6397 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.002981, allocations: 3.984 kB / 0.6397 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.003002, allocations: 12.8 kB / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.003004, allocations: 0 / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.139e-05/0.003035, allocations: 33.64 kB / 0.6397 GB, free: 12 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.003045, allocations: 4.094 kB / 0.6397 GB, free: 12 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.003049, allocations: 4 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.003059, allocations: 0 / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.003107, allocations: 4 kB / 0.6398 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.00311, allocations: 3.984 kB / 0.6398 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-06/0.003118, allocations: 0 / 0.6398 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.003127, allocations: 0 / 0.6398 GB, free: 11.99 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 (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.687e-05/0.003174, allocations: 113.8 kB / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-06/0.003178, allocations: 0 / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.003243, allocations: 48.62 kB / 0.6399 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.003244, allocations: 0 / 0.6399 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.003246, allocations: 0 / 0.6399 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.003248, allocations: 0 / 0.6399 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.778e-05/0.003296, allocations: 69.84 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003296, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.003304, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.003305, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-06/0.003308, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.003308, allocations: 4 kB / 0.64 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.003309, allocations: 4.031 kB / 0.64 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.998e-05/0.003349, allocations: 64.98 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-06/0.003354, allocations: 4 kB / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-06/0.003359, allocations: 0 / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-06/0.003364, allocations: 0 / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.003373, allocations: 0 / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.003376, allocations: 0 / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.35e-06/0.003381, allocations: 4.859 kB / 0.6401 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.003381, allocations: 4 kB / 0.6401 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.574e-05/0.003477, allocations: 3.984 kB / 0.6401 GB, free: 11.62 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 (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.0001023/0.003579, allocations: 88.39 kB / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.708e-05/0.003627, allocations: 12.86 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.003629, allocations: 0 / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.003634, allocations: 8.859 kB / 0.6402 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.267e-05/0.003677, allocations: 3.938 kB / 0.6402 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001472/0.003824, allocations: 86.64 kB / 0.6403 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.537e-05/0.003849, allocations: 55.22 kB / 0.6403 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.00387, allocations: 8.125 kB / 0.6403 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.0039, allocations: 47.38 kB / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of SimCode: time 7.52e-07/0.003901, allocations: 0 / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of Templates: time 0.001675/0.005576, allocations: 320.8 kB / 0.6407 GB, free: 10.94 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.234083003830165]