Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0007698/0.0007698, 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.0008178/0.0008178, 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.8443/0.8443, allocations: 177.1 MB / 203.7 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.03422/0.03422, 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.0003735/0.0003735, 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.459/1.459, allocations: 275 MB / 0.6476 GB, free: 2.469 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9295 GB, free: 7.902 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.224e-05, allocations: 5.375 kB / 0.9295 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00123/0.001252, allocations: 0.7889 MB / 0.9303 GB, free: 7.125 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.002065, allocations: 0.9099 MB / 0.9312 GB, free: 6.203 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.002136, allocations: 4.656 kB / 0.9312 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.002251, allocations: 14.53 kB / 0.9312 GB, free: 6.188 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.002281, allocations: 11.88 kB / 0.9312 GB, free: 6.176 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.00245, allocations: 31.89 kB / 0.9312 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.002544, allocations: 79.72 kB / 0.9313 GB, free: 6.066 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.002649, allocations: 27.86 kB / 0.9314 GB, free: 6.039 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.002772, allocations: 43.89 kB / 0.9314 GB, free: 5.996 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.002832, allocations: 25.31 kB / 0.9314 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.002848, allocations: 4 kB / 0.9314 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.002883, allocations: 8 kB / 0.9314 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.002901, allocations: 20.56 kB / 0.9314 GB, free: 5.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.002921, allocations: 11.94 kB / 0.9315 GB, free: 5.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003038, allocations: 80.55 kB / 0.9315 GB, free: 5.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00304, allocations: 7.938 kB / 0.9315 GB, free: 5.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.003041, allocations: 0.8438 kB / 0.9315 GB, free: 5.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003045, allocations: 0 / 0.9315 GB, free: 5.844 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004064/0.003451, allocations: 316.9 kB / 0.9318 GB, free: 5.504 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.00349, allocations: 17.95 kB / 0.9319 GB, free: 5.488 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.003603, allocations: 20.88 kB / 0.9319 GB, free: 5.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.00378, allocations: 141.6 kB / 0.932 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.00379, allocations: 8.906 kB / 0.932 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003801, allocations: 384 / 0.932 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.003911, allocations: 66.67 kB / 0.9321 GB, free: 5.227 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003919, allocations: 1.25 kB / 0.9321 GB, free: 5.227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.00393, allocations: 8.375 kB / 0.9321 GB, free: 5.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003933, allocations: 384 / 0.9321 GB, free: 5.219 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.503e-05/0.003998, allocations: 37.47 kB / 0.9321 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.004301, allocations: 248.4 kB / 0.9324 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.004398, allocations: 51.7 kB / 0.9324 GB, free: 4.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.00443, allocations: 25.66 kB / 0.9324 GB, free: 4.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.004444, allocations: 0 / 0.9324 GB, free: 4.824 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.004463, allocations: 32.59 kB / 0.9325 GB, free: 4.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.004464, allocations: 0 / 0.9325 GB, free: 4.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002404/0.004705, allocations: 73.66 kB / 0.9325 GB, free: 4.707 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.004726, allocations: 55.41 kB / 0.9326 GB, free: 4.641 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.004808, allocations: 132.2 kB / 0.9327 GB, free: 4.504 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.004822, allocations: 33.69 kB / 0.9328 GB, free: 4.465 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.004869, allocations: 96.09 kB / 0.9329 GB, free: 4.367 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.004884, allocations: 12.39 kB / 0.9329 GB, free: 4.355 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.00491, allocations: 17.7 kB / 0.9329 GB, free: 4.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.004985, allocations: 315.4 kB / 0.9332 GB, free: 4.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.005014, allocations: 17.8 kB / 0.9332 GB, free: 4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.005039, allocations: 19.98 kB / 0.9332 GB, free: 3.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.00509, allocations: 28.84 kB / 0.9332 GB, free: 3.949 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005092, allocations: 0 / 0.9332 GB, free: 3.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.937e-05/0.005171, allocations: 77.08 kB / 0.9333 GB, free: 3.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005184, allocations: 7.984 kB / 0.9333 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005188, allocations: 0 / 0.9333 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005198, allocations: 0 / 0.9333 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.005243, allocations: 4 kB / 0.9333 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.00525, allocations: 0 / 0.9333 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.005288, allocations: 11.98 kB / 0.9333 GB, free: 3.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.005293, allocations: 0 / 0.9333 GB, free: 3.848 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.872e-05/0.005352, allocations: 124.1 kB / 0.9335 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.005368, allocations: 11.89 kB / 0.9335 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.00539, allocations: 12.33 kB / 0.9335 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.005393, allocations: 0 / 0.9335 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.005393, allocations: 4 kB / 0.9335 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.005402, allocations: 6.078 kB / 0.9335 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.005414, allocations: 0 / 0.9335 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.005466, allocations: 11.98 kB / 0.9335 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.005512, allocations: 11.98 kB / 0.9335 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.921e-05/0.005611, allocations: 148.8 kB / 0.9337 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001147/0.005725, allocations: 231.1 kB / 0.9339 GB, free: 3.27 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.497e-05/0.00576, allocations: 20.02 kB / 0.9339 GB, free: 3.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.005803, allocations: 101.1 kB / 0.934 GB, free: 3.152 MB / 0.698 GB Notification: Performance of Backend: time 2.71e-07/0.005803, allocations: 3.938 kB / 0.934 GB, free: 3.148 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.006101, allocations: 104.1 kB / 0.9341 GB, free: 3.039 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003926/0.006494, allocations: 0.6158 MB / 0.9347 GB, free: 2.375 MB / 0.698 GB Notification: Performance of Templates: time 0.002366/0.00886, allocations: 1.054 MB / 0.9357 GB, free: 1.348 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.516461810097098] Failed to read output from testmodel.py, exit status != 0: 0.013006777502596378 0.020851771 0.016211848 Calling exit ...