Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009267/0.0009267, 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.0007508/0.0007508, 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.8513/0.8513, 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.03416/0.03416, allocations: 9.114 MB / 269.2 MB, free: 4.457 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.0002854/0.0002854, allocations: 27.95 kB / 328.7 MB, free: 20.61 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.49/1.49, allocations: 275 MB / 0.6476 GB, free: 2.48 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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9295 GB, free: 8.094 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.527e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001329/0.001355, allocations: 0.6886 MB / 0.9301 GB, free: 7.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.002155, allocations: 0.8642 MB / 0.931 GB, free: 6.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.002193, allocations: 0 / 0.931 GB, free: 6.555 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.002218, allocations: 3.938 kB / 0.931 GB, free: 6.551 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.002291, allocations: 8.562 kB / 0.931 GB, free: 6.543 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.00243, allocations: 21.56 kB / 0.931 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.002497, allocations: 47.91 kB / 0.9311 GB, free: 6.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.002585, allocations: 15.92 kB / 0.9311 GB, free: 6.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.002658, allocations: 23.92 kB / 0.9311 GB, free: 6.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.002707, allocations: 28.8 kB / 0.9311 GB, free: 6.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.002726, allocations: 4 kB / 0.9311 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002735, allocations: 4 kB / 0.9311 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.002752, allocations: 13 kB / 0.9311 GB, free: 6.391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.002773, allocations: 11.98 kB / 0.9312 GB, free: 6.379 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.398e-05/0.002857, allocations: 51.84 kB / 0.9312 GB, free: 6.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002859, allocations: 1.188 kB / 0.9312 GB, free: 6.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002859, allocations: 0 / 0.9312 GB, free: 6.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.002863, allocations: 0 / 0.9312 GB, free: 6.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003689/0.003232, allocations: 280.7 kB / 0.9315 GB, free: 6.027 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.003273, allocations: 11.98 kB / 0.9315 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.003306, allocations: 8.891 kB / 0.9315 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.003398, allocations: 113.7 kB / 0.9316 GB, free: 5.871 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.003411, allocations: 384 / 0.9316 GB, free: 5.871 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.003424, allocations: 4.375 kB / 0.9316 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.003561, allocations: 83.2 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00357, allocations: 3.938 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.00358, allocations: 1.312 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003585, allocations: 4 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.003696, allocations: 44.55 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.003992, allocations: 217.1 kB / 0.9319 GB, free: 5.488 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.004122, allocations: 76.19 kB / 0.932 GB, free: 5.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.004179, allocations: 28.89 kB / 0.932 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.004195, allocations: 0 / 0.932 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.004216, allocations: 40.11 kB / 0.9321 GB, free: 5.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.004217, allocations: 0 / 0.9321 GB, free: 5.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002588/0.004475, allocations: 108.1 kB / 0.9322 GB, free: 5.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.004494, allocations: 55.34 kB / 0.9322 GB, free: 5.152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.004554, allocations: 113.8 kB / 0.9323 GB, free: 5.031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.004564, allocations: 29.64 kB / 0.9324 GB, free: 4.996 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.004598, allocations: 80.14 kB / 0.9325 GB, free: 4.914 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.004615, allocations: 19.84 kB / 0.9325 GB, free: 4.895 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.004641, allocations: 18.33 kB / 0.9325 GB, free: 4.871 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.004824, allocations: 314.8 kB / 0.9328 GB, free: 4.555 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.004877, allocations: 25.62 kB / 0.9328 GB, free: 4.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.004923, allocations: 23.98 kB / 0.9328 GB, free: 4.508 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.005023, allocations: 54.25 kB / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005024, allocations: 0 / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.005153, allocations: 87.53 kB / 0.933 GB, free: 4.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005165, allocations: 4 kB / 0.933 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005169, allocations: 0 / 0.933 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005181, allocations: 0 / 0.933 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.005253, allocations: 16.52 kB / 0.933 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.005263, allocations: 4.719 kB / 0.933 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.005295, allocations: 9.266 kB / 0.933 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.005301, allocations: 3.984 kB / 0.933 GB, free: 4.328 MB / 0.698 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,intLesEquThr.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 5.216e-05/0.005353, allocations: 114.5 kB / 0.9331 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.005369, allocations: 9.453 kB / 0.9331 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.005387, allocations: 11.98 kB / 0.9331 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.005389, allocations: 4 kB / 0.9331 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005391, allocations: 4 kB / 0.9331 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.005397, allocations: 0.6562 kB / 0.9331 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.005406, allocations: 0 / 0.9331 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.005453, allocations: 8.516 kB / 0.9332 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.005499, allocations: 13.48 kB / 0.9332 GB, free: 4.16 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001611/0.005661, allocations: 172.9 kB / 0.9333 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000166/0.005826, allocations: 256.4 kB / 0.9336 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.203e-05/0.005889, allocations: 27.97 kB / 0.9336 GB, free: 3.691 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.005918, allocations: 96.25 kB / 0.9337 GB, free: 3.598 MB / 0.698 GB Notification: Performance of Backend: time 2.31e-07/0.005918, allocations: 0 / 0.9337 GB, free: 3.598 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.006178, allocations: 105.3 kB / 0.9338 GB, free: 3.488 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003549/0.006533, allocations: 0.5768 MB / 0.9344 GB, free: 2.863 MB / 0.698 GB Notification: Performance of Templates: time 0.002142/0.008675, allocations: 1.091 MB / 0.9354 GB, free: 1.801 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.617364515550435] Failed to read output from testmodel.py, exit status != 0: 0.013403605669736862 0.024903999000000003 0.019443503 Calling exit ...