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.00133/0.00133, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001152/0.001152, allocations: 173 kB / 23.49 MB, free: 1.059 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.9997/0.9997, allocations: 177.1 MB / 203.8 MB, free: 5.652 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-535:34: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-535:42: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.8131/0.8131, allocations: 154.8 MB / 415.1 MB, free: 0.5078 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 3.877e-06/3.877e-06, allocations: 0 / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.579e-05, allocations: 4 kB / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001815/0.001851, allocations: 0.7611 MB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.002984, allocations: 0.9014 MB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.003042, allocations: 0 / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.003082, allocations: 12.7 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003188, allocations: 11.86 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.00339, allocations: 36.52 kB / 0.5223 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003511, allocations: 88.75 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.003635, allocations: 23.92 kB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.003774, allocations: 47.89 kB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.003866, allocations: 37.48 kB / 0.5225 GB, free: 380 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.003911, allocations: 8 kB / 0.5225 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.003929, allocations: 8 kB / 0.5225 GB, free: 364 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.003966, allocations: 27.91 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.004004, allocations: 20.89 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.004158, allocations: 75.7 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.004162, allocations: 2 kB / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.004164, allocations: 0 / 0.5226 GB, free: 240 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.004171, allocations: 0 / 0.5226 GB, free: 240 kB / 490.7 MB 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.0005584/0.004729, allocations: 400.4 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.004782, allocations: 8.031 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.004855, allocations: 21.58 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.005015, allocations: 120.5 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.005047, allocations: 9.094 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.005063, allocations: 4.375 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.005282, allocations: 92.17 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005291, allocations: 3.938 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.005305, allocations: 1.438 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.005315, allocations: 4 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.005386, allocations: 27.92 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.005809, allocations: 328.3 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.00612, allocations: 82.98 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.006168, allocations: 27.67 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.006183, allocations: 0 / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.006206, allocations: 45.33 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.006208, allocations: 0 / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002316/0.006439, allocations: 77.67 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006471, allocations: 55.34 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.006564, allocations: 189.2 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006577, allocations: 26.73 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.006629, allocations: 134.9 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.006654, allocations: 27.77 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.006692, allocations: 31.92 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.006813, allocations: 0.4922 MB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.006852, allocations: 8.953 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.006882, allocations: 12 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.006951, allocations: 37.11 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006953, allocations: 0.7188 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001194/0.007073, allocations: 77.61 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.007089, allocations: 11 kB / 0.5249 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007095, allocations: 0 / 0.5249 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.007111, allocations: 5.219 kB / 0.5249 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.007199, allocations: 15.98 kB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.007207, allocations: 0 / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.007249, allocations: 16.61 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.007258, allocations: 4 kB / 0.5249 GB, free: 13.69 MB / 0.4948 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.782e-05/0.007345, allocations: 158.2 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.007372, allocations: 11.95 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.007407, allocations: 12.44 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.00741, allocations: 1.219 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.007416, allocations: 3.984 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.007422, allocations: 0 / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.007556, allocations: 144.5 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007558, allocations: 4.719 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.007619, allocations: 21.16 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007622, allocations: 3.938 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.007636, allocations: 8 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.007638, allocations: 0 / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00764, allocations: 0.7188 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.007862, allocations: 225.6 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.007876, allocations: 7.891 kB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.007894, allocations: 3.984 kB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.007944, allocations: 4 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.008012, allocations: 29.53 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.008017, allocations: 0 / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.00807, allocations: 139.2 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00807, allocations: 0 / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001534/0.008224, allocations: 12 kB / 0.5256 GB, free: 12.86 MB / 0.4948 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.0001098/0.008334, allocations: 105.9 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.008469, allocations: 39.67 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.008471, allocations: 4 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.008528, allocations: 39.58 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.008758, allocations: 28.08 kB / 0.5259 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.009151, allocations: 178.7 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.009188, allocations: 64.28 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.009233, allocations: 7.281 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.009284, allocations: 24.48 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.009285, allocations: 4.656 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.003599/0.01288, allocations: 1.704 MB / 0.5278 GB, free: 10.69 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.944413418881595]