Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.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.04116/0.04116, allocations: 9.131 MB / 28.99 MB, free: 332 kB / 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.0007607/0.0007607, allocations: 95.16 kB / 35.33 MB, free: 0.9297 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.0009365/0.0009365, allocations: 160.3 kB / 38.73 MB, free: 2.375 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.9252/0.9252, 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.004015/0.004015, allocations: 0.8216 MB / 276.5 MB, free: 0.75 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.628/1.628, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.BesselJ1") translateModel(AixLib.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.41e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.BesselJ1): time 0.001778/0.001792, allocations: 1.506 MB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000405/0.002197, allocations: 251 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.002222, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.002246, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.97e-05/0.002286, allocations: 3.938 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.00258, allocations: 55.83 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.138e-05/0.002631, allocations: 27.86 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.002692, allocations: 7.922 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.002738, allocations: 11.98 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.806e-05/0.002766, allocations: 7.984 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.218e-06/0.002775, allocations: 4 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.00288, allocations: 55.94 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.002895, allocations: 11.92 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.192e-05/0.002906, allocations: 8 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003015, allocations: 63.78 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.003017, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.5e-07/0.003017, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.475e-06/0.003019, allocations: 0 / 0.6398 GB, free: 12.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002338/0.003253, allocations: 228.6 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.00328, allocations: 11.98 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.0033, allocations: 4.938 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.003366, allocations: 118.1 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.003375, allocations: 4.375 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.003383, allocations: 4.375 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/0.003459, allocations: 50.95 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.003465, allocations: 192 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.003471, allocations: 4.312 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.003475, allocations: 384 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.003493, allocations: 11.88 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.003641, allocations: 144.3 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/0.003673, allocations: 18.62 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.003685, allocations: 8.844 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.003923, allocations: 76 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.003939, allocations: 30.56 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.00394, allocations: 0 / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.473e-05/0.004035, allocations: 41.62 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.004059, allocations: 55.34 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.004105, allocations: 106.7 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.004114, allocations: 29.83 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.004139, allocations: 88.08 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.004153, allocations: 7.953 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.004172, allocations: 13.72 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.004354, allocations: 314.8 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.004361, allocations: 3.984 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.004369, allocations: 4 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.82e-05/0.004387, allocations: 12.8 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004388, allocations: 0 / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.47e-05/0.004423, allocations: 41.75 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.004433, allocations: 4 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.004436, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.004446, allocations: 192 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.004488, allocations: 7.938 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004491, allocations: 4 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.004504, allocations: 3.984 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.004508, allocations: 3.984 kB / 0.6412 GB, free: 10.5 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.086e-05/0.004549, allocations: 109.8 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.004561, allocations: 3.984 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.00461, allocations: 52.97 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.004612, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.004617, allocations: 7.938 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004619, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.105e-05/0.00469, allocations: 65.89 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004691, allocations: 3.938 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.004705, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.004706, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.00471, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.00471, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004711, allocations: 4.031 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.004768, allocations: 139.4 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.004775, allocations: 7.953 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.004782, allocations: 4 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.004809, allocations: 3.984 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.004829, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.004831, allocations: 4 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.957e-06/0.00484, allocations: 8.797 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00484, allocations: 0 / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001268/0.004966, allocations: 19.94 kB / 0.6416 GB, free: 10.01 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.0001118/0.005078, allocations: 104.4 kB / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.161e-05/0.00512, allocations: 8.859 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.005122, allocations: 0 / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.005135, allocations: 16.8 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.005237, allocations: 4.125 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.005397, allocations: 104.8 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.551e-05/0.005422, allocations: 55.34 kB / 0.6419 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.345e-05/0.005436, allocations: 4 kB / 0.6419 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.005465, allocations: 51.38 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of SimCode: time 2.9e-07/0.005466, allocations: 0 / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of Templates: time 0.001837/0.007303, allocations: 0.7062 MB / 0.6427 GB, free: 8.91 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.BesselJ1.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.BesselJ1.sim & ./AixLib_AixLib.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3395863976329565]