Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.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.05564/0.05564, allocations: 9.131 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.000842/0.000842, allocations: 95.14 kB / 35.32 MB, free: 0.9414 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.001188/0.001188, allocations: 164 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 0.9802/0.9802, 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.004035/0.004035, allocations: 0.8296 MB / 276.5 MB, free: 0.7422 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.673/1.673, 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.522e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001061/0.001076, allocations: 0.6422 MB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.002508, allocations: 1.482 MB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.002532, allocations: 0 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.002582, allocations: 3.938 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.002617, allocations: 3.984 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.003162, allocations: 223.3 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.003234, allocations: 39.95 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.003266, allocations: 0 / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.003301, allocations: 15.98 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.003342, allocations: 27.91 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.003352, allocations: 0 / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.003657, allocations: 259.6 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.003685, allocations: 7.938 kB / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.003707, allocations: 15.97 kB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.003953, allocations: 267.3 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003955, allocations: 0 / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003955, allocations: 0 / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.003958, allocations: 4 kB / 0.6408 GB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00026/0.004218, allocations: 298.3 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.004247, allocations: 11.98 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.004274, allocations: 8.922 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.032e-05/0.004345, allocations: 113.7 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004355, allocations: 4.375 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.004364, allocations: 384 / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.004453, allocations: 82.77 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.004458, allocations: 192 / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.004466, allocations: 4.312 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004471, allocations: 3.938 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.004496, allocations: 45.69 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.966e-05/0.004556, allocations: 63.81 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.00461, allocations: 60.27 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.004637, allocations: 46.58 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-06/0.004639, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.012e-05/0.00473, allocations: 38.56 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.00473, allocations: 0 / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001351/0.004865, allocations: 162.7 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.004895, allocations: 81.11 kB / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.052e-05/0.004946, allocations: 114.8 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.004955, allocations: 29.73 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.004975, allocations: 92.12 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.005002, allocations: 23.8 kB / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.005028, allocations: 17.7 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.005091, allocations: 322.8 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.005122, allocations: 44.52 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.005144, allocations: 33.7 kB / 0.6425 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.005201, allocations: 107 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005203, allocations: 0 / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.97e-05/0.005282, allocations: 121.1 kB / 0.6427 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.005306, allocations: 41.75 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.00531, allocations: 0 / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.005319, allocations: 0 / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-06/0.005324, allocations: 4 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.005327, allocations: 0.625 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.00537, allocations: 15.88 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.005384, allocations: 4 kB / 0.6427 GB, free: 8.852 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.163e-05/0.005445, allocations: 146.4 kB / 0.6429 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.005457, allocations: 11.98 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.005468, allocations: 4.438 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005469, allocations: 4 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.00547, allocations: 0 / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.005472, allocations: 0 / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.89e-05/0.005521, allocations: 77.81 kB / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005522, allocations: 0 / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.005523, allocations: 3.938 kB / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005524, allocations: 0 / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.00553, allocations: 4 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005531, allocations: 4 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.005532, allocations: 0 / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.005638, allocations: 178.1 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.005646, allocations: 15.97 kB / 0.6432 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.005654, allocations: 0 / 0.6432 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.695e-05/0.005671, allocations: 8 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.005682, allocations: 7.922 kB / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.005689, allocations: 4 kB / 0.6432 GB, free: 8.32 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.566e-05/0.005705, allocations: 20.84 kB / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005705, allocations: 0 / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001881/0.005893, allocations: 71.86 kB / 0.6433 GB, free: 8.227 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001868/0.006079, allocations: 152.2 kB / 0.6434 GB, free: 8.07 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.006204, allocations: 179.5 kB / 0.6436 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.006208, allocations: 4 kB / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.006259, allocations: 121.9 kB / 0.6437 GB, free: 7.723 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.232e-05/0.006312, allocations: 7.938 kB / 0.6437 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.006494, allocations: 176 kB / 0.6439 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.704e-05/0.006521, allocations: 63.2 kB / 0.6439 GB, free: 7.426 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.378e-06/0.006526, allocations: 0 / 0.6439 GB, free: 7.426 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.006587, allocations: 71.36 kB / 0.644 GB, free: 7.355 MB / 0.6043 GB Notification: Performance of SimCode: time 3.7e-07/0.006588, allocations: 0 / 0.644 GB, free: 7.355 MB / 0.6043 GB Notification: Performance of Templates: time 0.003339/0.009927, allocations: 2.37 MB / 0.6463 GB, free: 4.98 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3917072312906384]