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.0007171/0.0007171, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.000732/0.000732, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8468/0.8468, 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.6669/0.6669, allocations: 154.6 MB / 414.5 MB, free: 0.8359 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.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: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.66e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00112/0.001137, allocations: 0.738 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.001843, allocations: 0.886 MB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.001878, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.001906, allocations: 7.875 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.001971, allocations: 11.88 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.002107, allocations: 39.88 kB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.002193, allocations: 87.81 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.002282, allocations: 19.98 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.002356, allocations: 43.91 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.002415, allocations: 43.88 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.00244, allocations: 8 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.00245, allocations: 12 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.002472, allocations: 23.91 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.002498, allocations: 23.91 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.002599, allocations: 99.64 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.002601, allocations: 0 / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002601, allocations: 0 / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.002604, allocations: 0 / 0.6213 GB, free: 11.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003939/0.002998, allocations: 318.1 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.00303, allocations: 13.47 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.003058, allocations: 12.89 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.804e-05/0.003146, allocations: 117.7 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.003162, allocations: 12.38 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003173, allocations: 4.375 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.003346, allocations: 106.1 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.003354, allocations: 3.938 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.003367, allocations: 11.98 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.00337, allocations: 0 / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.003558, allocations: 95.91 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.003886, allocations: 272.3 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.004212, allocations: 114.5 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.00431, allocations: 64.8 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.004324, allocations: 0 / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.00434, allocations: 34.56 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.004341, allocations: 0 / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.004703, allocations: 181.5 kB / 0.6226 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.00473, allocations: 51.41 kB / 0.6226 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.004794, allocations: 133 kB / 0.6228 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.004805, allocations: 29.7 kB / 0.6228 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.004841, allocations: 92.03 kB / 0.6229 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.004864, allocations: 31.77 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.004898, allocations: 25.7 kB / 0.6229 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.00497, allocations: 318.8 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.005057, allocations: 43.95 kB / 0.6233 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.361e-05/0.005141, allocations: 47.95 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.005313, allocations: 100.8 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.005314, allocations: 0 / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000202/0.005516, allocations: 134 kB / 0.6235 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.005527, allocations: 12 kB / 0.6236 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005532, allocations: 3.984 kB / 0.6236 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.005541, allocations: 0 / 0.6236 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.005614, allocations: 23.97 kB / 0.6236 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005618, allocations: 4.062 kB / 0.6236 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.005668, allocations: 11.98 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.005674, allocations: 0 / 0.6236 GB, free: 8.613 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: 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 5.545e-05/0.005729, allocations: 118.8 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.005743, allocations: 7.953 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.005763, allocations: 24.42 kB / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005764, allocations: 0 / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005767, allocations: 0 / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.00577, allocations: 0 / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.005868, allocations: 137.2 kB / 0.6239 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.005868, allocations: 3.938 kB / 0.6239 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.005927, allocations: 23.97 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.005928, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.005935, allocations: 4 kB / 0.6239 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005936, allocations: 3.938 kB / 0.6239 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005936, allocations: 4 kB / 0.6239 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.006164, allocations: 235.3 kB / 0.6241 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.006173, allocations: 7.953 kB / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-06/0.006183, allocations: 0 / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.006244, allocations: 19.97 kB / 0.6242 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.006295, allocations: 19.97 kB / 0.6242 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.0063, allocations: 8 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.006333, allocations: 95.2 kB / 0.6243 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006333, allocations: 0 / 0.6243 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001433/0.006476, allocations: 19.94 kB / 0.6243 GB, free: 7.836 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: 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 6.119e-05/0.006537, allocations: 95.25 kB / 0.6244 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.006756, allocations: 99.89 kB / 0.6245 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006757, allocations: 4 kB / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.006853, allocations: 63.88 kB / 0.6245 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.007028, allocations: 17.91 kB / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.007291, allocations: 191.3 kB / 0.6247 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.007331, allocations: 75.33 kB / 0.6248 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.007376, allocations: 24.48 kB / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/0.007377, allocations: 0 / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of Templates: time 0.001591/0.008967, allocations: 1.263 MB / 0.6261 GB, free: 5.961 MB / 0.5886 GB " [Timeout remaining time 660] 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: 4.861467071808875] Failed to read output from testmodel.py, exit status != 0: 0.012860182672739029 0.020193243 0.016112761 Calling exit ...