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.04303/0.04303, allocations: 9.13 MB / 28.99 MB, free: 324 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.0007163/0.0007163, allocations: 95.27 kB / 35.33 MB, free: 0.918 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.0009494/0.0009494, allocations: 163.9 kB / 38.73 MB, free: 2.395 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.9694/0.9694, 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.006376/0.006376, allocations: 0.8297 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.607/1.607, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.503e-06/1.503e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.921e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Polynomial): time 0.005302/0.005321, allocations: 1.514 MB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.005592, allocations: 91.61 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.005619, allocations: 0 / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.751e-05/0.005677, allocations: 0 / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.005718, allocations: 11.86 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.005949, allocations: 11.98 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.006039, allocations: 27.92 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.912e-05/0.006109, allocations: 3.984 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.006147, allocations: 15.98 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.006178, allocations: 11.98 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.006193, allocations: 4 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.006268, allocations: 11.98 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.006303, allocations: 15.92 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.006318, allocations: 3.984 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.006408, allocations: 27.91 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00641, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00641, allocations: 0 / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.525e-06/0.006413, allocations: 0 / 0.6396 GB, free: 12.36 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.0002645/0.006677, allocations: 244.9 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.006707, allocations: 11.98 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.00673, allocations: 8.938 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/0.006805, allocations: 113.7 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.006814, allocations: 384 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.006822, allocations: 384 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/0.006912, allocations: 53.78 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.006918, allocations: 192 / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.006926, allocations: 4.375 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006931, allocations: 4.359 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.006951, allocations: 7.938 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.007146, allocations: 154 kB / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.00722, allocations: 73.25 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.007235, allocations: 4.859 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.007269, allocations: 12.09 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.007291, allocations: 30.56 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.007292, allocations: 0 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001064/0.007398, allocations: 37.64 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.007428, allocations: 55.34 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.007489, allocations: 110.7 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007499, allocations: 25.7 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.007529, allocations: 84.22 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.007543, allocations: 11.95 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.007572, allocations: 17.7 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.00765, allocations: 318.8 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.00766, allocations: 2.828 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.007669, allocations: 4 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.007695, allocations: 15.67 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.007696, allocations: 0 / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.093e-05/0.007747, allocations: 37.64 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007758, allocations: 4.094 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.007762, allocations: 4 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007773, allocations: 0 / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.007836, allocations: 11.92 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.007838, allocations: 0 / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.007859, allocations: 11.88 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.007863, allocations: 256 / 0.641 GB, free: 10.75 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 5.261e-05/0.007916, allocations: 112.7 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.007936, allocations: 0 / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.762e-05/0.008003, allocations: 49.31 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.008008, allocations: 8.016 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008012, allocations: 3.938 kB / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.008014, allocations: 3.938 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.008123, allocations: 61.91 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008124, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.008151, allocations: 11.98 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.008153, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.008157, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008158, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008159, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.57e-05/0.008245, allocations: 182.2 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.008254, allocations: 11.98 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.008263, allocations: 0 / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.008307, allocations: 0 / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.008334, allocations: 7.984 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.008337, allocations: 0 / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.406e-05/0.008351, allocations: 12.8 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008351, allocations: 0 / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001885/0.008539, allocations: 7.938 kB / 0.6414 GB, free: 10.23 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.427e-05/0.008634, allocations: 76.42 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.257e-05/0.008686, allocations: 20.88 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008688, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.008703, allocations: 12.86 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.008858, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.009076, allocations: 114.4 kB / 0.6416 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.009114, allocations: 59.28 kB / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.607e-05/0.00913, allocations: 4.125 kB / 0.6417 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.009168, allocations: 55.38 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.009168, allocations: 0 / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of Templates: time 0.003521/0.01269, allocations: 0.5579 MB / 0.6423 GB, free: 9.273 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.281168877147138]