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.0007141/0.0007141, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007333/0.0007333, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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.8826/0.8826, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.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.03583/0.03583, allocations: 12.18 MB / 325.4 MB, free: 3.426 MB / 250.7 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.0004009/0.0004009, allocations: 33.84 kB / 384.9 MB, free: 45.84 MB / 298.7 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 1.604/1.604, allocations: 353.8 MB / 0.7794 GB, free: 13.05 MB / 0.5262 GB " [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: 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.001427/0.001427, allocations: 120.5 kB / 1.061 GB, free: 9.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2198, allocations: 134.9 MB / 1.193 GB, free: 2.516 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001589/0.2214, allocations: 0.8199 MB / 1.194 GB, free: 1.699 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.2222, allocations: 0.9211 MB / 1.195 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.2223, allocations: 4 kB / 1.195 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2224, allocations: 15.81 kB / 1.195 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.502e-05/0.2225, allocations: 11.92 kB / 1.195 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2227, allocations: 23.92 kB / 1.195 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2228, allocations: 79.77 kB / 1.195 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2229, allocations: 19.97 kB / 1.195 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.223, allocations: 43.8 kB / 1.195 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.2231, allocations: 27.86 kB / 1.195 GB, free: 0.543 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2231, allocations: 8 kB / 1.195 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.293e-05/0.2231, allocations: 15.98 kB / 1.195 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2232, allocations: 15.92 kB / 1.195 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.2232, allocations: 27.81 kB / 1.195 GB, free: 488 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2233, allocations: 87.55 kB / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2233, allocations: 0 / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2233, allocations: 0 / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2233, allocations: 0 / 1.195 GB, free: 400 kB / 0.823 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.000432/0.2238, allocations: 314 kB / 1.195 GB, free: 52 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2238, allocations: 11.98 kB / 1.195 GB, free: 40 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2239, allocations: 20.88 kB / 1.195 GB, free: 20 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2241, allocations: 150.3 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2242, allocations: 384 / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2242, allocations: 8.312 kB / 1.196 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2243, allocations: 66.17 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2243, allocations: 192 / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2243, allocations: 7.938 kB / 1.196 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2243, allocations: 4 kB / 1.196 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.2244, allocations: 27.98 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.2248, allocations: 299.7 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2249, allocations: 42.56 kB / 1.196 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.2249, allocations: 21 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2249, allocations: 0 / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2249, allocations: 34.56 kB / 1.196 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.2249, allocations: 96 / 1.196 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3): time 0.000174/0.2251, allocations: 77.56 kB / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2251, allocations: 55.41 kB / 1.196 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.2252, allocations: 131.7 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2252, allocations: 29.7 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.2253, allocations: 96.12 kB / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.2253, allocations: 3.953 kB / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.2253, allocations: 21.7 kB / 1.196 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.2254, allocations: 318.8 kB / 1.197 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.2254, allocations: 15.98 kB / 1.197 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.2254, allocations: 23.98 kB / 1.197 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.746e-05/0.2255, allocations: 28.78 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2255, allocations: 0 / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.276e-05/0.2256, allocations: 69.64 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2256, allocations: 4 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2256, allocations: 0 / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2256, allocations: 0 / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.2257, allocations: 7.984 kB / 1.197 GB, free: 14.35 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2257, allocations: 4 kB / 1.197 GB, free: 14.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.2257, allocations: 15.94 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2257, allocations: 0 / 1.197 GB, free: 14.33 MB / 0.8387 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 6.486e-05/0.2258, allocations: 117.8 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.2258, allocations: 4.328 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2258, allocations: 16.27 kB / 1.197 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2258, allocations: 3.938 kB / 1.197 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2258, allocations: 7.922 kB / 1.197 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2258, allocations: 8 kB / 1.197 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2259, allocations: 156.6 kB / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2259, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.226, allocations: 8 kB / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.226, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.226, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.226, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.226, allocations: 3.984 kB / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.2262, allocations: 159.5 kB / 1.197 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.2262, allocations: 15.88 kB / 1.197 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2262, allocations: 0 / 1.197 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.2263, allocations: 11.98 kB / 1.197 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.2263, allocations: 7.984 kB / 1.197 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.2263, allocations: 4 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.2264, allocations: 109.1 kB / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2264, allocations: 0 / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001469/0.2265, allocations: 15.89 kB / 1.198 GB, free: 13.62 MB / 0.8387 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 9.97e-05/0.2266, allocations: 103.2 kB / 1.198 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.2267, allocations: 31.98 kB / 1.198 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2267, allocations: 0 / 1.198 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.2268, allocations: 15.98 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.227, allocations: 8 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.2273, allocations: 196.4 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2274, allocations: 0.6885 MB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.2275, allocations: 11.44 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of SimCode: time 4.81e-07/0.2275, allocations: 0 / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of Templates: time 0.001756/0.2292, allocations: 0.9874 MB / 1.2 GB, free: 11.53 MB / 0.8387 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: 6.575420043431222] Failed to read output from testmodel.py, exit status != 0: 0.23492788895964622 0.24320100099999994 0.018262904 Calling exit ...