Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.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.07442/0.07442, allocations: 9.131 MB / 28.99 MB, free: 336 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.0008566/0.0008566, allocations: 87.28 kB / 35.32 MB, free: 0.9336 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.001102/0.001102, allocations: 168.7 kB / 38.73 MB, free: 2.395 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.049/1.049, allocations: 177.2 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.004383/0.004383, allocations: 0.8225 MB / 276.5 MB, free: 0.7148 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.807/1.807, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.131e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001617/0.001649, allocations: 0.6981 MB / 0.6385 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.002732, allocations: 0.8896 MB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.002774, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.00281, allocations: 3.938 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.002901, allocations: 0 / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.003058, allocations: 27.84 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.811e-05/0.003136, allocations: 43.92 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.003236, allocations: 15.97 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003337, allocations: 23.92 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.003408, allocations: 23.95 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.003436, allocations: 4 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.003448, allocations: 4 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.003476, allocations: 19.92 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.003503, allocations: 12 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003607, allocations: 31.88 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.00361, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003612, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.003616, allocations: 4 kB / 0.6396 GB, free: 12.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003629/0.003979, allocations: 248.8 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.004022, allocations: 19.92 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.004052, allocations: 8.938 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.004138, allocations: 105.8 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.004159, allocations: 4.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.004177, allocations: 4.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.00432, allocations: 66.92 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004329, allocations: 3.938 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004337, allocations: 0 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.004344, allocations: 3.984 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.004375, allocations: 11.98 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.004638, allocations: 172.2 kB / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.004718, allocations: 38.56 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.004739, allocations: 12.86 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.004757, allocations: 7.938 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.004778, allocations: 34.56 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.00478, allocations: 0 / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001322/0.004912, allocations: 53.61 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.004946, allocations: 51.41 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.005005, allocations: 106.8 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.005017, allocations: 33.69 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.005052, allocations: 92.06 kB / 0.6406 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.005071, allocations: 15.84 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.005102, allocations: 17.7 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.005188, allocations: 318.8 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.005207, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.005222, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.005262, allocations: 20.78 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005265, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.797e-05/0.005333, allocations: 57.61 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.005347, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.005353, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.005366, allocations: 4 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-05/0.005455, allocations: 8 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.005461, allocations: 7.969 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.005485, allocations: 4 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.00549, allocations: 0 / 0.6411 GB, free: 10.61 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.126e-05/0.005561, allocations: 109.8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.005576, allocations: 3.938 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.0056, allocations: 15.98 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.005602, allocations: 3.938 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005604, allocations: 256 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005607, allocations: 4 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.559e-05/0.005702, allocations: 77.88 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005703, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.005741, allocations: 8 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005743, allocations: 336 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.005752, allocations: 11.92 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.005756, allocations: 4 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005757, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.00587, allocations: 135.5 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.00588, allocations: 7.953 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.005889, allocations: 7.938 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.005926, allocations: 7.984 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.005977, allocations: 15.92 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.00598, allocations: 3.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.413e-05/0.005994, allocations: 8.859 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005994, allocations: 0 / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001179/0.006112, allocations: 12 kB / 0.6415 GB, free: 10.14 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001259/0.006238, allocations: 76.41 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.006314, allocations: 28.83 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.006317, allocations: 0 / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.006343, allocations: 20.8 kB / 0.6416 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.006495, allocations: 15.92 kB / 0.6416 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.006769, allocations: 128.4 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.551e-05/0.006804, allocations: 59.34 kB / 0.6418 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.006833, allocations: 8 kB / 0.6418 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.006889, allocations: 51.38 kB / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of SimCode: time 1.152e-06/0.00689, allocations: 0 / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of Templates: time 0.002733/0.009623, allocations: 0.9783 MB / 0.6428 GB, free: 8.719 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.619177088607103]