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/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.0007678/0.0007678, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007694/0.0007694, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8444/0.8444, allocations: 177.1 MB / 203.6 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.034/0.034, allocations: 9.125 MB / 269.2 MB, free: 4.449 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004282/0.0004282, allocations: 35.88 kB / 328.7 MB, free: 5.781 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.462/1.462, allocations: 275 MB / 0.6476 GB, free: 2.828 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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.443e-06/1.443e-06, allocations: 0 / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.64e-05, allocations: 4.141 kB / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001064/0.00108, allocations: 0.672 MB / 0.9301 GB, free: 20.48 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.000663/0.001743, allocations: 0.8641 MB / 0.931 GB, free: 19.84 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.001779, allocations: 4 kB / 0.931 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.001803, allocations: 8.672 kB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.001869, allocations: 5.969 kB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.002008, allocations: 23.48 kB / 0.931 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.002078, allocations: 40.33 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.002165, allocations: 22.95 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.002239, allocations: 29.7 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.002295, allocations: 18.05 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.002314, allocations: 3.906 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.002323, allocations: 4.938 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.002346, allocations: 20.38 kB / 0.9311 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.002368, allocations: 8.609 kB / 0.9312 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 9.156e-05/0.002459, allocations: 58.56 kB / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002461, allocations: 0 / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002462, allocations: 0 / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.002465, allocations: 0 / 0.9312 GB, free: 19.71 MB / 0.7293 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.0003326/0.002797, allocations: 273.7 kB / 0.9315 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.002834, allocations: 13.05 kB / 0.9315 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.00286, allocations: 7.906 kB / 0.9315 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.002929, allocations: 112.8 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.002944, allocations: 7.844 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.002957, allocations: 2.781 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.003089, allocations: 65.36 kB / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003096, allocations: 3.938 kB / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003107, allocations: 1.031 kB / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.003111, allocations: 0 / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.003239, allocations: 57.28 kB / 0.9317 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.003529, allocations: 224.5 kB / 0.9319 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.003668, allocations: 70.45 kB / 0.932 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.003731, allocations: 32.31 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.003748, allocations: 1.969 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.003761, allocations: 40.56 kB / 0.9321 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.003762, allocations: 0 / 0.9321 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4): time 0.0002641/0.004026, allocations: 111.5 kB / 0.9322 GB, free: 18.87 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.245e-05/0.004039, allocations: 56.06 kB / 0.9322 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.004087, allocations: 113.6 kB / 0.9324 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.004094, allocations: 25.7 kB / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.004117, allocations: 87.27 kB / 0.9325 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.004131, allocations: 5.922 kB / 0.9325 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.004157, allocations: 24.05 kB / 0.9325 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.576e-05/0.004183, allocations: 314.1 kB / 0.9328 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.004241, allocations: 27.33 kB / 0.9328 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.004294, allocations: 24.33 kB / 0.9328 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.004401, allocations: 58.09 kB / 0.9329 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004403, allocations: 0 / 0.9329 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.004538, allocations: 93.28 kB / 0.933 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.00455, allocations: 5.281 kB / 0.933 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.004555, allocations: 0.75 kB / 0.933 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.004567, allocations: 0 / 0.933 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.004647, allocations: 13.78 kB / 0.933 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.004655, allocations: 7.984 kB / 0.933 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.004688, allocations: 10.89 kB / 0.933 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.004695, allocations: 6.047 kB / 0.933 GB, free: 18.13 MB / 0.7293 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 3.718e-05/0.004732, allocations: 113 kB / 0.9331 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.004746, allocations: 6.781 kB / 0.9331 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.004762, allocations: 8.656 kB / 0.9331 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004764, allocations: 2 kB / 0.9331 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.004765, allocations: 0 / 0.9331 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.004772, allocations: 6.031 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.004782, allocations: 5.156 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.004829, allocations: 6.422 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.00488, allocations: 12.58 kB / 0.9332 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001592/0.005039, allocations: 169 kB / 0.9333 GB, free: 17.87 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001551/0.005194, allocations: 258.7 kB / 0.9336 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.991e-05/0.005264, allocations: 31.11 kB / 0.9336 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.005282, allocations: 90.73 kB / 0.9337 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of Backend: time 2.3e-07/0.005282, allocations: 0 / 0.9337 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.005537, allocations: 99.16 kB / 0.9338 GB, free: 17.49 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002649/0.005802, allocations: 0.5703 MB / 0.9344 GB, free: 16.9 MB / 0.7293 GB Notification: Performance of Templates: time 0.00256/0.008361, allocations: 1.102 MB / 0.9354 GB, free: 16.8 MB / 0.7293 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.604376493021846] Failed to read output from testmodel.py, exit status != 0: 0.012336034327745438 0.020868081 0.016825952 Calling exit ...