Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.000789/0.000789, 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.0007446/0.0007446, 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.8551/0.8551, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.03563/0.03563, allocations: 9.126 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.0004121/0.0004121, allocations: 23.97 kB / 328.7 MB, free: 20.6 MB / 266.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.435/1.435, allocations: 275 MB / 0.6476 GB, free: 2.473 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.9295 GB, free: 8.109 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.409e-05, allocations: 3.219 kB / 0.9295 GB, free: 8.105 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001358/0.001382, allocations: 0.6586 MB / 0.9301 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002588, allocations: 1.362 MB / 0.9314 GB, free: 6.094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.002645, allocations: 6 kB / 0.9314 GB, free: 6.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.003054, allocations: 197.1 kB / 0.9316 GB, free: 5.898 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.003127, allocations: 96.91 kB / 0.9317 GB, free: 5.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.003682, allocations: 248.4 kB / 0.932 GB, free: 5.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.004004, allocations: 491.7 kB / 0.9324 GB, free: 5.086 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.004038, allocations: 3.984 kB / 0.9324 GB, free: 5.082 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.004222, allocations: 260.3 kB / 0.9327 GB, free: 4.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.004453, allocations: 222.8 kB / 0.9329 GB, free: 4.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.004504, allocations: 20 kB / 0.9329 GB, free: 4.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.004653, allocations: 95.84 kB / 0.933 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.004897, allocations: 275.4 kB / 0.9333 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.00501, allocations: 111.8 kB / 0.9334 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.005447, allocations: 0.5221 MB / 0.9339 GB, free: 3.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005448, allocations: 0 / 0.9339 GB, free: 3.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00545, allocations: 0.5312 kB / 0.9339 GB, free: 3.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005454, allocations: 0.5312 kB / 0.9339 GB, free: 3.598 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006442/0.006098, allocations: 0.5679 MB / 0.9344 GB, free: 2.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.006132, allocations: 12.89 kB / 0.9345 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.006219, allocations: 32.75 kB / 0.9345 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.006548, allocations: 329.7 kB / 0.9348 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.006562, allocations: 17.03 kB / 0.9348 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.006606, allocations: 27.77 kB / 0.9348 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.006821, allocations: 188.7 kB / 0.935 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.006829, allocations: 192 / 0.935 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006844, allocations: 384 / 0.935 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006849, allocations: 4.375 kB / 0.935 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.006975, allocations: 115.8 kB / 0.9351 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.007446, allocations: 267 kB / 0.9354 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.007803, allocations: 315.6 kB / 0.9357 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.007953, allocations: 123.3 kB / 0.9358 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.007961, allocations: 4 kB / 0.9358 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.008301, allocations: 283.9 kB / 0.9361 GB, free: 1.188 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.008302, allocations: 0 / 0.9361 GB, free: 1.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005496/0.008852, allocations: 0.4972 MB / 0.9366 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.008894, allocations: 111.4 kB / 0.9367 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.00917, allocations: 408.4 kB / 0.9371 GB, free: 148 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.009206, allocations: 38.42 kB / 0.9371 GB, free: 104 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.009301, allocations: 154.1 kB / 0.9372 GB, free: 15.95 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.009333, allocations: 35.75 kB / 0.9373 GB, free: 15.91 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.009432, allocations: 121.6 kB / 0.9374 GB, free: 15.79 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.009525, allocations: 346.8 kB / 0.9377 GB, free: 15.44 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.009605, allocations: 81.14 kB / 0.9378 GB, free: 15.36 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.01007, allocations: 1.096 MB / 0.9389 GB, free: 13.99 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01026, allocations: 257.5 kB / 0.9391 GB, free: 13.69 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01026, allocations: 4 kB / 0.9391 GB, free: 13.69 MB / 0.7137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003212/0.01058, allocations: 325 kB / 0.9394 GB, free: 13.36 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01059, allocations: 8 kB / 0.9394 GB, free: 13.36 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.0106, allocations: 4 kB / 0.9394 GB, free: 13.35 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01061, allocations: 4.406 kB / 0.9395 GB, free: 13.35 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.01071, allocations: 35.92 kB / 0.9395 GB, free: 13.31 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.01073, allocations: 11.92 kB / 0.9395 GB, free: 13.3 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.01108, allocations: 67.95 kB / 0.9396 GB, free: 13.23 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.0111, allocations: 12 kB / 0.9396 GB, free: 13.22 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.0001641/0.01126, allocations: 195.7 kB / 0.9398 GB, free: 13.02 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.0113, allocations: 32.05 kB / 0.9398 GB, free: 12.99 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.01134, allocations: 37.94 kB / 0.9398 GB, free: 12.95 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01134, allocations: 0 / 0.9398 GB, free: 12.95 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01134, allocations: 0 / 0.9398 GB, free: 12.95 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.01137, allocations: 35.78 kB / 0.9399 GB, free: 12.92 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.0114, allocations: 4 kB / 0.9399 GB, free: 12.91 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.01145, allocations: 0 / 0.9399 GB, free: 12.91 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.01148, allocations: 23.97 kB / 0.9399 GB, free: 12.89 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003823/0.01187, allocations: 0.6053 MB / 0.9405 GB, free: 12.28 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004205/0.01229, allocations: 0.7281 MB / 0.9412 GB, free: 11.53 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001028/0.01239, allocations: 103.9 kB / 0.9413 GB, free: 11.43 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0001843/0.01257, allocations: 295 kB / 0.9416 GB, free: 11.14 MB / 0.7137 GB Notification: Performance of Backend: time 2.6e-07/0.01257, allocations: 3.938 kB / 0.9416 GB, free: 11.14 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.01311, allocations: 254.6 kB / 0.9418 GB, free: 10.88 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0009046/0.01402, allocations: 0.8897 MB / 0.9427 GB, free: 9.941 MB / 0.7137 GB Notification: Performance of Templates: time 0.006631/0.02065, allocations: 5.511 MB / 0.9481 GB, free: 4.543 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.630273284390569] Failed to read output from testmodel.py, exit status != 0: 0.02586819138377905 0.033480342 0.026385884000000002 Calling exit ...