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.001244/0.001244, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001508/0.001508, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.797/0.797, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 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.363e-06/1.363e-06, allocations: 0 / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.54e-05, allocations: 3.297 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001223/0.001239, allocations: 0.757 MB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.002039, allocations: 0.9051 MB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.002076, allocations: 6.875 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.002103, allocations: 11.86 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.002182, allocations: 10.89 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.002317, allocations: 36.59 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.002408, allocations: 86.02 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.002487, allocations: 31.89 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.002575, allocations: 44.48 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.002634, allocations: 38.78 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.002658, allocations: 8.766 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.00267, allocations: 13.72 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.002695, allocations: 24.58 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.002721, allocations: 23.91 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002822, allocations: 63.78 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.002826, allocations: 4.875 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002826, allocations: 0 / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.002829, allocations: 0 / 482.4 MB, free: 4.527 MB / 442.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.0003209/0.00315, allocations: 282.1 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.003178, allocations: 8.031 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.003206, allocations: 13.48 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.003282, allocations: 121.6 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.003299, allocations: 5 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.003313, allocations: 8.375 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.003448, allocations: 88.02 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003455, allocations: 5.125 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.003466, allocations: 8 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00347, allocations: 0 / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.003511, allocations: 18.11 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.003775, allocations: 196.1 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.003983, allocations: 67.5 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.004011, allocations: 18.03 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.004024, allocations: 4 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.004044, allocations: 40.56 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.004045, allocations: 0 / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001305/0.004175, allocations: 75.03 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.004203, allocations: 51.41 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.004262, allocations: 126.6 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.004273, allocations: 25.7 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.004307, allocations: 92.97 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.004327, allocations: 19.8 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.004361, allocations: 26.84 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.004436, allocations: 322.8 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.004455, allocations: 4 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.004475, allocations: 12.61 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.00452, allocations: 34.03 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.004522, allocations: 4.812 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.089e-05/0.004593, allocations: 61.66 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.004603, allocations: 5.062 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.004606, allocations: 0 / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.004615, allocations: 0 / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.004683, allocations: 20.61 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.004687, allocations: 4.609 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.004719, allocations: 4 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.004726, allocations: 8.562 kB / 484.2 MB, free: 2.648 MB / 442.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.946e-05/0.004785, allocations: 118.4 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.004806, allocations: 8.578 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.004824, allocations: 12.44 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.004827, allocations: 5.078 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004829, allocations: 0.8125 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004831, allocations: 0 / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.004932, allocations: 94.28 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004932, allocations: 0 / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.004976, allocations: 17.61 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.004979, allocations: 8.438 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.004984, allocations: 0 / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004985, allocations: 0 / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004985, allocations: 4.906 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.005162, allocations: 159.5 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.00517, allocations: 8.516 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.00518, allocations: 2.344 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.005224, allocations: 8 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.005276, allocations: 25.47 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.005281, allocations: 3.984 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.535e-05/0.005296, allocations: 12.86 kB / 484.7 MB, free: 2.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005296, allocations: 0 / 484.7 MB, free: 2.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001229/0.005419, allocations: 17.64 kB / 484.7 MB, free: 2.117 MB / 442.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 6.244e-05/0.005481, allocations: 84.41 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.005557, allocations: 38.58 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.005565, allocations: 4 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.005602, allocations: 24.84 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.005729, allocations: 19.16 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.005969, allocations: 159.7 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.006007, allocations: 63.34 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.006043, allocations: 7.156 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.006115, allocations: 72.17 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.006116, allocations: 0 / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of Templates: time 0.003008/0.009124, allocations: 1.703 MB / 486.8 MB, free: 16 MB / 458.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.7557835690677166]