Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007114/0.0007114, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009979/0.001709, 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.0007184/0.0007184, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009268/0.001645, 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 0.9999/0.9999, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09151/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8301/0.8301, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.119, allocations: 49.14 MB / 448.4 MB, free: 6.047 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/3.063e-05, allocations: 5.703 kB / 449.7 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001664/0.001695, allocations: 0.7447 MB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.002521, allocations: 0.8538 MB / 451.3 MB, free: 3.129 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.002559, allocations: 4 kB / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.002585, allocations: 3.938 kB / 451.4 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.002633, allocations: 3.172 kB / 451.4 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.858e-05/0.002691, allocations: 11.98 kB / 451.4 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.00279, allocations: 44.94 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.002902, allocations: 12.86 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.00301, allocations: 33.52 kB / 451.5 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.003067, allocations: 18.33 kB / 451.5 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.003095, allocations: 4 kB / 451.5 MB, free: 3.016 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.003104, allocations: 4.625 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.003125, allocations: 8.203 kB / 451.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.003156, allocations: 5.641 kB / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.003261, allocations: 30.53 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.203e-05/0.003283, allocations: 0 / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003284, allocations: 4 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.003306, allocations: 0 / 451.5 MB, free: 2.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004664/0.003773, allocations: 255.6 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.003817, allocations: 13.31 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.003844, allocations: 1.922 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.00394, allocations: 113.7 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.003951, allocations: 4.375 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.003959, allocations: 1.062 kB / 451.9 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.004102, allocations: 68.84 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004111, allocations: 192 / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.00412, allocations: 4.359 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004126, allocations: 4.375 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.004151, allocations: 7.938 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.004393, allocations: 154 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.223e-05/0.004455, allocations: 27.14 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004477, allocations: 10.52 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.004486, allocations: 0 / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.00451, allocations: 34.56 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004511, allocations: 0 / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001195/0.004631, allocations: 45.78 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.004666, allocations: 56.25 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.415e-05/0.00473, allocations: 110.7 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.004741, allocations: 26.36 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.00478, allocations: 92.98 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.004799, allocations: 12.69 kB / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.004828, allocations: 17.72 kB / 452.6 MB, free: 1.805 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.00491, allocations: 319.4 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.004926, allocations: 4 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-06/0.004935, allocations: 1.5 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.004961, allocations: 13.52 kB / 452.9 MB, free: 1.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.004964, allocations: 4.531 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.183e-05/0.005016, allocations: 35.8 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.005033, allocations: 8 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.005039, allocations: 3.984 kB / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.005052, allocations: 5.766 kB / 453 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.005143, allocations: 12.38 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005146, allocations: 0 / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.00517, allocations: 12.89 kB / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005176, allocations: 0 / 453 MB, free: 1.383 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.06e-05/0.005236, allocations: 114.8 kB / 453.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.005251, allocations: 4 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.005278, allocations: 8.875 kB / 453.1 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.005281, allocations: 3.938 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005283, allocations: 0.625 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005287, allocations: 3.984 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.791e-05/0.005375, allocations: 74.42 kB / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005376, allocations: 0.6562 kB / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.005407, allocations: 11.98 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.005415, allocations: 4.484 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005416, allocations: 0.5625 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.005422, allocations: 8 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005423, allocations: 0.9375 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.005425, allocations: 4.75 kB / 453.2 MB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.005521, allocations: 135.5 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.005531, allocations: 4.594 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.005565, allocations: 5.219 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.0056, allocations: 7.984 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.005606, allocations: 8.656 kB / 453.4 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.36e-05/0.005619, allocations: 12.84 kB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005619, allocations: 0.9062 kB / 453.4 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.00573, allocations: 8 kB / 453.4 MB, free: 0.9258 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001175/0.005847, allocations: 77.41 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.723e-05/0.005924, allocations: 18.86 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.005932, allocations: 0.625 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.005955, allocations: 18.11 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.006144, allocations: 15.98 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.006613, allocations: 130.4 kB / 453.7 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.006656, allocations: 59.22 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.31e-05/0.006679, allocations: 1.062 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.006737, allocations: 55.36 kB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.006738, allocations: 0 / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of Templates: time 0.002421/0.009159, allocations: 0.683 MB / 454.5 MB, free: 15.87 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5733328983187675]