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.0006577/0.0006577, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001593, allocations: 440 kB / 10.41 MB, free: 284 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.0006843/0.0006843, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008934/0.001578, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09135/1.121, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7504/0.7504, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2888/1.039, allocations: 49.14 MB / 448.6 MB, free: 5.926 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 2.244e-06/2.244e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.309e-05, allocations: 9.375 kB / 450 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002789/0.002812, allocations: 0.8101 MB / 450.8 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.003585, allocations: 0.9113 MB / 451.7 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.003627, allocations: 0.7656 kB / 451.7 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.003657, allocations: 8.375 kB / 451.7 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.003707, allocations: 11.62 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.674e-05/0.003793, allocations: 40.72 kB / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.003892, allocations: 83.36 kB / 451.8 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.003981, allocations: 29.55 kB / 451.8 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004104, allocations: 64.75 kB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.004196, allocations: 39.22 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.004229, allocations: 8 kB / 452 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.004247, allocations: 10.23 kB / 452 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.004275, allocations: 10.84 kB / 452 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.004311, allocations: 18.84 kB / 452 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.004437, allocations: 54.5 kB / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.004449, allocations: 0 / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004451, allocations: 0 / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.00446, allocations: 0.5312 kB / 452 MB, free: 2.582 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.00048/0.00494, allocations: 296.1 kB / 452.3 MB, free: 2.273 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.004978, allocations: 15.97 kB / 452.4 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.005021, allocations: 8.938 kB / 452.4 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.005131, allocations: 120.1 kB / 452.5 MB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.005152, allocations: 5.25 kB / 452.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.005172, allocations: 8.375 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.005376, allocations: 93.22 kB / 452.6 MB, free: 2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005386, allocations: 8.438 kB / 452.6 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.005396, allocations: 0 / 452.6 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.005404, allocations: 4.875 kB / 452.6 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.073e-05/0.005465, allocations: 21.83 kB / 452.6 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.005825, allocations: 196.2 kB / 452.8 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.006121, allocations: 67.02 kB / 452.9 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.00616, allocations: 21.42 kB / 452.9 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.006181, allocations: 0 / 452.9 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.006207, allocations: 35.34 kB / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.006208, allocations: 0 / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002022/0.00641, allocations: 70.81 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.006442, allocations: 51.41 kB / 453.1 MB, free: 1.484 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.006532, allocations: 123.3 kB / 453.2 MB, free: 1.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.006547, allocations: 27.58 kB / 453.2 MB, free: 1.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.006604, allocations: 100 kB / 453.3 MB, free: 1.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.006639, allocations: 15.86 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.006687, allocations: 25.69 kB / 453.3 MB, free: 1.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.322e-05/0.00677, allocations: 326.8 kB / 453.7 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.006798, allocations: 9.266 kB / 453.7 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.006816, allocations: 8 kB / 453.7 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.006865, allocations: 29.3 kB / 453.7 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.006868, allocations: 5.281 kB / 453.7 MB, free: 0.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.8e-05/0.006946, allocations: 61.66 kB / 453.8 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.006959, allocations: 8.609 kB / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006962, allocations: 0 / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.006974, allocations: 2.594 kB / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.007067, allocations: 23.92 kB / 453.8 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.00707, allocations: 0 / 453.8 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.007112, allocations: 15.86 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.00712, allocations: 4.75 kB / 453.8 MB, free: 0.6758 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 5.952e-05/0.007179, allocations: 113.8 kB / 453.9 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.007197, allocations: 9.078 kB / 453.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.007219, allocations: 8.438 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00722, allocations: 4 kB / 454 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.007222, allocations: 1.031 kB / 454 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007225, allocations: 1.219 kB / 454 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.998e-05/0.007325, allocations: 94.34 kB / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007326, allocations: 0 / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.007381, allocations: 21.08 kB / 454.1 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.007391, allocations: 7.922 kB / 454.1 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.007394, allocations: 4.625 kB / 454.1 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.007399, allocations: 0 / 454.1 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.0074, allocations: 0.625 kB / 454.1 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.007403, allocations: 4 kB / 454.1 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007511, allocations: 164 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.007521, allocations: 0.625 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.007566, allocations: 8.609 kB / 454.3 MB, free: 212 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.007622, allocations: 23.97 kB / 454.3 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.007628, allocations: 4.625 kB / 454.3 MB, free: 184 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.832e-05/0.007646, allocations: 18.42 kB / 454.3 MB, free: 164 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007646, allocations: 0 / 454.3 MB, free: 164 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.007766, allocations: 16.77 kB / 454.3 MB, free: 148 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 9.075e-05/0.007857, allocations: 86.2 kB / 454.4 MB, free: 56 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.00794, allocations: 40.7 kB / 454.4 MB, free: 12 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.007946, allocations: 4 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.203e-05/0.008008, allocations: 33.7 kB / 454.5 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.008189, allocations: 74.3 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.008653, allocations: 169.5 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.0087, allocations: 68.48 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.008746, allocations: 10.91 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.008857, allocations: 73.25 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008858, allocations: 0 / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of Templates: time 0.003064/0.01192, allocations: 1.68 MB / 456.5 MB, free: 13.96 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.578053466975689]