Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0007482/0.0007482, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0007667/0.0007667, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8618/0.8618, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03434/0.03434, allocations: 9.119 MB / 269.2 MB, free: 4.441 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.0003726/0.0003726, allocations: 23.97 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.492/1.492, 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.741e-05, allocations: 6.219 kB / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00108/0.001097, allocations: 0.6759 MB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006042/0.001701, allocations: 0.8634 MB / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.001731, allocations: 1.219 kB / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.00175, allocations: 5.156 kB / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.001803, allocations: 1.094 kB / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 9.853e-05/0.001901, allocations: 26.95 kB / 0.931 GB, free: 19.85 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.001959, allocations: 44.09 kB / 0.9311 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.002019, allocations: 19.27 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.002074, allocations: 29.59 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.788e-05/0.002111, allocations: 20.75 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.002127, allocations: 4.125 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.002134, allocations: 3.938 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.002148, allocations: 9.219 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.002166, allocations: 16.42 kB / 0.9312 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 7.223e-05/0.002239, allocations: 47.34 kB / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.00224, allocations: 0 / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002241, allocations: 0 / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002244, allocations: 0 / 0.9312 GB, free: 19.77 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.0002848/0.002529, allocations: 287.8 kB / 0.9315 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.002556, allocations: 11.64 kB / 0.9315 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.002583, allocations: 8.031 kB / 0.9315 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.273e-05/0.002646, allocations: 118.9 kB / 0.9316 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.002657, allocations: 5.688 kB / 0.9316 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.002668, allocations: 3.219 kB / 0.9316 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.002782, allocations: 68.97 kB / 0.9317 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.002788, allocations: 7.922 kB / 0.9317 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.002795, allocations: 5.281 kB / 0.9317 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-06/0.002798, allocations: 4 kB / 0.9317 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.00291, allocations: 53.05 kB / 0.9317 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.003129, allocations: 220.5 kB / 0.932 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.003238, allocations: 63.91 kB / 0.932 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.003294, allocations: 33.2 kB / 0.9321 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.003306, allocations: 0 / 0.9321 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.072e-05/0.003317, allocations: 37.31 kB / 0.9321 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.003317, allocations: 1.406 kB / 0.9321 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4): time 0.000233/0.00355, allocations: 111.9 kB / 0.9322 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.216e-05/0.003562, allocations: 53.05 kB / 0.9322 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.003604, allocations: 107 kB / 0.9323 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.00361, allocations: 25.7 kB / 0.9324 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.003631, allocations: 91.88 kB / 0.9325 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.003645, allocations: 14.31 kB / 0.9325 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.00367, allocations: 24.64 kB / 0.9325 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.431e-05/0.003694, allocations: 313.3 kB / 0.9328 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.003746, allocations: 27.48 kB / 0.9328 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.003795, allocations: 26.05 kB / 0.9328 GB, free: 18.26 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.003898, allocations: 54.53 kB / 0.9329 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.0039, allocations: 0 / 0.9329 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001314/0.004031, allocations: 87.61 kB / 0.933 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004041, allocations: 5.281 kB / 0.933 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.004045, allocations: 0.7969 kB / 0.933 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.004054, allocations: 1.281 kB / 0.933 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.004115, allocations: 15.19 kB / 0.933 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.004122, allocations: 1.656 kB / 0.933 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.004157, allocations: 11.17 kB / 0.933 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004162, allocations: 2 kB / 0.933 GB, free: 18.18 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,intLesThr.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.516e-05/0.004197, allocations: 110.4 kB / 0.9331 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.004212, allocations: 13.42 kB / 0.9331 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.004227, allocations: 10.02 kB / 0.9331 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00423, allocations: 0.7969 kB / 0.9331 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.004231, allocations: 0 / 0.9331 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-06/0.004237, allocations: 3.344 kB / 0.9331 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.004247, allocations: 1.766 kB / 0.9332 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.004297, allocations: 15.47 kB / 0.9332 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.004338, allocations: 11.47 kB / 0.9332 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000155/0.004493, allocations: 173 kB / 0.9333 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001426/0.004635, allocations: 257.9 kB / 0.9336 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.332e-05/0.004698, allocations: 29.91 kB / 0.9336 GB, free: 17.69 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.773e-05/0.004716, allocations: 87.97 kB / 0.9337 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of Backend: time 2.3e-07/0.004716, allocations: 3.938 kB / 0.9337 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.004951, allocations: 106.2 kB / 0.9338 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002405/0.005191, allocations: 0.5748 MB / 0.9344 GB, free: 16.94 MB / 0.7293 GB Notification: Performance of Templates: time 0.002206/0.007398, allocations: 1.088 MB / 0.9354 GB, free: 16.82 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.709399942308664] Failed to read output from testmodel.py, exit status != 0: 0.011325973086059093 0.018652476 0.014843926 Calling exit ...