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.04236/0.04236, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.0009005/0.0009005, allocations: 94.64 kB / 35.33 MB, free: 1.066 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.001194/0.001194, allocations: 168.4 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.9857/0.9857, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.003985/0.003985, allocations: 0.8264 MB / 276.5 MB, free: 0.7461 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.692/1.692, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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 1.853e-06/1.853e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.693e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001692/0.001709, allocations: 0.7529 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009044/0.002614, allocations: 0.8741 MB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.002652, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.002681, allocations: 11.92 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.002757, allocations: 3.984 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.002892, allocations: 27.86 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.002963, allocations: 43.91 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.003048, allocations: 15.92 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.003129, allocations: 27.97 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.003187, allocations: 15.98 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.00321, allocations: 8 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.003219, allocations: 7.938 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.00324, allocations: 11.97 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.003259, allocations: 15.98 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.003347, allocations: 39.83 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003349, allocations: 0 / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00335, allocations: 0 / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003354, allocations: 0 / 0.6397 GB, free: 12.2 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.0003029/0.003657, allocations: 244.9 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.003696, allocations: 11.98 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.003724, allocations: 8.875 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.003808, allocations: 113.8 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.003825, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.003835, allocations: 8.375 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.003954, allocations: 62.94 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.003962, allocations: 3.938 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.003971, allocations: 7.984 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.003979, allocations: 4 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.004009, allocations: 11.98 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.004276, allocations: 172.2 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.004349, allocations: 30.56 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.004371, allocations: 12.86 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.004387, allocations: 7.938 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.00441, allocations: 38.55 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.004411, allocations: 0 / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001304/0.004542, allocations: 57.69 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.004577, allocations: 55.41 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.004636, allocations: 114.8 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.004646, allocations: 25.7 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.004677, allocations: 84.08 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.004696, allocations: 15.89 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.004726, allocations: 21.7 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.004804, allocations: 318.8 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.004817, allocations: 4 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.00483, allocations: 7.984 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.004868, allocations: 24.78 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.00487, allocations: 256 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.919e-05/0.00493, allocations: 45.62 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.004941, allocations: 4 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.004947, allocations: 4 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.004957, allocations: 4 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.005026, allocations: 15.98 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005031, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.005055, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.005067, allocations: 4 kB / 0.6412 GB, free: 10.53 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 5.947e-05/0.005126, allocations: 113.8 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.005143, allocations: 7.938 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.536e-05/0.005158, allocations: 4 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.00516, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005161, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005163, allocations: 3.938 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.712e-05/0.00525, allocations: 85.88 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005251, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.005283, allocations: 11.98 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.32e-07/0.005284, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.005291, allocations: 3.938 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005292, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005293, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.005378, allocations: 143.5 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.005385, allocations: 3.953 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.005396, allocations: 7.938 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.005432, allocations: 4 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.005473, allocations: 11.98 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.005478, allocations: 7.984 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.005492, allocations: 12.8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005492, allocations: 4 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001161/0.005608, allocations: 4 kB / 0.6416 GB, free: 10.07 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 7.151e-05/0.00568, allocations: 76.42 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.005743, allocations: 25.08 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.005746, allocations: 0 / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.005772, allocations: 28.92 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.005902, allocations: 11.94 kB / 0.6417 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.006138, allocations: 132.4 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.006169, allocations: 59.3 kB / 0.6419 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.006196, allocations: 8 kB / 0.6419 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.006253, allocations: 63.36 kB / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of SimCode: time 5.51e-07/0.006253, allocations: 0 / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of Templates: time 0.002473/0.008726, allocations: 0.9608 MB / 0.6429 GB, free: 8.648 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.334295427892357]