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.001827/0.001827, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00218/0.00218, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.3/1.3, allocations: 203.8 MB / 0.5042 GB, free: 4.586 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 67.89 kB / 0.7187 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6168, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002325/0.6192, allocations: 0.7508 MB / 0.819 GB, free: 28.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.6203, allocations: 0.8812 MB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.6204, allocations: 1.812 kB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.6204, allocations: 5.922 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.6205, allocations: 14.44 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.6207, allocations: 48.39 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.6209, allocations: 81.38 kB / 0.82 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.621, allocations: 17.69 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.6211, allocations: 41.34 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.6212, allocations: 44.44 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.6212, allocations: 8.406 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.6212, allocations: 12.38 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.6213, allocations: 18.47 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.6213, allocations: 31.66 kB / 0.8202 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.6215, allocations: 87.53 kB / 0.8203 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6215, allocations: 0 / 0.8203 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6215, allocations: 0.5312 kB / 0.8203 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.954e-06/0.6215, allocations: 1.281 kB / 0.8203 GB, free: 27.6 MB / 0.6387 GB 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.000685/0.6222, allocations: 319.1 kB / 0.8206 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6222, allocations: 12.81 kB / 0.8206 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.6223, allocations: 8.328 kB / 0.8206 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.6224, allocations: 122.2 kB / 0.8207 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.6225, allocations: 8.312 kB / 0.8207 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.6225, allocations: 6.047 kB / 0.8207 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.6228, allocations: 106.3 kB / 0.8208 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.6228, allocations: 4.438 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.6229, allocations: 4.594 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6229, allocations: 2.219 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.6233, allocations: 95.62 kB / 0.8209 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.6238, allocations: 275.8 kB / 0.8212 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.6246, allocations: 115.8 kB / 0.8213 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.6248, allocations: 59.2 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.6248, allocations: 4.875 kB / 0.8213 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6248, allocations: 42.53 kB / 0.8214 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.6248, allocations: 0 / 0.8214 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0007719/0.6256, allocations: 186.2 kB / 0.8216 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.6256, allocations: 52.78 kB / 0.8216 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.6258, allocations: 120.5 kB / 0.8217 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6258, allocations: 26.91 kB / 0.8218 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.6258, allocations: 101.1 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.6259, allocations: 15.89 kB / 0.8219 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.6259, allocations: 24.09 kB / 0.8219 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.626, allocations: 325.7 kB / 0.8222 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.6262, allocations: 44.12 kB / 0.8222 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.6264, allocations: 44.52 kB / 0.8223 GB, free: 26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.6268, allocations: 105.1 kB / 0.8224 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6268, allocations: 0 / 0.8224 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004362/0.6273, allocations: 134.8 kB / 0.8225 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6273, allocations: 5.188 kB / 0.8225 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6273, allocations: 1.281 kB / 0.8225 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6273, allocations: 3.469 kB / 0.8225 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.6275, allocations: 24.97 kB / 0.8226 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6275, allocations: 0 / 0.8226 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.6277, allocations: 16.72 kB / 0.8226 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.6277, allocations: 11.42 kB / 0.8226 GB, free: 25.91 MB / 0.6387 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.049e-05/0.6278, allocations: 118.9 kB / 0.8227 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.6278, allocations: 7.062 kB / 0.8227 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.6278, allocations: 15.03 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6278, allocations: 1.531 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6278, allocations: 0.6562 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6278, allocations: 3.984 kB / 0.8227 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.628, allocations: 142.2 kB / 0.8229 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.628, allocations: 0 / 0.8229 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.6282, allocations: 23.52 kB / 0.8229 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6282, allocations: 2.047 kB / 0.8229 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6282, allocations: 0.75 kB / 0.8229 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6282, allocations: 2.297 kB / 0.8229 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6282, allocations: 7.938 kB / 0.8229 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.6286, allocations: 239 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.6287, allocations: 7.938 kB / 0.8231 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.6287, allocations: 2.297 kB / 0.8231 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6288, allocations: 10.84 kB / 0.8231 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.6289, allocations: 21.36 kB / 0.8232 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.6289, allocations: 7.734 kB / 0.8232 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.629, allocations: 100.9 kB / 0.8233 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.629, allocations: 0 / 0.8233 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002342/0.6292, allocations: 11.59 kB / 0.8233 GB, free: 25.35 MB / 0.6387 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.0001235/0.6293, allocations: 97.5 kB / 0.8234 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.6298, allocations: 111.6 kB / 0.8235 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6298, allocations: 4 kB / 0.8235 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.63, allocations: 59.89 kB / 0.8235 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.6304, allocations: 9.797 kB / 0.8235 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.6309, allocations: 171.2 kB / 0.8237 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.857e-05/0.6309, allocations: 78.64 kB / 0.8238 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.631, allocations: 11.61 kB / 0.8238 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.6311, allocations: 20.53 kB / 0.8238 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.6311, allocations: 5.25 kB / 0.8238 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of Templates: time 0.005904/0.637, allocations: 1.739 MB / 0.8255 GB, free: 24.82 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9258468840271235] Failed to read output from testmodel.py, exit status != 0: 0.6470248587429523 0.66206623 0.037561331 Calling exit ...