Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.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.04417/0.04417, 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.0008044/0.0008044, allocations: 90.72 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.001073/0.001073, allocations: 163.6 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.9815/0.9815, allocations: 177.1 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.004079/0.004079, allocations: 0.8258 MB / 276.5 MB, free: 0.7188 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.641/1.641, 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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(AixLib.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.173e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002696/0.002718, allocations: 1.51 MB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000366/0.003084, allocations: 143.4 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.003107, allocations: 0 / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.00313, allocations: 3.938 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.00317, allocations: 7.938 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.00347, allocations: 47.83 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.003526, allocations: 23.92 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.044e-05/0.003586, allocations: 0 / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.003626, allocations: 11.98 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.003659, allocations: 11.94 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003672, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.003777, allocations: 35.89 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.003791, allocations: 7.969 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.003805, allocations: 8 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003916, allocations: 47.83 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003917, allocations: 0 / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003918, allocations: 0 / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.535e-06/0.003921, allocations: 0 / 0.6397 GB, free: 12.26 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.0002563/0.004177, allocations: 232.6 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.004207, allocations: 11.98 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.004259, allocations: 5.281 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.004338, allocations: 113.7 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.004347, allocations: 384 / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.004355, allocations: 384 / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.004443, allocations: 58.89 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.004449, allocations: 192 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.004456, allocations: 4.375 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.00446, allocations: 384 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.004481, allocations: 7.938 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.004669, allocations: 144.3 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.00471, allocations: 26.5 kB / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.004724, allocations: 8.922 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.632e-05/0.00481, allocations: 12.03 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004829, allocations: 30.56 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.004831, allocations: 4 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001103/0.004941, allocations: 37.69 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.004972, allocations: 55.34 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.005022, allocations: 98.72 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.005032, allocations: 29.7 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.005081, allocations: 88.11 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.005095, allocations: 11.83 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.005124, allocations: 17.72 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.005205, allocations: 310.8 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.005215, allocations: 4.125 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.005222, allocations: 4 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.005244, allocations: 16.78 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.005245, allocations: 0 / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.232e-05/0.005308, allocations: 33.7 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.005318, allocations: 4 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.005323, allocations: 7.984 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.005334, allocations: 0 / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.005384, allocations: 11.88 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.005386, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.005407, allocations: 8.094 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005413, allocations: 4 kB / 0.641 GB, free: 10.72 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.68e-05/0.00547, allocations: 109.8 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.005504, allocations: 7.984 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.00557, allocations: 44.95 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005572, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.005575, allocations: 3.938 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005577, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.005684, allocations: 61.91 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.005686, allocations: 8.031 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.005715, allocations: 7.984 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005717, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.005721, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005723, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005724, allocations: 3.938 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.005845, allocations: 131.5 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.005852, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.005861, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.005915, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.005937, allocations: 8.016 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.005939, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.425e-05/0.005954, allocations: 12.8 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9.1e-08/0.005954, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00023/0.006184, allocations: 8 kB / 0.6414 GB, free: 10.26 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.0001296/0.006313, allocations: 92.33 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.907e-05/0.006372, allocations: 16.8 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006375, allocations: 7.938 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.006389, allocations: 4.859 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.006554, allocations: 15.92 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.00676, allocations: 96.83 kB / 0.6416 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.006793, allocations: 51.36 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.006811, allocations: 4 kB / 0.6417 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.006852, allocations: 55.5 kB / 0.6417 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of SimCode: time 4.81e-07/0.006853, allocations: 4 kB / 0.6417 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of Templates: time 0.002545/0.009398, allocations: 0.683 MB / 0.6424 GB, free: 9.18 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.354851188138127]