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.04399/0.04399, allocations: 9.127 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.0009168/0.0009168, allocations: 87.28 kB / 35.32 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.001089/0.001089, 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.9809/0.9809, 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.005894/0.005894, allocations: 0.8218 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.608/1.608, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.873e-06/1.873e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.661e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.BesselJ1): time 0.003401/0.003427, allocations: 1.546 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.00407, allocations: 259 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.004099, allocations: 0 / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.004131, allocations: 0 / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.004183, allocations: 7.875 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.004573, allocations: 59.75 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.004643, allocations: 19.92 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.004724, allocations: 3.984 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.004785, allocations: 12 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.004825, allocations: 11.98 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.004839, allocations: 4 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.005043, allocations: 67.86 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.005057, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.005074, allocations: 8 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.005247, allocations: 59.84 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005251, allocations: 3.938 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005251, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005255, 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.0003443/0.0056, allocations: 244.5 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.00564, allocations: 15.98 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.005671, allocations: 0.9375 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.005771, allocations: 110.1 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.005782, allocations: 384 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.00579, allocations: 384 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.00592, allocations: 58.94 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.005932, allocations: 8.109 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.00594, allocations: 384 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.005945, allocations: 384 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.005972, allocations: 7.938 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.006203, allocations: 144.3 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.006243, allocations: 22.58 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.006255, allocations: 8.922 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.006536, allocations: 71.95 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.006557, allocations: 38.5 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.006558, allocations: 4 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001008/0.006659, allocations: 33.7 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.006685, allocations: 59.33 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.006737, allocations: 102.7 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006747, allocations: 25.7 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.006773, allocations: 80.14 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.006792, allocations: 11.88 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.006816, allocations: 17.7 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.006894, allocations: 314.8 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.006903, allocations: 4 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.006912, allocations: 8.062 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.006935, allocations: 8.859 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.006939, allocations: 7.984 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.378e-05/0.006983, allocations: 33.7 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.006994, allocations: 8 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006998, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.00701, allocations: 3.938 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.007069, allocations: 11.92 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.007071, allocations: 0 / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.007087, allocations: 8.094 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.007091, allocations: 0 / 0.6413 GB, free: 10.41 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 5.19e-05/0.007143, allocations: 109.8 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.007159, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.007226, allocations: 41 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007229, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.007231, allocations: 3.938 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007235, allocations: 3.984 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.007319, allocations: 69.89 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.00732, allocations: 4.031 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.007342, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.007344, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.007349, allocations: 3.984 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.00735, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007351, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.00742, allocations: 135.4 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.007428, allocations: 7.938 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-06/0.007435, allocations: 0 / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.007465, allocations: 4 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007492, allocations: 8.031 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.007494, allocations: 0 / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.197e-05/0.007506, allocations: 16.97 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007506, allocations: 0 / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001372/0.007643, allocations: 12 kB / 0.6417 GB, free: 9.941 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.0001495/0.007792, allocations: 96.48 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.007848, allocations: 24.78 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.007851, allocations: 0 / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.007863, allocations: 8.859 kB / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.007996, allocations: 11.98 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/0.008194, allocations: 92.83 kB / 0.6419 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.008224, allocations: 55.36 kB / 0.642 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.00824, allocations: 4 kB / 0.642 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.008274, allocations: 59.44 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.008275, allocations: 0 / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of Templates: time 0.002269/0.01054, allocations: 0.7179 MB / 0.6428 GB, free: 8.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.348055752925575]