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.001747/0.001747, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002177/0.002177, allocations: 213.8 kB / 22.24 MB, free: 5.238 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.06578/0.06578, allocations: 12.2 MB / 324.6 MB, free: 7.086 MB / 254.1 MB " [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.0007644/0.0007644, allocations: 31.53 kB / 384.1 MB, free: 47.53 MB / 302.1 MB " [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 2.61/2.61, allocations: 353.9 MB / 0.7787 GB, free: 1.652 MB / 0.5138 GB " [Timeout remaining time 177] 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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003668/0.003668, allocations: 118.4 kB / 1.06 GB, free: 12.68 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2909, allocations: 134.9 MB / 1.192 GB, free: 5.898 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002717/0.2937, allocations: 0.7792 MB / 1.193 GB, free: 5.121 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2952, allocations: 0.9072 MB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.2953, allocations: 4 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2955, allocations: 19.8 kB / 1.194 GB, free: 4.18 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.2955, allocations: 7.875 kB / 1.194 GB, free: 4.172 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2958, allocations: 31.91 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.296, allocations: 79.7 kB / 1.194 GB, free: 4.062 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2961, allocations: 23.98 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2963, allocations: 35.92 kB / 1.194 GB, free: 4.004 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2964, allocations: 31.78 kB / 1.194 GB, free: 3.973 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2964, allocations: 4 kB / 1.194 GB, free: 3.969 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 5.87e-05/0.2965, allocations: 11.98 kB / 1.194 GB, free: 3.957 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2965, allocations: 8 kB / 1.194 GB, free: 3.949 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.2965, allocations: 35.73 kB / 1.194 GB, free: 3.914 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2967, allocations: 83.61 kB / 1.194 GB, free: 3.832 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2967, allocations: 0 / 1.194 GB, free: 3.832 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2967, allocations: 0 / 1.194 GB, free: 3.832 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2968, allocations: 4 kB / 1.194 GB, free: 3.828 MB / 0.8263 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.0006583/0.2974, allocations: 306 kB / 1.195 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2975, allocations: 11.98 kB / 1.195 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.2977, allocations: 20.88 kB / 1.195 GB, free: 3.465 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.298, allocations: 146.3 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.298, allocations: 4.375 kB / 1.195 GB, free: 3.293 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.298, allocations: 384 / 1.195 GB, free: 3.293 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2982, allocations: 74.17 kB / 1.195 GB, free: 3.215 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2982, allocations: 4.188 kB / 1.195 GB, free: 3.211 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2982, allocations: 3.938 kB / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2982, allocations: 0 / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.2983, allocations: 31.97 kB / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.2988, allocations: 260.2 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.299, allocations: 50.66 kB / 1.195 GB, free: 2.832 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.2991, allocations: 20.91 kB / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2991, allocations: 0 / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2991, allocations: 34.59 kB / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2991, allocations: 0 / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0002808/0.2994, allocations: 81.61 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2995, allocations: 51.41 kB / 1.195 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2996, allocations: 131.9 kB / 1.195 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2996, allocations: 29.7 kB / 1.195 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.2997, allocations: 96.14 kB / 1.196 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.2997, allocations: 11.88 kB / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.2997, allocations: 17.72 kB / 1.196 GB, free: 2.312 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2999, allocations: 326.8 kB / 1.196 GB, free: 1.984 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.3, allocations: 12 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.3, allocations: 19.92 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.3001, allocations: 24.84 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3001, allocations: 0 / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.3002, allocations: 69.91 kB / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3003, allocations: 8 kB / 1.196 GB, free: 1.844 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3003, allocations: 3.984 kB / 1.196 GB, free: 1.84 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3003, allocations: 48 / 1.196 GB, free: 1.84 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.3003, allocations: 7.984 kB / 1.196 GB, free: 1.832 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3004, allocations: 0 / 1.196 GB, free: 1.832 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.3004, allocations: 19.94 kB / 1.196 GB, free: 1.812 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3004, allocations: 0 / 1.196 GB, free: 1.812 MB / 0.8263 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 0.0001114/0.3006, allocations: 121.7 kB / 1.196 GB, free: 1.684 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.3006, allocations: 7.984 kB / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.3006, allocations: 16.34 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3006, allocations: 0 / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3006, allocations: 0 / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3006, allocations: 0 / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.3008, allocations: 129.2 kB / 1.196 GB, free: 1.496 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3008, allocations: 0 / 1.196 GB, free: 1.496 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.3009, allocations: 4 kB / 1.196 GB, free: 1.492 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3009, allocations: 0 / 1.196 GB, free: 1.492 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3009, allocations: 3.938 kB / 1.196 GB, free: 1.488 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3009, allocations: 0 / 1.196 GB, free: 1.488 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3009, allocations: 3.984 kB / 1.196 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.3011, allocations: 155.5 kB / 1.196 GB, free: 1.316 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3011, allocations: 19.88 kB / 1.196 GB, free: 1.297 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3011, allocations: 0 / 1.196 GB, free: 1.297 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3012, allocations: 15.92 kB / 1.196 GB, free: 1.281 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.3013, allocations: 11.98 kB / 1.197 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.3013, allocations: 0 / 1.197 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 8.612e-05/0.3014, allocations: 108.6 kB / 1.197 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3014, allocations: 0 / 1.197 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002325/0.3016, allocations: 7.953 kB / 1.197 GB, free: 1.156 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001382/0.3018, allocations: 103.2 kB / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.3019, allocations: 31.98 kB / 1.197 GB, free: 1.016 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3019, allocations: 0 / 1.197 GB, free: 1.016 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.302, allocations: 19.92 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3023, allocations: 21.28 kB / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.3027, allocations: 166.7 kB / 1.197 GB, free: 0.7891 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.205e-05/0.3028, allocations: 83.08 kB / 1.197 GB, free: 0.6875 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.3028, allocations: 4 kB / 1.197 GB, free: 0.6836 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3029, allocations: 15.42 kB / 1.197 GB, free: 0.668 MB / 0.8263 GB Notification: Performance of SimCode: time 5.31e-07/0.3029, allocations: 0 / 1.197 GB, free: 0.668 MB / 0.8263 GB Notification: Performance of Templates: time 0.004017/0.3069, allocations: 0.9432 MB / 1.198 GB, free: 15.74 MB / 0.8419 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: 8.46551974862814] Failed to read output from testmodel.py, exit status != 0: 0.316170871257782 0.33171049 0.031795096 Calling exit ...