Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.001506/0.001506, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001561/0.001561, allocations: 215.3 kB / 22.25 MB, free: 5.082 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 1.323/1.323, allocations: 203.8 MB / 0.5041 GB, free: 4.953 MB / 414.1 MB " [Timeout remaining time 178] 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [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.002244/0.002244, allocations: 67.88 kB / 0.7187 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6569, allocations: 102 MB / 0.8183 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002123/0.659, allocations: 0.7707 MB / 0.8191 GB, free: 28.69 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.6603, allocations: 0.8889 MB / 0.82 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.6604, allocations: 1.344 kB / 0.82 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.6604, allocations: 10.59 kB / 0.82 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.874e-05/0.6605, allocations: 15.39 kB / 0.82 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.6607, allocations: 42 kB / 0.82 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.6608, allocations: 90.28 kB / 0.8201 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.661, allocations: 22.62 kB / 0.8201 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.6611, allocations: 31.97 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.6612, allocations: 54.53 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.6612, allocations: 11.62 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.6612, allocations: 8.219 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.6613, allocations: 15.33 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.6613, allocations: 34.67 kB / 0.8203 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.6615, allocations: 93.81 kB / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.6615, allocations: 1.422 kB / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6615, allocations: 0 / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6615, allocations: 2.844 kB / 0.8204 GB, free: 27.81 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006116/0.6621, allocations: 318 kB / 0.8207 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.6622, allocations: 16.31 kB / 0.8207 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.6622, allocations: 12.48 kB / 0.8207 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6624, allocations: 122 kB / 0.8208 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6624, allocations: 7.75 kB / 0.8208 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.6624, allocations: 5.344 kB / 0.8208 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.6628, allocations: 105.4 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6628, allocations: 1.719 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.6628, allocations: 4.625 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.6628, allocations: 1.797 kB / 0.8209 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.6633, allocations: 102.5 kB / 0.821 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.664, allocations: 312.3 kB / 0.8213 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008173/0.6648, allocations: 124.4 kB / 0.8215 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.6651, allocations: 56.81 kB / 0.8215 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.6651, allocations: 0.75 kB / 0.8215 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.6651, allocations: 32.23 kB / 0.8215 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.6651, allocations: 0 / 0.8215 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0007786/0.6659, allocations: 181 kB / 0.8217 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.6659, allocations: 52.98 kB / 0.8218 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.6661, allocations: 132.3 kB / 0.8219 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.6661, allocations: 29.7 kB / 0.8219 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.6662, allocations: 101.3 kB / 0.822 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.6662, allocations: 20.22 kB / 0.822 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.6663, allocations: 27.17 kB / 0.8221 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.6664, allocations: 319.2 kB / 0.8224 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.6666, allocations: 44.41 kB / 0.8224 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.6668, allocations: 50.58 kB / 0.8225 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.6673, allocations: 96.2 kB / 0.8225 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6673, allocations: 0.5 kB / 0.8225 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004723/0.6678, allocations: 138.5 kB / 0.8227 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.6678, allocations: 5.797 kB / 0.8227 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6678, allocations: 0 / 0.8227 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6678, allocations: 4.625 kB / 0.8227 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.668, allocations: 29.11 kB / 0.8227 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.668, allocations: 0 / 0.8227 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.6681, allocations: 25.38 kB / 0.8227 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6681, allocations: 2.969 kB / 0.8227 GB, free: 26.07 MB / 0.6387 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 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.627e-05/0.6682, allocations: 115.2 kB / 0.8229 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.6683, allocations: 6.266 kB / 0.8229 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.6683, allocations: 12.45 kB / 0.8229 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.6683, allocations: 0 / 0.8229 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6683, allocations: 5.344 kB / 0.8229 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6683, allocations: 4.547 kB / 0.8229 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.6685, allocations: 169.7 kB / 0.823 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6685, allocations: 0 / 0.823 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.6687, allocations: 24.78 kB / 0.8231 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6687, allocations: 0 / 0.8231 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6687, allocations: 6.547 kB / 0.8231 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.6687, allocations: 9.094 kB / 0.8231 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6687, allocations: 0 / 0.8231 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.6692, allocations: 234.8 kB / 0.8233 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.6692, allocations: 7.531 kB / 0.8233 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.6692, allocations: 5.375 kB / 0.8233 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.6693, allocations: 12.16 kB / 0.8233 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.6694, allocations: 29.45 kB / 0.8234 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.6695, allocations: 8.25 kB / 0.8234 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.6695, allocations: 97.59 kB / 0.8235 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6695, allocations: 0 / 0.8235 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002374/0.6697, allocations: 15.28 kB / 0.8235 GB, free: 25.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001223/0.6699, allocations: 94.77 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.6703, allocations: 107 kB / 0.8237 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6703, allocations: 0 / 0.8237 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.6705, allocations: 59.47 kB / 0.8237 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.6709, allocations: 13.38 kB / 0.8237 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.6713, allocations: 178.7 kB / 0.8239 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.6715, allocations: 0.6973 MB / 0.8246 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.085e-05/0.6715, allocations: 12.84 kB / 0.8246 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.6716, allocations: 20.92 kB / 0.8246 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6716, allocations: 0 / 0.8246 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.004816/0.6764, allocations: 1.61 MB / 0.8262 GB, free: 24.37 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.85469014942646] Failed to read output from testmodel.py, exit status != 0: 0.6853367686271667 0.698193752 0.033841144000000004 Calling exit ...