Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.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.05512/0.05512, allocations: 9.131 MB / 28.99 MB, free: 328 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.0008271/0.0008271, allocations: 98.64 kB / 35.33 MB, free: 0.9219 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.0009022/0.0009022, allocations: 162.1 kB / 38.73 MB, free: 2.402 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.9823/0.9823, 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.004103/0.004103, allocations: 0.8259 MB / 276.5 MB, free: 0.7422 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.625/1.625, 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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.VectorFunctions") translateModel(AixLib.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/1.999e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.VectorFunctions): time 0.001943/0.001963, allocations: 1.654 MB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.002761, allocations: 0.6075 MB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.002819, allocations: 3.938 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.398e-05/0.002913, allocations: 15.8 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.002944, allocations: 11.88 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.003199, allocations: 59.8 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003321, allocations: 91.64 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003426, allocations: 31.95 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.003545, allocations: 63.81 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.003605, allocations: 27.91 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.003622, allocations: 8 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.003681, allocations: 23.97 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.003712, allocations: 19.92 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.00374, allocations: 27.86 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003852, allocations: 79.66 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.003855, allocations: 4 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003855, allocations: 0 / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.003858, allocations: 4 kB / 0.6405 GB, free: 11.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003327/0.004191, allocations: 296.5 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.00422, allocations: 11.98 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.004363, allocations: 36.91 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.004502, allocations: 150.1 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.004511, allocations: 4.375 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004522, allocations: 4.375 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.004639, allocations: 97.67 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004647, allocations: 3.938 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.004655, allocations: 0 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004659, allocations: 0 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.004692, allocations: 19.94 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.004972, allocations: 233.7 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.005023, allocations: 74.41 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.005044, allocations: 12.86 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.005066, allocations: 0 / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.005085, allocations: 38.69 kB / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.005086, allocations: 4 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001797/0.005266, allocations: 57.67 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.005294, allocations: 55.41 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.005359, allocations: 138.6 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.005369, allocations: 29.69 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.0054, allocations: 100 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.005421, allocations: 23.92 kB / 0.6419 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.005451, allocations: 21.7 kB / 0.6419 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.005516, allocations: 322.8 kB / 0.6422 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.005534, allocations: 14.81 kB / 0.6422 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.005547, allocations: 8 kB / 0.6422 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.00559, allocations: 34.5 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.005591, allocations: 0 / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.243e-05/0.005654, allocations: 54.05 kB / 0.6423 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.005663, allocations: 4 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.005666, allocations: 64 / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005677, allocations: 4 kB / 0.6423 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.005746, allocations: 19.92 kB / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.005749, allocations: 0 / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.005776, allocations: 11.89 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.00579, allocations: 8 kB / 0.6423 GB, free: 9.355 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 (6): * Single equations (assignments): 6 * 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.322e-05/0.005843, allocations: 116.7 kB / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.005874, allocations: 7.984 kB / 0.6425 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.005983, allocations: 70.44 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005985, allocations: 4 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005986, allocations: 0 / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005989, allocations: 0 / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.585e-05/0.006085, allocations: 97.73 kB / 0.6426 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006087, allocations: 3.984 kB / 0.6426 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.006127, allocations: 15.98 kB / 0.6426 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006129, allocations: 7.938 kB / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.006134, allocations: 0 / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006135, allocations: 0 / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006137, allocations: 3.984 kB / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.572e-05/0.006233, allocations: 202.2 kB / 0.6428 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-06/0.006242, allocations: 11.89 kB / 0.6429 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.006253, allocations: 0 / 0.6429 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.006291, allocations: 4 kB / 0.6429 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.00632, allocations: 7.922 kB / 0.6429 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.006329, allocations: 12.11 kB / 0.6429 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.00635, allocations: 28.83 kB / 0.6429 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.006351, allocations: 4 kB / 0.6429 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001344/0.006485, allocations: 19.89 kB / 0.6429 GB, free: 8.695 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 (6): * Single equations (assignments): 6 * 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 9.201e-05/0.006577, allocations: 80.42 kB / 0.643 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.117e-05/0.006648, allocations: 36.83 kB / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.00665, allocations: 0 / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.006673, allocations: 24.78 kB / 0.6431 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.006777, allocations: 8 kB / 0.6431 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.007294, allocations: 206.8 kB / 0.6433 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.007328, allocations: 63.34 kB / 0.6433 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.007357, allocations: 4 kB / 0.6433 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.007397, allocations: 59.36 kB / 0.6434 GB, free: 8.16 MB / 0.6043 GB Notification: Performance of SimCode: time 5.41e-07/0.007397, allocations: 0 / 0.6434 GB, free: 8.16 MB / 0.6043 GB Notification: Performance of Templates: time 0.002141/0.009538, allocations: 0.7115 MB / 0.6441 GB, free: 7.453 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.sim & ./AixLib_AixLib.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.348208810202777]