Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.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.04281/0.04281, allocations: 9.13 MB / 28.99 MB, free: 0.8281 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.0008175/0.0008175, allocations: 90.38 kB / 35.33 MB, free: 1.09 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.001381/0.001381, allocations: 168.5 kB / 38.73 MB, free: 2.496 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.9585/0.9585, allocations: 177.1 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.00413/0.00413, allocations: 0.8218 MB / 276.5 MB, free: 0.7539 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.612/1.612, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.BesselJ0") translateModel(AixLib.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.934e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.BesselJ0): time 0.001965/0.001985, allocations: 1.546 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00046/0.002445, allocations: 247 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.002469, allocations: 0 / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.002496, allocations: 11.92 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.002539, allocations: 0 / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.002817, allocations: 47.83 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.002879, allocations: 19.92 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.002967, allocations: 7.984 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.003016, allocations: 11.94 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.284e-05/0.003049, allocations: 11.98 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.003059, allocations: 0 / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.00319, allocations: 67.92 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.003202, allocations: 0 / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.003222, allocations: 11.94 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003332, allocations: 59.78 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.003333, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003334, allocations: 4 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003337, allocations: 0 / 0.6399 GB, free: 12.02 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.0002319/0.003569, allocations: 232.6 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.003597, allocations: 15.98 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.003619, allocations: 4.922 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.558e-05/0.003684, allocations: 110.1 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.003691, allocations: 384 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-06/0.003696, allocations: 4.375 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.003779, allocations: 54.95 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.003785, allocations: 192 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.00379, allocations: 384 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.003795, allocations: 8.312 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.003815, allocations: 15.89 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.003979, allocations: 136.3 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.004013, allocations: 22.61 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.004026, allocations: 16.86 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.004266, allocations: 63.94 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.004287, allocations: 38.5 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.004288, allocations: 0 / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.589e-05/0.004384, allocations: 37.69 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.004408, allocations: 55.34 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.004462, allocations: 110.7 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004471, allocations: 25.83 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.004496, allocations: 88.14 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.00451, allocations: 3.953 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.00453, allocations: 9.719 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.004596, allocations: 318.8 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/0.004603, allocations: 0 / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.004611, allocations: 7.938 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.004632, allocations: 12.84 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004633, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.891e-05/0.004672, allocations: 33.7 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.004684, allocations: 12.08 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.004687, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.004699, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.00474, allocations: 7.938 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004742, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.004756, allocations: 8 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.004761, allocations: 4 kB / 0.6413 GB, free: 10.43 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 (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 prepare postOptimizeDAE: time 4.389e-05/0.004805, allocations: 117.8 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.004818, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.004871, allocations: 44.94 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.004873, allocations: 4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.004875, allocations: 3.938 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004877, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.19e-05/0.004949, allocations: 65.91 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00495, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.004967, allocations: 7.984 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004969, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.004972, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004972, allocations: 4 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004974, allocations: 3.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.315e-05/0.005037, allocations: 143.4 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.005042, allocations: 3.953 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-06/0.005048, allocations: 0 / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.005081, allocations: 4 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.005106, allocations: 3.984 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.005109, allocations: 4 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.626e-06/0.005117, allocations: 8.797 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005117, allocations: 0 / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001307/0.005248, allocations: 20 kB / 0.6417 GB, free: 9.953 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.000114/0.005362, allocations: 104.3 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.935e-05/0.005411, allocations: 12.84 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005413, allocations: 0 / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.005426, allocations: 12.8 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.00554, allocations: 4 kB / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/0.005712, allocations: 108.9 kB / 0.6419 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.005739, allocations: 51.36 kB / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.295e-05/0.005752, allocations: 0 / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.005786, allocations: 55.36 kB / 0.642 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of SimCode: time 3.51e-07/0.005786, allocations: 0 / 0.642 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of Templates: time 0.001988/0.007774, allocations: 0.6987 MB / 0.6427 GB, free: 8.855 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.BesselJ0.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.BesselJ0.sim & ./AixLib_AixLib.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.232071863953024]