Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.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.04151/0.04151, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.0008505/0.0008505, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.001016/0.001016, allocations: 166.7 kB / 38.73 MB, free: 2.508 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.9648/0.9648, 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.004236/0.004236, allocations: 0.8292 MB / 276.5 MB, free: 0.75 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.692/1.692, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate") translateModel(AixLib.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.26e-05, allocations: 2.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Interpolate): time 0.002377/0.0024, allocations: 1.62 MB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.003388, allocations: 0.7436 MB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.003422, allocations: 0 / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.003618, allocations: 131.7 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.003701, allocations: 71.77 kB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.00414, allocations: 167.4 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.004231, allocations: 59.81 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.004264, allocations: 8 kB / 0.6407 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.004345, allocations: 47.86 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.004435, allocations: 67.92 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004448, allocations: 4 kB / 0.6408 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.004785, allocations: 267.5 kB / 0.6411 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.004856, allocations: 63.83 kB / 0.6411 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.004887, allocations: 27.86 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.005169, allocations: 291.2 kB / 0.6414 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005171, allocations: 3.938 kB / 0.6414 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005172, allocations: 4 kB / 0.6414 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005176, allocations: 0 / 0.6414 GB, free: 10.46 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.0003948/0.005571, allocations: 407.3 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005605, allocations: 15.98 kB / 0.6418 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.005635, allocations: 8.922 kB / 0.6418 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005789, allocations: 174 kB / 0.642 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.005797, allocations: 384 / 0.642 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.005803, allocations: 4.312 kB / 0.642 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.484e-05/0.005897, allocations: 49.78 kB / 0.6421 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005905, allocations: 192 / 0.6421 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005911, allocations: 4.375 kB / 0.6421 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.005918, allocations: 7.938 kB / 0.6421 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.005937, allocations: 7.938 kB / 0.6421 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.006158, allocations: 185.9 kB / 0.6423 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.006214, allocations: 65.31 kB / 0.6423 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.006229, allocations: 12.92 kB / 0.6423 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.00627, allocations: 15.98 kB / 0.6423 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.006291, allocations: 30.56 kB / 0.6424 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006292, allocations: 4 kB / 0.6424 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.000112/0.006404, allocations: 53.56 kB / 0.6424 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.006433, allocations: 51.41 kB / 0.6425 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.00659, allocations: 258.9 kB / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.006601, allocations: 25.7 kB / 0.6428 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.00665, allocations: 120.5 kB / 0.6429 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.00666, allocations: 0 / 0.6429 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.006691, allocations: 33.67 kB / 0.6429 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.006779, allocations: 334.8 kB / 0.6432 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.006802, allocations: 14.83 kB / 0.6432 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.006817, allocations: 12 kB / 0.6432 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.006864, allocations: 59.92 kB / 0.6433 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006865, allocations: 3.938 kB / 0.6433 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.113e-05/0.006946, allocations: 77.62 kB / 0.6434 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.006957, allocations: 4 kB / 0.6434 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006962, allocations: 0 / 0.6434 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.006975, allocations: 7.938 kB / 0.6434 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.007018, allocations: 4.078 kB / 0.6434 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.00702, allocations: 4 kB / 0.6434 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.007043, allocations: 11.84 kB / 0.6434 GB, free: 8.266 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007048, allocations: 3.984 kB / 0.6434 GB, free: 8.262 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.803e-05/0.007106, allocations: 120.7 kB / 0.6435 GB, free: 8.133 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.007126, allocations: 11.98 kB / 0.6435 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.007196, allocations: 54.72 kB / 0.6436 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007198, allocations: 3.938 kB / 0.6436 GB, free: 8.059 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007201, allocations: 7.922 kB / 0.6436 GB, free: 8.051 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.007203, allocations: 4 kB / 0.6436 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.851e-05/0.007301, allocations: 101.8 kB / 0.6437 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007303, allocations: 3.984 kB / 0.6437 GB, free: 7.926 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.007319, allocations: 4 kB / 0.6437 GB, free: 7.922 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.00732, allocations: 4.031 kB / 0.6437 GB, free: 7.918 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.007324, allocations: 0 / 0.6437 GB, free: 7.918 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007325, allocations: 0 / 0.6437 GB, free: 7.918 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007326, allocations: 0 / 0.6437 GB, free: 7.918 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.651e-05/0.007412, allocations: 194.2 kB / 0.6439 GB, free: 7.711 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.007433, allocations: 19.84 kB / 0.6439 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.007445, allocations: 4 kB / 0.6439 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.007475, allocations: 0 / 0.6439 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.007505, allocations: 3.938 kB / 0.6439 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.007508, allocations: 3.984 kB / 0.6439 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.007578, allocations: 100.7 kB / 0.644 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007578, allocations: 0 / 0.644 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002056/0.007783, allocations: 67.92 kB / 0.6441 GB, free: 7.512 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 0.0002252/0.008008, allocations: 152.2 kB / 0.6442 GB, free: 7.352 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.871e-05/0.008087, allocations: 24.86 kB / 0.6443 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.008092, allocations: 4 kB / 0.6443 GB, free: 7.32 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.008105, allocations: 8.797 kB / 0.6443 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.008267, allocations: 24.7 kB / 0.6443 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.008784, allocations: 314.9 kB / 0.6446 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.555e-05/0.008839, allocations: 83.17 kB / 0.6447 GB, free: 6.848 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.00887, allocations: 12.48 kB / 0.6447 GB, free: 6.836 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.008916, allocations: 59.38 kB / 0.6447 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of SimCode: time 7.02e-07/0.008916, allocations: 0 / 0.6447 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of Templates: time 0.004283/0.0132, allocations: 2.215 MB / 0.6469 GB, free: 4.562 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.473732878919691]