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.04052/0.04052, allocations: 9.13 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.0008723/0.0008723, allocations: 99.14 kB / 35.33 MB, free: 0.9258 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.001066/0.001066, allocations: 165.4 kB / 38.73 MB, free: 2.379 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 1.015/1.015, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004158/0.004158, allocations: 0.8255 MB / 276.5 MB, free: 0.7227 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.686/1.686, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.292e-06/1.292e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.495e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.VectorFunctions): time 0.001964/0.001979, allocations: 1.697 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000766/0.002745, allocations: 0.6075 MB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.0028, allocations: 7.938 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.296e-05/0.002893, allocations: 11.86 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.002922, allocations: 7.875 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.003147, allocations: 63.73 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003259, allocations: 87.7 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003362, allocations: 31.97 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.003474, allocations: 63.75 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.003534, allocations: 35.89 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.003551, allocations: 4 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.003619, allocations: 19.98 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.003651, allocations: 23.92 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.003676, allocations: 23.91 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003786, allocations: 75.67 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003788, allocations: 0 / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.653e-06/0.003789, allocations: 4 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003794, allocations: 7.984 kB / 0.6406 GB, free: 11.27 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.0003101/0.004104, allocations: 300.5 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.004134, allocations: 11.98 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.004298, allocations: 40.84 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.004438, allocations: 146.1 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004447, allocations: 8.375 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.004457, allocations: 4.375 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.004579, allocations: 93.67 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004587, allocations: 3.938 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.004594, allocations: 0 / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.0046, allocations: 4 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.004634, allocations: 19.94 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004901, allocations: 213.8 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.00496, allocations: 74.42 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.004986, allocations: 20.83 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.00501, allocations: 4 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.005028, allocations: 34.56 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.005029, allocations: 0 / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001203/0.005149, allocations: 69.73 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.005173, allocations: 51.41 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.005239, allocations: 138.6 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005249, allocations: 29.7 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.005281, allocations: 100.1 kB / 0.6419 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.005301, allocations: 23.78 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.00533, allocations: 21.7 kB / 0.642 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.005403, allocations: 326.8 kB / 0.6423 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.00542, allocations: 6.828 kB / 0.6423 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.005435, allocations: 15.98 kB / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.005476, allocations: 30.88 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005478, allocations: 4 kB / 0.6423 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.16e-05/0.005539, allocations: 53.62 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.00555, allocations: 8 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.005554, allocations: 0 / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.005568, allocations: 3.984 kB / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.005632, allocations: 15.98 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.005635, allocations: 3.984 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.005661, allocations: 11.89 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.005675, allocations: 4 kB / 0.6424 GB, free: 9.242 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.563e-05/0.00573, allocations: 120.7 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.005748, allocations: 7.938 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.005852, allocations: 74.38 kB / 0.6426 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005853, allocations: 0 / 0.6426 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005855, allocations: 0 / 0.6426 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005858, allocations: 4 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.532e-05/0.005954, allocations: 93.8 kB / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005955, allocations: 3.984 kB / 0.6427 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.005996, allocations: 15.98 kB / 0.6427 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005997, allocations: 4 kB / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.006003, allocations: 0 / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006003, allocations: 0 / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006004, allocations: 0 / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.417e-05/0.006098, allocations: 206.3 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.006109, allocations: 11.95 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.006119, allocations: 4 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.006158, allocations: 7.984 kB / 0.643 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.006187, allocations: 3.984 kB / 0.643 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.006193, allocations: 4 kB / 0.643 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.056e-05/0.006214, allocations: 32.83 kB / 0.643 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006214, allocations: 0 / 0.643 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001252/0.006339, allocations: 27.83 kB / 0.643 GB, free: 8.578 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 7.845e-05/0.006417, allocations: 76.41 kB / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.006482, allocations: 32.86 kB / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006485, allocations: 0 / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.006508, allocations: 28.77 kB / 0.6432 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.006615, allocations: 8 kB / 0.6432 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.007043, allocations: 206.8 kB / 0.6434 GB, free: 8.191 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.007079, allocations: 63.34 kB / 0.6434 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.007108, allocations: 4 kB / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.007151, allocations: 59.36 kB / 0.6435 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of SimCode: time 8.72e-07/0.007152, allocations: 0 / 0.6435 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of Templates: time 0.002143/0.009295, allocations: 0.7157 MB / 0.6442 GB, free: 7.336 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.387715086340904]