Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0008491/0.0008491, allocations: 75.7 kB / 20.02 MB, free: 4.324 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.0009175/0.0009175, allocations: 165.3 kB / 23.33 MB, free: 1.016 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.8785/0.8785, 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.03426/0.03426, allocations: 9.127 MB / 269.2 MB, free: 4.438 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.0003974/0.0003974, allocations: 22.72 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.465/1.465, allocations: 275 MB / 0.6476 GB, free: 2.836 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.805e-05, allocations: 3.922 kB / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001081/0.001099, allocations: 0.6802 MB / 0.9302 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.000639/0.001738, allocations: 0.8323 MB / 0.931 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.001772, allocations: 5.094 kB / 0.931 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.001795, allocations: 4.688 kB / 0.931 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.001857, allocations: 9.875 kB / 0.931 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 5.683e-05/0.001914, allocations: 14.08 kB / 0.931 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.00198, allocations: 42.64 kB / 0.9311 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.00207, allocations: 12.55 kB / 0.9311 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.002138, allocations: 21.28 kB / 0.9311 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.002174, allocations: 19 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.002191, allocations: 3.969 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-06/0.002197, allocations: 4.094 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.002214, allocations: 15.83 kB / 0.9312 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.002236, allocations: 12.3 kB / 0.9312 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.002319, allocations: 38.75 kB / 0.9312 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002321, allocations: 0 / 0.9312 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002322, allocations: 0 / 0.9312 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002325, allocations: 0 / 0.9312 GB, free: 19.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003199/0.002645, allocations: 288.9 kB / 0.9315 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.00268, allocations: 17.14 kB / 0.9315 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.002704, allocations: 2.344 kB / 0.9315 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.741e-05/0.002762, allocations: 119.2 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.002772, allocations: 5.625 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.002784, allocations: 1.5 kB / 0.9316 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.002935, allocations: 69.08 kB / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.002943, allocations: 192 / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.002951, allocations: 1.562 kB / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.002955, allocations: 384 / 0.9317 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.003105, allocations: 72.11 kB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.003331, allocations: 218.7 kB / 0.932 GB, free: 18.99 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.00344, allocations: 53.64 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.003521, allocations: 39.66 kB / 0.9321 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.003532, allocations: 1.438 kB / 0.9321 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.003546, allocations: 36.8 kB / 0.9321 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.003546, allocations: 0 / 0.9321 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0002987/0.003845, allocations: 135.9 kB / 0.9322 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.274e-05/0.003858, allocations: 55.41 kB / 0.9323 GB, free: 18.78 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.749e-05/0.003905, allocations: 112.7 kB / 0.9324 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.003912, allocations: 25.7 kB / 0.9324 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.003935, allocations: 92.41 kB / 0.9325 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.00395, allocations: 8.547 kB / 0.9325 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.003971, allocations: 14.09 kB / 0.9325 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.588e-05/0.003997, allocations: 317.8 kB / 0.9328 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.004069, allocations: 30.48 kB / 0.9329 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.004137, allocations: 31.39 kB / 0.9329 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.004277, allocations: 72.16 kB / 0.9329 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004279, allocations: 0 / 0.9329 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001574/0.004437, allocations: 101 kB / 0.933 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004448, allocations: 5.781 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004452, allocations: 3.938 kB / 0.9331 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.004464, allocations: 6.188 kB / 0.9331 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.004539, allocations: 15.31 kB / 0.9331 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.004546, allocations: 0 / 0.9331 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.004583, allocations: 11.47 kB / 0.9331 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.004589, allocations: 1.375 kB / 0.9331 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.28e-05/0.004621, allocations: 113.2 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.004635, allocations: 2.109 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.004651, allocations: 18.23 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.004653, allocations: 5.594 kB / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.004653, allocations: 0 / 0.9332 GB, free: 18 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.004659, allocations: 5.797 kB / 0.9332 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.004669, allocations: 1.578 kB / 0.9332 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.004721, allocations: 10.55 kB / 0.9332 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.004757, allocations: 5.266 kB / 0.9332 GB, free: 17.99 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001947/0.004952, allocations: 190.7 kB / 0.9334 GB, free: 17.87 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000173/0.005125, allocations: 271 kB / 0.9337 GB, free: 17.65 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.396e-05/0.005209, allocations: 32.67 kB / 0.9337 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.005227, allocations: 88.16 kB / 0.9338 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of Backend: time 1.3e-07/0.005227, allocations: 0 / 0.9338 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.005501, allocations: 119.5 kB / 0.9339 GB, free: 17.48 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000277/0.005778, allocations: 0.5768 MB / 0.9345 GB, free: 16.89 MB / 0.7293 GB Notification: Performance of Templates: time 0.002201/0.007979, allocations: 0.933 MB / 0.9354 GB, free: 16.79 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.606525999493897] Failed to read output from testmodel.py, exit status != 0: 0.01231378223747015 0.020137958 0.01615992 Calling exit ...