Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0006862/0.0006862, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.000699/0.000699, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.805/0.805, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.6655/0.6655, allocations: 154.5 MB / 414.5 MB, free: 0.8633 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.543e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001043/0.001059, allocations: 0.6918 MB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009635/0.002022, allocations: 0.8548 MB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.002053, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.002078, allocations: 3.938 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.002135, allocations: 3.984 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.002261, allocations: 27.84 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.002324, allocations: 43.92 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.002408, allocations: 15.97 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.002471, allocations: 27.92 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.002515, allocations: 19.97 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.002535, allocations: 4 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.002542, allocations: 7.938 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.002558, allocations: 11.98 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.002577, allocations: 7.984 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.948e-05/0.002656, allocations: 59.78 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002658, allocations: 0 / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002659, allocations: 0 / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.334e-06/0.002661, allocations: 0 / 0.621 GB, free: 11.41 MB / 0.5886 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.0003383/0.003, allocations: 282.2 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.00303, allocations: 9.469 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.003055, allocations: 8.891 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.003133, allocations: 109.8 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.003145, allocations: 4.312 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.003154, allocations: 4.375 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003271, allocations: 62.22 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.003279, allocations: 3.938 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.003288, allocations: 4 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.003292, allocations: 4 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.003398, allocations: 55.94 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.003655, allocations: 232.4 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.003773, allocations: 70.47 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.003824, allocations: 24.92 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.003837, allocations: 3.938 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.003853, allocations: 38.56 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.003854, allocations: 0 / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002271/0.004081, allocations: 109.5 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.004107, allocations: 55.41 kB / 0.622 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.004157, allocations: 105.8 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.004166, allocations: 25.7 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.0042, allocations: 92.09 kB / 0.6223 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.004213, allocations: 3.953 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.00424, allocations: 21.7 kB / 0.6223 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.004305, allocations: 322.8 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.004353, allocations: 23.97 kB / 0.6226 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.004397, allocations: 19.98 kB / 0.6226 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.004488, allocations: 57.02 kB / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00449, allocations: 3.938 kB / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.004615, allocations: 93.59 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.004624, allocations: 4 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.004628, allocations: 4 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.004637, allocations: 0 / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.004697, allocations: 11.98 kB / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.004701, allocations: 0 / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.004732, allocations: 7.984 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.004736, allocations: 4 kB / 0.6228 GB, free: 9.398 MB / 0.5886 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 4.766e-05/0.004784, allocations: 118.8 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.004795, allocations: 4 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.507e-05/0.00481, allocations: 11.94 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004812, allocations: 0 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004815, allocations: 0 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004818, allocations: 3.984 kB / 0.6229 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.213e-05/0.0049, allocations: 117.3 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.004901, allocations: 7.938 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.004932, allocations: 11.98 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004933, allocations: 3.938 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.004939, allocations: 3.938 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004939, allocations: 0 / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00494, allocations: 4 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.005084, allocations: 175.5 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.005095, allocations: 15.83 kB / 0.6233 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.005105, allocations: 0 / 0.6233 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.005148, allocations: 7.984 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.005199, allocations: 11.98 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.005202, allocations: 3.938 kB / 0.6233 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.005236, allocations: 95.56 kB / 0.6234 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005236, allocations: 4 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001365/0.005373, allocations: 8 kB / 0.6234 GB, free: 8.738 MB / 0.5886 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 6.732e-05/0.00544, allocations: 95.25 kB / 0.6235 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.005585, allocations: 55.94 kB / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005586, allocations: 0 / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.005637, allocations: 27.92 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.005806, allocations: 19.92 kB / 0.6236 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.006026, allocations: 150.5 kB / 0.6237 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.006062, allocations: 63.34 kB / 0.6238 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.006094, allocations: 16.48 kB / 0.6238 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.006094, allocations: 0 / 0.6238 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of Templates: time 0.001303/0.007397, allocations: 0.8376 MB / 0.6246 GB, free: 7.426 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.83444036077708] Failed to read output from testmodel.py, exit status != 0: 0.011028429493308067 0.018777531 0.014639502 Calling exit ...