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.04195/0.04195, allocations: 9.13 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.0008724/0.0008724, allocations: 87.28 kB / 35.32 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.001044/0.001044, allocations: 163.6 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 1.017/1.017, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.004205/0.004205, allocations: 0.83 MB / 276.5 MB, free: 0.7188 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.706/1.706, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.353e-06/1.353e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.296e-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.SmoothInterpolation): time 0.001366/0.001389, allocations: 0.6894 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.003011, allocations: 1.482 MB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.003038, allocations: 4 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.424e-05/0.003092, allocations: 3.938 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.00313, allocations: 0 / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.003655, allocations: 187.4 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.003734, allocations: 35.91 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.00377, allocations: 7.984 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.003811, allocations: 19.98 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.003855, allocations: 23.97 kB / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.003866, allocations: 0 / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.00424, allocations: 295.4 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.004275, allocations: 7.984 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.0043, allocations: 11.94 kB / 0.6407 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.004556, allocations: 259.4 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004559, allocations: 0 / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00456, allocations: 4 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004563, allocations: 0 / 0.6409 GB, free: 11 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.000274/0.004837, allocations: 310.2 kB / 0.6412 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.004873, allocations: 15.97 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.004902, allocations: 4.938 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.004982, allocations: 113.7 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004992, allocations: 4.375 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.004999, allocations: 384 / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.005097, allocations: 78.77 kB / 0.6414 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.005103, allocations: 4.125 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.005111, allocations: 4.359 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005116, allocations: 3.938 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.005142, allocations: 37.7 kB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.459e-05/0.005207, allocations: 67.81 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.97e-05/0.005267, allocations: 64.27 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.005296, allocations: 46.58 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-06/0.005299, allocations: 0 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.00532, allocations: 38.55 kB / 0.6417 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.005321, allocations: 0 / 0.6417 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001581/0.005479, allocations: 166.7 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.005509, allocations: 85.09 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.005569, allocations: 106.9 kB / 0.642 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.005579, allocations: 25.7 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.005607, allocations: 96.14 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.005635, allocations: 19.81 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.005667, allocations: 25.69 kB / 0.6422 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.005742, allocations: 318.8 kB / 0.6425 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.005774, allocations: 40.52 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.005801, allocations: 41.69 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.005868, allocations: 103 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00587, allocations: 0 / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.306e-05/0.005963, allocations: 121.7 kB / 0.6428 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.005994, allocations: 37.69 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005998, allocations: 64 / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006011, allocations: 7.938 kB / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.006012, allocations: 0 / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.006014, allocations: 0 / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.006063, allocations: 19.86 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.006079, allocations: 4 kB / 0.6428 GB, free: 8.773 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 8.12e-05/0.00616, allocations: 150.4 kB / 0.643 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.006173, allocations: 12 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.006188, allocations: 4.438 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.00619, allocations: 0 / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006191, allocations: 0 / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006194, allocations: 4 kB / 0.643 GB, free: 8.586 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.236e-05/0.006246, allocations: 77.81 kB / 0.6431 GB, free: 8.492 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006247, allocations: 3.938 kB / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.006248, allocations: 0 / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006249, allocations: 0 / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.006255, allocations: 4 kB / 0.6431 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006256, allocations: 0 / 0.6431 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006256, allocations: 0 / 0.6431 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.00638, allocations: 174.1 kB / 0.6432 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.006387, allocations: 3.953 kB / 0.6432 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.006396, allocations: 4 kB / 0.6432 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.006419, allocations: 16.02 kB / 0.6433 GB, free: 8.258 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.006431, allocations: 4 kB / 0.6433 GB, free: 8.254 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.006438, allocations: 4 kB / 0.6433 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.667e-05/0.006455, allocations: 16.83 kB / 0.6433 GB, free: 8.23 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006455, allocations: 0 / 0.6433 GB, free: 8.23 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001873/0.006642, allocations: 71.88 kB / 0.6434 GB, free: 8.16 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.0002253/0.006868, allocations: 160.2 kB / 0.6435 GB, free: 7.996 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.007009, allocations: 167.6 kB / 0.6437 GB, free: 7.805 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007012, allocations: 64 / 0.6437 GB, free: 7.805 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.007072, allocations: 133.9 kB / 0.6438 GB, free: 7.652 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.815e-05/0.00715, allocations: 11.88 kB / 0.6438 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.007369, allocations: 176 kB / 0.644 GB, free: 7.434 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.007401, allocations: 63.22 kB / 0.644 GB, free: 7.352 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.22e-06/0.007406, allocations: 0 / 0.644 GB, free: 7.352 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.007473, allocations: 67.36 kB / 0.6441 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of SimCode: time 6.22e-07/0.007473, allocations: 0 / 0.6441 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of Templates: time 0.003765/0.01124, allocations: 2.372 MB / 0.6464 GB, free: 4.91 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.389921370893717]