Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0005402/0.0005402, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.0006918/0.0006918, allocations: 210.4 kB / 22.99 MB, free: 2.977 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.8323/0.8323, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7114/0.7114, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: IDEAS 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: 69.3 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4327, allocations: 102 MB / 0.8191 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001364/0.4341, allocations: 0.7893 MB / 0.8198 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007298/0.4348, allocations: 0.9134 MB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.4349, allocations: 6.906 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.435, allocations: 15.44 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.969e-05/0.435, allocations: 12.02 kB / 0.8208 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.4352, allocations: 26.33 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.899e-05/0.4353, allocations: 79.38 kB / 0.8209 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4354, allocations: 34.8 kB / 0.8209 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.4356, allocations: 33.89 kB / 0.8209 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.4356, allocations: 29.56 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.4356, allocations: 5.469 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.4357, allocations: 7.188 kB / 0.821 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.4357, allocations: 21.27 kB / 0.821 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.4357, allocations: 24.61 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.4359, allocations: 79.06 kB / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4359, allocations: 0.5156 kB / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4359, allocations: 0 / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4359, allocations: 4 kB / 0.8211 GB, free: 15.96 MB / 0.6198 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.0004197/0.4363, allocations: 316.5 kB / 0.8214 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4363, allocations: 9.797 kB / 0.8214 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4365, allocations: 17.05 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.4367, allocations: 144.5 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4367, allocations: 4.312 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.4367, allocations: 7.75 kB / 0.8216 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4368, allocations: 67.53 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4368, allocations: 0.8438 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.4368, allocations: 3.938 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4368, allocations: 3.688 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.4369, allocations: 31.38 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.4372, allocations: 250.8 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4374, allocations: 56.14 kB / 0.822 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.4374, allocations: 17.16 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.4374, allocations: 3.438 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4374, allocations: 30.56 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4374, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001859/0.4376, allocations: 74.64 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4376, allocations: 53.78 kB / 0.8221 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.4377, allocations: 142.6 kB / 0.8223 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4377, allocations: 26.41 kB / 0.8223 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.4378, allocations: 103.5 kB / 0.8224 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.4378, allocations: 8.688 kB / 0.8224 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.4378, allocations: 23.44 kB / 0.8224 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.4379, allocations: 324.7 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.4379, allocations: 15.06 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.438, allocations: 13.83 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.438, allocations: 27.56 kB / 0.8228 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.438, allocations: 0 / 0.8228 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.404e-05/0.4381, allocations: 73.34 kB / 0.8228 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4381, allocations: 6.562 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.4381, allocations: 0 / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4381, allocations: 2.594 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.4382, allocations: 8.078 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.4382, allocations: 0 / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.4382, allocations: 13.97 kB / 0.8229 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.4382, allocations: 2.938 kB / 0.8229 GB, free: 14.35 MB / 0.6198 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.26e-05/0.4383, allocations: 121.9 kB / 0.823 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.4383, allocations: 8.078 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.4383, allocations: 15.11 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4383, allocations: 0 / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4383, allocations: 5.5 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4383, allocations: 0.75 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.4384, allocations: 122.5 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4384, allocations: 1.094 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.4385, allocations: 4.688 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4385, allocations: 1.312 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4385, allocations: 0.6562 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4385, allocations: 1.062 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4385, allocations: 4 kB / 0.8232 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.4386, allocations: 165.9 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.4386, allocations: 6.891 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4386, allocations: 0.6562 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.4387, allocations: 11.94 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.4387, allocations: 8.969 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.4387, allocations: 3.938 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.4388, allocations: 100.7 kB / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4388, allocations: 0 / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001408/0.4389, allocations: 8.312 kB / 0.8234 GB, free: 13.83 MB / 0.6198 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 8.598e-05/0.439, allocations: 99.7 kB / 0.8235 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.4391, allocations: 34.58 kB / 0.8236 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4391, allocations: 3.938 kB / 0.8236 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.4391, allocations: 18.95 kB / 0.8236 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.4393, allocations: 17.05 kB / 0.8236 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.4396, allocations: 200.4 kB / 0.8238 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.4397, allocations: 75.88 kB / 0.8239 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.4397, allocations: 11.58 kB / 0.8239 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.4397, allocations: 0 / 0.8239 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.001938/0.4416, allocations: 0.9998 MB / 0.8249 GB, free: 13.37 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.219241782091558] Failed to read output from testmodel.py, exit status != 0: 0.44811359187588096 0.45662034300000004 0.018769556 Calling exit ...