Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.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.04131/0.04131, 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.0008492/0.0008492, allocations: 90.94 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.0009664/0.0009664, 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 0.9855/0.9855, allocations: 177.2 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.004432/0.004432, allocations: 0.8183 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.711/1.711, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks") translateModel(AixLib.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.636e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothBlocks): time 0.002641/0.002668, allocations: 1.886 MB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003794, allocations: 0.724 MB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.003866, allocations: 0 / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.003905, allocations: 15.81 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.003979, allocations: 23.78 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.004481, allocations: 175.5 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.004657, allocations: 127.6 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.00478, allocations: 42.23 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.004955, allocations: 95.73 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.00503, allocations: 35.88 kB / 0.641 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.005053, allocations: 8 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.005175, allocations: 55.95 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.0052, allocations: 23.92 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.005236, allocations: 39.89 kB / 0.6411 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.005436, allocations: 147.4 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005439, allocations: 0 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.453e-06/0.00544, allocations: 0 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.005446, allocations: 0 / 0.6412 GB, free: 10.66 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000379/0.005825, allocations: 336.3 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005859, allocations: 11.98 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.00628, allocations: 100.8 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006468, allocations: 146 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.006539, allocations: 123.3 kB / 0.6419 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.006556, allocations: 12.38 kB / 0.6419 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.006777, allocations: 193.9 kB / 0.6421 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.006784, allocations: 0 / 0.6421 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006796, allocations: 0 / 0.6421 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.006802, allocations: 4 kB / 0.6421 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.006854, allocations: 28 kB / 0.6421 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.007318, allocations: 279.9 kB / 0.6424 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.007562, allocations: 122.4 kB / 0.6425 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.007594, allocations: 24.84 kB / 0.6425 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.007612, allocations: 0 / 0.6425 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.007635, allocations: 38.56 kB / 0.6426 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/0.007637, allocations: 3.984 kB / 0.6426 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.000184/0.007821, allocations: 85.98 kB / 0.6427 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.007846, allocations: 51.41 kB / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.007926, allocations: 150.5 kB / 0.6428 GB, free: 8.824 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.007945, allocations: 29.7 kB / 0.6429 GB, free: 8.789 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.007988, allocations: 112.2 kB / 0.643 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.008007, allocations: 15.8 kB / 0.643 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.008047, allocations: 29.69 kB / 0.643 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.008121, allocations: 322.8 kB / 0.6433 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.00815, allocations: 20.06 kB / 0.6434 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.008189, allocations: 34.56 kB / 0.6434 GB, free: 8.238 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.008265, allocations: 62.48 kB / 0.6434 GB, free: 8.168 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008266, allocations: 0 / 0.6434 GB, free: 8.168 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.008367, allocations: 77.61 kB / 0.6435 GB, free: 8.086 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.008379, allocations: 4 kB / 0.6435 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008383, allocations: 0 / 0.6435 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.008398, allocations: 4.062 kB / 0.6435 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.008505, allocations: 35.95 kB / 0.6436 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.008509, allocations: 3.938 kB / 0.6436 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.008563, allocations: 15.98 kB / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.008571, allocations: 0 / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 6.339e-05/0.008635, allocations: 113.8 kB / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.008661, allocations: 15.86 kB / 0.6437 GB, free: 7.887 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.008793, allocations: 86.42 kB / 0.6438 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008795, allocations: 0 / 0.6438 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.008797, allocations: 3.938 kB / 0.6438 GB, free: 7.793 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.008799, allocations: 4 kB / 0.6438 GB, free: 7.789 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.008917, allocations: 105.8 kB / 0.6439 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008919, allocations: 0 / 0.6439 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.008992, allocations: 23.97 kB / 0.6439 GB, free: 7.645 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.008993, allocations: 0 / 0.6439 GB, free: 7.645 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.009002, allocations: 3.984 kB / 0.6439 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009003, allocations: 4.125 kB / 0.6439 GB, free: 7.637 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.009006, allocations: 4 kB / 0.6439 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.009118, allocations: 171.4 kB / 0.6441 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.009129, allocations: 11.91 kB / 0.6441 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.009141, allocations: 0 / 0.6441 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.009236, allocations: 23.97 kB / 0.6441 GB, free: 7.414 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.009263, allocations: 4 kB / 0.6441 GB, free: 7.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.009274, allocations: 3.984 kB / 0.6441 GB, free: 7.406 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.0093, allocations: 36.75 kB / 0.6442 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.0093, allocations: 0 / 0.6442 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001451/0.009445, allocations: 28 kB / 0.6442 GB, free: 7.34 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 (6): * Single equations (assignments): 6 * 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.017e-05/0.009535, allocations: 72.42 kB / 0.6443 GB, free: 7.262 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.009636, allocations: 56.78 kB / 0.6443 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.009639, allocations: 0 / 0.6443 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.009673, allocations: 28.84 kB / 0.6443 GB, free: 7.172 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.009823, allocations: 15.98 kB / 0.6444 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.01025, allocations: 228.9 kB / 0.6446 GB, free: 6.906 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.01028, allocations: 67.2 kB / 0.6446 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.021e-05/0.01034, allocations: 19.98 kB / 0.6447 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.01048, allocations: 79.31 kB / 0.6447 GB, free: 6.723 MB / 0.6043 GB Notification: Performance of SimCode: time 6.11e-07/0.01048, allocations: 0 / 0.6447 GB, free: 6.723 MB / 0.6043 GB Notification: Performance of Templates: time 0.003023/0.01351, allocations: 1.637 MB / 0.6463 GB, free: 5.086 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.383193990215659]