Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.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.0684/0.0684, allocations: 9.132 MB / 28.99 MB, free: 0.8164 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.001064/0.001064, allocations: 90.36 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.0009956/0.0009956, allocations: 167.7 kB / 38.73 MB, free: 2.5 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.9321/0.9321, allocations: 177.1 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.004298/0.004298, allocations: 0.8225 MB / 276.5 MB, free: 0.7266 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.65/1.65, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0") translateModel(AixLib.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.454e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.BesselJ0): time 0.001986/0.002011, allocations: 0.6112 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.002471, allocations: 175.3 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.002485, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.002499, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-06/0.002505, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.002903, allocations: 55.75 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.797e-05/0.002941, allocations: 0 / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.00298, allocations: 4 kB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.003007, allocations: 7.938 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.003031, allocations: 0 / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.00304, allocations: 0 / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.003215, allocations: 59.92 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.003226, allocations: 0 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.036e-05/0.003236, allocations: 0 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.003354, allocations: 51.8 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003356, allocations: 0 / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.154e-06/0.003358, allocations: 4 kB / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003362, allocations: 0 / 0.6389 GB, free: 13.1 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002303/0.003592, allocations: 212.7 kB / 0.6391 GB, free: 12.87 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.003631, allocations: 19.98 kB / 0.6391 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.003656, allocations: 0.9375 kB / 0.6391 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.469e-05/0.00372, allocations: 105.8 kB / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003731, allocations: 384 / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.003741, allocations: 4.375 kB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.541e-05/0.003806, allocations: 26.27 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003813, allocations: 192 / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.003819, allocations: 4.312 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.003824, allocations: 384 / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/0.003838, allocations: 11.88 kB / 0.6392 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.687e-05/0.003915, allocations: 61.03 kB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.003956, allocations: 18.61 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.00397, allocations: 12.84 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/0.00435, allocations: 67.98 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.004381, allocations: 34.56 kB / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.004382, allocations: 0 / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.753e-05/0.00448, allocations: 37.64 kB / 0.6394 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.004512, allocations: 51.41 kB / 0.6395 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.076e-05/0.004543, allocations: 89.86 kB / 0.6396 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.004553, allocations: 29.7 kB / 0.6396 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.004575, allocations: 80.14 kB / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.004605, allocations: 3.984 kB / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.00463, allocations: 13.72 kB / 0.6397 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.004713, allocations: 314.8 kB / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.004722, allocations: 4 kB / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.004729, allocations: 4.125 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.004756, allocations: 4.859 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004758, allocations: 3.938 kB / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.044e-05/0.004808, allocations: 37.69 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.00482, allocations: 4 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.004827, allocations: 4 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.00484, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.806e-05/0.004878, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.004881, allocations: 4 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.004891, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.004896, allocations: 4.094 kB / 0.6401 GB, free: 11.7 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): 1 * 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.163e-05/0.004957, allocations: 109.8 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-06/0.004963, allocations: 0 / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.005029, allocations: 44.62 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005031, allocations: 0 / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.005033, allocations: 4 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005037, allocations: 0 / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.846e-05/0.005095, allocations: 65.83 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005096, allocations: 3.938 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.005112, allocations: 4 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.005114, allocations: 4.031 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.005117, allocations: 0 / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.005119, allocations: 0 / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00512, allocations: 0 / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.046e-05/0.00518, allocations: 61.06 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.005186, allocations: 3.938 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-06/0.005193, allocations: 0 / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-06/0.005199, allocations: 3.938 kB / 0.6404 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.00521, allocations: 3.984 kB / 0.6404 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.005213, allocations: 0 / 0.6404 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.013e-06/0.00522, allocations: 12.89 kB / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.00522, allocations: 0 / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001782/0.005398, allocations: 8 kB / 0.6404 GB, free: 11.32 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): 1 * 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.000187/0.005585, allocations: 100.3 kB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.042e-05/0.005635, allocations: 4.859 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.005642, allocations: 12.06 kB / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-06/0.005648, allocations: 4.859 kB / 0.6405 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.599e-05/0.005704, allocations: 3.938 kB / 0.6405 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/0.005875, allocations: 78.77 kB / 0.6406 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.005907, allocations: 59.16 kB / 0.6406 GB, free: 11 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.005918, allocations: 0 / 0.6406 GB, free: 11 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.00595, allocations: 51.38 kB / 0.6407 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.005951, allocations: 0 / 0.6407 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of Templates: time 0.002394/0.008345, allocations: 484.7 kB / 0.6411 GB, free: 10.48 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.289126082789153]