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.04319/0.04319, allocations: 9.13 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.0009852/0.0009852, allocations: 98.64 kB / 35.33 MB, free: 0.9336 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.001179/0.001179, allocations: 166.3 kB / 38.73 MB, free: 2.406 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 1.103/1.103, 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.004042/0.004042, allocations: 0.8262 MB / 276.5 MB, free: 0.7305 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.716/1.716, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.243e-06/1.243e-06, allocations: 0 / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.15e-05, allocations: 2.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Polynomial): time 0.001322/0.001343, allocations: 0.666 MB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.001522, allocations: 27.84 kB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.164e-05/0.001534, allocations: 0 / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.001545, allocations: 0 / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.001552, allocations: 0 / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.001792, allocations: 11.98 kB / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.196e-05/0.001834, allocations: 4 kB / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.001869, allocations: 3.984 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.001897, allocations: 0 / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.001918, allocations: 11.94 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.00193, allocations: 0 / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.841e-05/0.002018, allocations: 19.97 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.002027, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.958e-06/0.002037, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.899e-05/0.002116, allocations: 7.984 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002118, allocations: 0 / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002119, allocations: 0 / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.002122, allocations: 7.938 kB / 0.6387 GB, free: 13.27 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.0001946/0.002317, allocations: 212.7 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.00235, allocations: 11.98 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.002371, allocations: 4.938 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.164e-05/0.002433, allocations: 109.8 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.002442, allocations: 384 / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-06/0.002447, allocations: 384 / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.002509, allocations: 34.27 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002516, allocations: 192 / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-06/0.002521, allocations: 384 / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.002526, allocations: 384 / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.18e-05/0.002538, allocations: 7.922 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.263e-05/0.002611, allocations: 61.03 kB / 0.6391 GB, free: 12.76 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.002645, allocations: 22.52 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/0.002657, allocations: 8.953 kB / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.002682, allocations: 0 / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.002701, allocations: 30.56 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.002702, allocations: 0 / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.736e-05/0.002779, allocations: 33.64 kB / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.002809, allocations: 59.39 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.674e-05/0.002836, allocations: 89.86 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.002845, allocations: 25.7 kB / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.002865, allocations: 84.27 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.002891, allocations: 7.938 kB / 0.6395 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.002913, allocations: 13.72 kB / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.002996, allocations: 314.8 kB / 0.6398 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-06/0.003002, allocations: 0 / 0.6398 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.003007, allocations: 0 / 0.6398 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.003028, allocations: 8.859 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00303, allocations: 0 / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.856e-05/0.003068, allocations: 37.62 kB / 0.6398 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.003082, allocations: 11.91 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.003087, allocations: 4.094 kB / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.003098, allocations: 0 / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.003141, allocations: 0 / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.003144, allocations: 0 / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.003153, allocations: 4 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.003162, allocations: 0 / 0.6399 GB, free: 11.94 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 5.149e-05/0.003213, allocations: 117.8 kB / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-06/0.003217, allocations: 0 / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.003287, allocations: 48.7 kB / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.003288, allocations: 0 / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.003289, allocations: 0 / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.003291, allocations: 0 / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.176e-05/0.003333, allocations: 65.83 kB / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003334, allocations: 0 / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-06/0.003343, allocations: 7.938 kB / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.003344, allocations: 0 / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.003347, allocations: 0 / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.003347, allocations: 0 / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.003348, allocations: 0 / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.148e-05/0.00339, allocations: 65.09 kB / 0.6401 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-06/0.003393, allocations: 0 / 0.6401 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-06/0.003399, allocations: 0 / 0.6401 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-06/0.003404, allocations: 4 kB / 0.6401 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.003414, allocations: 0 / 0.6401 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.003416, allocations: 0 / 0.6401 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.732e-06/0.003423, allocations: 4.859 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003423, allocations: 0 / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.677e-05/0.00352, allocations: 7.938 kB / 0.6402 GB, free: 11.57 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 9.763e-05/0.003617, allocations: 88.44 kB / 0.6402 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.43e-05/0.003662, allocations: 16.8 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.003663, allocations: 0 / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.003668, allocations: 4.859 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.875e-05/0.003717, allocations: 7.938 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001366/0.003854, allocations: 78.77 kB / 0.6403 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.003885, allocations: 55.22 kB / 0.6404 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.003905, allocations: 4.125 kB / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.003934, allocations: 51.38 kB / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of SimCode: time 6.72e-07/0.003935, allocations: 0 / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of Templates: time 0.001663/0.005597, allocations: 320.8 kB / 0.6408 GB, free: 10.89 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.392517181579024]