Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.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.0007315/0.0007315, 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.0007844/0.0007844, allocations: 165.7 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.8556/0.8556, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.03465/0.03465, 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.0003786/0.0003786, allocations: 23.97 kB / 328.7 MB, free: 5.793 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.478/1.478, allocations: 275 MB / 0.6476 GB, free: 2.844 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 1.125 kB / 0.9295 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.518e-05, allocations: 10.22 kB / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001068/0.001083, allocations: 0.7376 MB / 0.9302 GB, free: 20.48 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.001732, allocations: 0.8871 MB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.001768, allocations: 5.156 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.001794, allocations: 9.188 kB / 0.9311 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.001866, allocations: 10.53 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.002012, allocations: 42.38 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.002096, allocations: 83.17 kB / 0.9312 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.002185, allocations: 21.44 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.002265, allocations: 48.2 kB / 0.9313 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.002326, allocations: 44.05 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.002348, allocations: 7.594 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.00236, allocations: 12.69 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.002381, allocations: 23.03 kB / 0.9314 GB, free: 19.67 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.002409, allocations: 30.62 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.002524, allocations: 95.11 kB / 0.9315 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002526, allocations: 0.7969 kB / 0.9315 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002526, allocations: 0 / 0.9315 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.00253, allocations: 1.219 kB / 0.9315 GB, free: 19.61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003725/0.002902, allocations: 317.1 kB / 0.9318 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.002935, allocations: 12.77 kB / 0.9318 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.002963, allocations: 14.3 kB / 0.9318 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.898e-05/0.003032, allocations: 119.7 kB / 0.9319 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.003046, allocations: 3.125 kB / 0.9319 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.003061, allocations: 9.094 kB / 0.9319 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.003242, allocations: 102.1 kB / 0.932 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.003249, allocations: 3.938 kB / 0.932 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.003259, allocations: 3.938 kB / 0.932 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003264, allocations: 2.219 kB / 0.932 GB, free: 19.12 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.003465, allocations: 100.8 kB / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.003767, allocations: 271.7 kB / 0.9324 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.004106, allocations: 111.6 kB / 0.9325 GB, free: 18.81 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.004213, allocations: 65.94 kB / 0.9326 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.004229, allocations: 0 / 0.9326 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/0.004239, allocations: 33.7 kB / 0.9326 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.00424, allocations: 0 / 0.9326 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of matching and sorting (n=7): time 0.0003854/0.004625, allocations: 185.6 kB / 0.9328 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.244e-05/0.004638, allocations: 52.69 kB / 0.9328 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.004694, allocations: 132.1 kB / 0.933 GB, free: 18.5 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.004701, allocations: 25.7 kB / 0.933 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.004726, allocations: 97.66 kB / 0.9331 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.004745, allocations: 17.11 kB / 0.9331 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.004777, allocations: 23.05 kB / 0.9331 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.579e-05/0.004803, allocations: 322.9 kB / 0.9334 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.004899, allocations: 44.34 kB / 0.9335 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.004991, allocations: 52.52 kB / 0.9335 GB, free: 18 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.005174, allocations: 99.91 kB / 0.9336 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005176, allocations: 0.6094 kB / 0.9336 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002225/0.005399, allocations: 130.2 kB / 0.9337 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.00541, allocations: 9.062 kB / 0.9337 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005414, allocations: 2.281 kB / 0.9337 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005426, allocations: 0 / 0.9337 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.005507, allocations: 27.16 kB / 0.9338 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.005513, allocations: 1.812 kB / 0.9338 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.005566, allocations: 19.72 kB / 0.9338 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.005573, allocations: 8.469 kB / 0.9338 GB, free: 17.89 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.015e-05/0.005613, allocations: 121.6 kB / 0.9339 GB, free: 17.77 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.005631, allocations: 3.594 kB / 0.9339 GB, free: 17.77 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.005649, allocations: 14.84 kB / 0.9339 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005651, allocations: 0.5156 kB / 0.9339 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005652, allocations: 1.469 kB / 0.9339 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.00566, allocations: 6.422 kB / 0.9339 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.005673, allocations: 5.688 kB / 0.9339 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.005739, allocations: 11.8 kB / 0.934 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.005801, allocations: 25.27 kB / 0.934 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002592/0.00606, allocations: 226.5 kB / 0.9342 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002342/0.006294, allocations: 315 kB / 0.9345 GB, free: 17.37 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001138/0.006408, allocations: 54.67 kB / 0.9345 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.006433, allocations: 100.5 kB / 0.9346 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of Backend: time 1.41e-07/0.006434, allocations: 9 kB / 0.9347 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.006732, allocations: 127.7 kB / 0.9348 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002919/0.007024, allocations: 0.6101 MB / 0.9354 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of Templates: time 0.003147/0.01017, allocations: 1.928 MB / 0.9373 GB, free: 16.41 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6687804674729705] Failed to read output from testmodel.py, exit status != 0: 0.01479469332844019 0.027152626000000003 0.022321293000000002 Calling exit ...