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.04198/0.04198, allocations: 9.128 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.0007894/0.0007894, 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.001007/0.001007, allocations: 164.5 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.9494/0.9494, 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.00409/0.00409, allocations: 0.8261 MB / 276.5 MB, free: 0.7148 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.746/1.746, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.573e-06/1.573e-06, allocations: 0 / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.606e-05, allocations: 2.312 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.BesselJ0): time 0.001093/0.001109, allocations: 0.6699 MB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.001448, allocations: 163.4 kB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.081e-05/0.001459, allocations: 4 kB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.00147, allocations: 0 / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-06/0.001475, allocations: 0 / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.001758, allocations: 51.7 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.726e-05/0.001795, allocations: 0 / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.001831, allocations: 3.984 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.001862, allocations: 8 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.001883, allocations: 0 / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.001891, allocations: 0 / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.002063, allocations: 59.92 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.002076, allocations: 4 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-06/0.002085, allocations: 0 / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.002189, allocations: 47.81 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00219, allocations: 0 / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.51e-07/0.002191, allocations: 3.938 kB / 0.6389 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002196, allocations: 4 kB / 0.6389 GB, free: 12.99 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.0001881/0.002384, allocations: 212.7 kB / 0.6392 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.002416, allocations: 15.98 kB / 0.6392 GB, free: 12.74 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.002441, allocations: 0.9375 kB / 0.6392 GB, free: 12.74 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.167e-05/0.002502, allocations: 101.8 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.00251, allocations: 384 / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.002516, allocations: 8.375 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.002e-05/0.002576, allocations: 30.25 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.002582, allocations: 192 / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.002587, allocations: 384 / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.002592, allocations: 384 / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.201e-05/0.002604, allocations: 11.88 kB / 0.6393 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.674e-05/0.00267, allocations: 57.05 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.118e-05/0.002702, allocations: 18.61 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.166e-05/0.002713, allocations: 4.859 kB / 0.6394 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.00299, allocations: 71.98 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.003013, allocations: 38.56 kB / 0.6395 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.003013, allocations: 0 / 0.6395 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.24e-05/0.003086, allocations: 33.64 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.003107, allocations: 51.41 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.322e-05/0.00313, allocations: 93.84 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.003138, allocations: 25.83 kB / 0.6397 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.003155, allocations: 84.14 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.003177, allocations: 0 / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.003195, allocations: 13.72 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.003262, allocations: 318.8 kB / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.003266, allocations: 0 / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-06/0.003271, allocations: 4 kB / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.083e-05/0.003292, allocations: 4.859 kB / 0.6401 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.003293, allocations: 0 / 0.6401 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.062e-05/0.003324, allocations: 37.64 kB / 0.6401 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.003333, allocations: 8.094 kB / 0.6401 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.003337, allocations: 0 / 0.6401 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.003348, allocations: 0 / 0.6401 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-05/0.003383, allocations: 7.922 kB / 0.6401 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.003386, allocations: 4 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-06/0.003392, allocations: 0 / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.003397, allocations: 0 / 0.6402 GB, free: 11.6 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 0.0003381/0.003735, allocations: 113.8 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-06/0.003738, allocations: 0 / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.003787, allocations: 48.56 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.003789, allocations: 4.031 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.003791, allocations: 4 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003794, allocations: 0 / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.279e-05/0.003837, allocations: 61.84 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.003838, allocations: 3.984 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-06/0.003845, allocations: 4 kB / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.003846, allocations: 0 / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-06/0.003849, allocations: 0 / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.003849, allocations: 0 / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00385, allocations: 0 / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.298e-05/0.003893, allocations: 65.06 kB / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-06/0.003899, allocations: 3.984 kB / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-06/0.003905, allocations: 0 / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-06/0.003908, allocations: 0 / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.003919, allocations: 3.938 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.00392, allocations: 0 / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.67e-06/0.003926, allocations: 8.859 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003926, allocations: 0 / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001061/0.004032, allocations: 11.98 kB / 0.6405 GB, free: 11.22 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.000125/0.004157, allocations: 108.4 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.348e-05/0.004201, allocations: 4.859 kB / 0.6406 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.004204, allocations: 4 kB / 0.6406 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/0.004208, allocations: 4.859 kB / 0.6406 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.345e-05/0.004252, allocations: 3.938 kB / 0.6406 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001258/0.004377, allocations: 74.78 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.484e-05/0.004402, allocations: 63.33 kB / 0.6407 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.894e-06/0.00441, allocations: 3.938 kB / 0.6407 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.004431, allocations: 51.38 kB / 0.6408 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of SimCode: time 4.41e-07/0.004432, allocations: 3.938 kB / 0.6408 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of Templates: time 0.001823/0.006254, allocations: 476.6 kB / 0.6412 GB, free: 10.38 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.328491694293916]