Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.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.041/0.041, allocations: 9.133 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.001251/0.001251, allocations: 87.27 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.001638/0.001638, allocations: 167.6 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.9971/0.9971, allocations: 177.2 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.004017/0.004017, allocations: 0.8263 MB / 276.5 MB, free: 0.7305 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.631/1.631, 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1") translateModel(AixLib.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.246e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.BesselJ1): time 0.001151/0.001164, allocations: 0.6227 MB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.001488, allocations: 179.3 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.104e-05/0.001499, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.00151, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001517, allocations: 7.875 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.001807, allocations: 55.81 kB / 0.6388 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 2.986e-05/0.001837, allocations: 4 kB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.001867, allocations: 0 / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.001891, allocations: 7.984 kB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.001909, allocations: 4 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.001916, allocations: 3.938 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.002045, allocations: 55.94 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.002056, allocations: 0 / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.086e-06/0.002064, allocations: 0 / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.528e-05/0.00215, allocations: 47.84 kB / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.002151, allocations: 0 / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002151, allocations: 0 / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.002154, allocations: 4 kB / 0.6389 GB, free: 13.09 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.0001673/0.002322, allocations: 220.6 kB / 0.6391 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.002351, allocations: 15.98 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.953e-05/0.00237, allocations: 4.938 kB / 0.6391 GB, free: 12.83 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.421e-05/0.002415, allocations: 101.8 kB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.002422, allocations: 384 / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.002429, allocations: 4.375 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.014e-05/0.00248, allocations: 34.25 kB / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-06/0.002484, allocations: 192 / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-06/0.002488, allocations: 384 / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.002492, allocations: 384 / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-06/0.002501, allocations: 7.938 kB / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.246e-05/0.002554, allocations: 53.05 kB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 2.991e-05/0.002584, allocations: 26.55 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.002594, allocations: 8.859 kB / 0.6393 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.002871, allocations: 71.98 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.002889, allocations: 30.56 kB / 0.6394 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.00289, allocations: 0 / 0.6394 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 6.798e-05/0.002958, allocations: 37.64 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.002983, allocations: 55.41 kB / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.329e-05/0.003006, allocations: 93.84 kB / 0.6396 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.003014, allocations: 29.69 kB / 0.6396 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.508e-05/0.00303, allocations: 80.14 kB / 0.6397 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.00305, allocations: 0 / 0.6397 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.003066, allocations: 13.72 kB / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.003129, allocations: 314.8 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-06/0.003133, allocations: 0 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-06/0.003136, allocations: 0 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.796e-05/0.003154, allocations: 13.05 kB / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.003155, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.645e-05/0.003182, allocations: 41.62 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.003191, allocations: 8 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.003194, allocations: 3.938 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.003203, allocations: 0 / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.578e-05/0.003229, allocations: 0 / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.003232, allocations: 0 / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.003241, allocations: 0 / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.003245, allocations: 4 kB / 0.6401 GB, free: 11.69 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 3.952e-05/0.003284, allocations: 113.8 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-06/0.003287, allocations: 0 / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.003327, allocations: 40.69 kB / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.003328, allocations: 0 / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.003329, allocations: 0 / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.003332, allocations: 0 / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.803e-05/0.00337, allocations: 65.84 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.00337, allocations: 0 / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.003375, allocations: 3.938 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.003375, allocations: 0 / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.003379, allocations: 8.031 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.00338, allocations: 3.984 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.003381, allocations: 0 / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.278e-05/0.003414, allocations: 53.08 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-06/0.003419, allocations: 11.98 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-06/0.003424, allocations: 0 / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-06/0.003427, allocations: 0 / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.003436, allocations: 3.984 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.003437, allocations: 3.984 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.609e-06/0.003442, allocations: 4.859 kB / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003442, allocations: 0 / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.919e-05/0.003541, allocations: 19.97 kB / 0.6404 GB, free: 11.31 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.0001126/0.003654, allocations: 92.41 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 3.818e-05/0.003692, allocations: 12.8 kB / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.003693, allocations: 0 / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.0037, allocations: 12.92 kB / 0.6405 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.548e-05/0.003735, allocations: 7.844 kB / 0.6405 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001133/0.003849, allocations: 82.77 kB / 0.6406 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.157e-05/0.00387, allocations: 55.22 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.053e-06/0.003877, allocations: 3.938 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.003898, allocations: 51.38 kB / 0.6407 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of SimCode: time 2.6e-07/0.003898, allocations: 0 / 0.6407 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of Templates: time 0.001573/0.005471, allocations: 484.8 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.384161966852844]