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.0008033/0.0008033, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001809, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007174/0.0007174, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.00172, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.199, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7695/0.7695, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.3232/1.093, allocations: 49.13 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.893e-06/1.893e-06, allocations: 0 / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.386e-05, allocations: 6.469 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002148/0.002172, allocations: 0.8076 MB / 450.5 MB, free: 3.965 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003248, allocations: 0.9122 MB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.543e-05/0.003293, allocations: 0 / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.003326, allocations: 13.02 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.003385, allocations: 11.22 kB / 451.4 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.0035, allocations: 39.94 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.00362, allocations: 76.59 kB / 451.6 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003721, allocations: 33.5 kB / 451.6 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.003861, allocations: 63.53 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.003942, allocations: 35.95 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.003974, allocations: 10.06 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.003992, allocations: 8 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.004013, allocations: 14.02 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.004047, allocations: 19.94 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.004166, allocations: 51.77 kB / 451.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.919e-05/0.004185, allocations: 4 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004186, allocations: 1.781 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.004204, allocations: 0 / 451.8 MB, free: 2.699 MB / 426.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.0005399/0.004744, allocations: 294.4 kB / 452.1 MB, free: 2.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.004777, allocations: 8.031 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.004818, allocations: 17.8 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.004924, allocations: 117.6 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.004947, allocations: 5.656 kB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.00496, allocations: 4.375 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.00516, allocations: 93.42 kB / 452.3 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.00517, allocations: 3.938 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005181, allocations: 1.344 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005188, allocations: 4 kB / 452.3 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.005247, allocations: 15.98 kB / 452.3 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.00561, allocations: 205.2 kB / 452.5 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.005906, allocations: 56.17 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.005946, allocations: 24.84 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.005961, allocations: 1.438 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.005988, allocations: 38.5 kB / 452.7 MB, free: 1.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.315e-06/0.00599, allocations: 1.734 kB / 452.7 MB, free: 1.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001799/0.00617, allocations: 66.5 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.006204, allocations: 51.41 kB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.00628, allocations: 127.8 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.006295, allocations: 25.7 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.006335, allocations: 100 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.006358, allocations: 16.48 kB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.006407, allocations: 25.69 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.006497, allocations: 319.4 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.006525, allocations: 10.97 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.006548, allocations: 8 kB / 453.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.006618, allocations: 37.22 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.006621, allocations: 3.938 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.006729, allocations: 61.66 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.006742, allocations: 8 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006747, allocations: 0 / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.006756, allocations: 0.9062 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.006871, allocations: 23.97 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006873, allocations: 0.875 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.006923, allocations: 7.938 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.006931, allocations: 5.047 kB / 453.5 MB, free: 0.8086 MB / 426.7 MB 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.00021/0.007141, allocations: 121.7 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.007171, allocations: 4.625 kB / 453.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.007196, allocations: 9 kB / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.0072, allocations: 4 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.007201, allocations: 0.6875 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.007206, allocations: 3.984 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.007355, allocations: 94.52 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007357, allocations: 0.5625 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.007451, allocations: 24.56 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007462, allocations: 7.938 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.007465, allocations: 4.875 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.007472, allocations: 0 / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007474, allocations: 0.5312 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.007476, allocations: 4.5 kB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.007627, allocations: 161.1 kB / 454 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.007643, allocations: 7.984 kB / 454 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.00772, allocations: 4 kB / 454 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.007785, allocations: 24.88 kB / 454 MB, free: 308 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.007792, allocations: 0 / 454 MB, free: 308 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.007814, allocations: 23.36 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007814, allocations: 0.5 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.008018, allocations: 16.45 kB / 454.1 MB, free: 268 kB / 426.7 MB 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.0001042/0.008122, allocations: 83.73 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.00823, allocations: 40.77 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.008238, allocations: 5.219 kB / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.008292, allocations: 24.84 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.008501, allocations: 25.17 kB / 454.2 MB, free: 80 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.009022, allocations: 173.9 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.009065, allocations: 59.34 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.009129, allocations: 19.3 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.009225, allocations: 68.2 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009225, allocations: 0 / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of Templates: time 0.004223/0.01345, allocations: 1.737 MB / 456.3 MB, free: 14.1 MB / 442.7 MB " [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.700842097401619]