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.00135/0.00135, allocations: 78.84 kB / 19.16 MB, free: 2.566 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.001423/0.001423, allocations: 168.4 kB / 22.43 MB, free: 5.312 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.412/1.412, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.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.167/1.167, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 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 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.002006/0.002006, allocations: 66.34 kB / 0.6192 GB, free: 4.145 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.536, allocations: 102 MB / 0.7187 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001791/0.5378, allocations: 0.7436 MB / 0.7195 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.5387, allocations: 0.8898 MB / 0.7203 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.5387, allocations: 1.438 kB / 0.7203 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.5388, allocations: 5.344 kB / 0.7203 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.5388, allocations: 14.05 kB / 0.7204 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.539, allocations: 37.69 kB / 0.7204 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.5392, allocations: 85.98 kB / 0.7205 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.5393, allocations: 25.92 kB / 0.7205 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.5394, allocations: 51.09 kB / 0.7206 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.5395, allocations: 48.45 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.5395, allocations: 11.97 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.5395, allocations: 7.875 kB / 0.7206 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.5395, allocations: 15.48 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.5396, allocations: 30.66 kB / 0.7207 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.5397, allocations: 107.6 kB / 0.7208 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5397, allocations: 0 / 0.7208 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5397, allocations: 1.281 kB / 0.7208 GB, free: 408 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5397, allocations: 0 / 0.7208 GB, free: 408 kB / 0.6075 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.0005679/0.5403, allocations: 322.7 kB / 0.7211 GB, free: 108 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5403, allocations: 11 kB / 0.7211 GB, free: 108 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.5404, allocations: 8.594 kB / 0.7211 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.5405, allocations: 121.4 kB / 0.7212 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.5405, allocations: 7.438 kB / 0.7212 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5406, allocations: 16.25 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.5409, allocations: 101.7 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5409, allocations: 0 / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5409, allocations: 4 kB / 0.7213 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5409, allocations: 2.312 kB / 0.7213 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.5413, allocations: 97.72 kB / 0.7214 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.5418, allocations: 270.1 kB / 0.7217 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.5425, allocations: 116.3 kB / 0.7218 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.5427, allocations: 57.59 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.5427, allocations: 1.188 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.5427, allocations: 32.19 kB / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5427, allocations: 7.875 kB / 0.7219 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0007022/0.5434, allocations: 186.3 kB / 0.7221 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.5435, allocations: 53.25 kB / 0.7221 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5436, allocations: 123.9 kB / 0.7222 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5436, allocations: 26.92 kB / 0.7223 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.5437, allocations: 97.28 kB / 0.7224 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.5437, allocations: 19.97 kB / 0.7224 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.5438, allocations: 22.92 kB / 0.7224 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5439, allocations: 322.7 kB / 0.7227 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.5441, allocations: 49.67 kB / 0.7228 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.5443, allocations: 43.72 kB / 0.7228 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.5447, allocations: 104.5 kB / 0.7229 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5447, allocations: 1.188 kB / 0.7229 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004364/0.5451, allocations: 142 kB / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5451, allocations: 5.547 kB / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5451, allocations: 1.094 kB / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5451, allocations: 0 / 0.723 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.5453, allocations: 23.73 kB / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5453, allocations: 2.094 kB / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.5454, allocations: 16.42 kB / 0.7231 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.5454, allocations: 11.02 kB / 0.7231 GB, free: 14.68 MB / 0.6231 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 0.0001039/0.5455, allocations: 118 kB / 0.7232 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.5456, allocations: 8.016 kB / 0.7232 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.5456, allocations: 11.23 kB / 0.7232 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5456, allocations: 1.062 kB / 0.7232 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5456, allocations: 1.125 kB / 0.7232 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5456, allocations: 3.938 kB / 0.7232 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.5458, allocations: 141.1 kB / 0.7234 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5458, allocations: 0.9375 kB / 0.7234 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.546, allocations: 35.45 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.546, allocations: 1.062 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.546, allocations: 2.531 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.546, allocations: 0 / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.546, allocations: 1.25 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.5465, allocations: 232 kB / 0.7236 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.5465, allocations: 10.69 kB / 0.7236 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.5465, allocations: 5.859 kB / 0.7236 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5467, allocations: 15.3 kB / 0.7236 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.5468, allocations: 22.14 kB / 0.7237 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5468, allocations: 2.812 kB / 0.7237 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.5469, allocations: 93.53 kB / 0.7238 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5469, allocations: 0 / 0.7238 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002444/0.5471, allocations: 23.56 kB / 0.7238 GB, free: 14.12 MB / 0.6231 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.0001215/0.5472, allocations: 95.95 kB / 0.7239 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.5477, allocations: 101.1 kB / 0.724 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5477, allocations: 5.031 kB / 0.724 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.5479, allocations: 60 kB / 0.724 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.5482, allocations: 10.56 kB / 0.724 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.5487, allocations: 184.4 kB / 0.7242 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.5488, allocations: 81.22 kB / 0.7243 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.942e-05/0.5488, allocations: 11.52 kB / 0.7243 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.5489, allocations: 22.22 kB / 0.7243 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5489, allocations: 0.5938 kB / 0.7243 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.005054/0.554, allocations: 1.702 MB / 0.726 GB, free: 13.59 MB / 0.6231 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.078559324145317] Failed to read output from testmodel.py, exit status != 0: 0.5625563878566027 0.578139964 0.035286766000000004 Calling exit ...