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.0006909/0.0006909, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.000717/0.000717, allocations: 212.1 kB / 23 MB, free: 2.973 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.8669/0.8669, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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-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 0.7141/0.7141, allocations: 203.8 MB / 0.5049 GB, free: 10.01 MB / 410.7 MB " [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: 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.0008479/0.0008479, allocations: 71.23 kB / 0.7194 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3993, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001392/0.4007, allocations: 0.7317 MB / 0.8197 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007187/0.4014, allocations: 0.889 MB / 0.8206 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.4014, allocations: 4 kB / 0.8206 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.4015, allocations: 9.375 kB / 0.8206 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.4015, allocations: 10.19 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.4017, allocations: 43.95 kB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.4018, allocations: 89.92 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4019, allocations: 21.5 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.402, allocations: 36.25 kB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.4021, allocations: 44.89 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.4021, allocations: 6.969 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.4021, allocations: 12.72 kB / 0.8209 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.4021, allocations: 19.06 kB / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.4022, allocations: 31.25 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.4023, allocations: 93.55 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4023, allocations: 0 / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4023, allocations: 0.5 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4023, allocations: 0 / 0.821 GB, free: 15.99 MB / 0.6198 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.0004542/0.4028, allocations: 319.3 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4028, allocations: 10.5 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.4029, allocations: 19.2 kB / 0.8213 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.403, allocations: 119.4 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.403, allocations: 10.44 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.403, allocations: 6.188 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.4032, allocations: 107.5 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4032, allocations: 0 / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4032, allocations: 0 / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4032, allocations: 3.938 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.4034, allocations: 103.6 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.4038, allocations: 271.2 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.4042, allocations: 118.2 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.4043, allocations: 54.78 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4043, allocations: 7.812 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4043, allocations: 35.59 kB / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4043, allocations: 0 / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003837/0.4047, allocations: 183.9 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.4048, allocations: 51.41 kB / 0.8224 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.4048, allocations: 123.1 kB / 0.8225 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.4048, allocations: 25.7 kB / 0.8225 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.4049, allocations: 102.8 kB / 0.8226 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.4049, allocations: 25.72 kB / 0.8226 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.4049, allocations: 20.28 kB / 0.8227 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.405, allocations: 324.7 kB / 0.823 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4052, allocations: 42.47 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.4053, allocations: 44.55 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.4055, allocations: 99.86 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4055, allocations: 1.5 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002478/0.4057, allocations: 137.9 kB / 0.8233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4057, allocations: 5.844 kB / 0.8233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4057, allocations: 4.734 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4057, allocations: 1.375 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.4058, allocations: 23.22 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.4058, allocations: 6.312 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.4059, allocations: 16.61 kB / 0.8233 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4059, allocations: 6.031 kB / 0.8233 GB, free: 14.27 MB / 0.6198 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 6.856e-05/0.406, allocations: 114.2 kB / 0.8234 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.406, allocations: 7.484 kB / 0.8235 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.406, allocations: 18.75 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.406, allocations: 1.531 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.406, allocations: 0 / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4061, allocations: 1.672 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.4062, allocations: 136.8 kB / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4062, allocations: 3.938 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.4063, allocations: 28.55 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4063, allocations: 0 / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4063, allocations: 2.156 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4063, allocations: 1.469 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4063, allocations: 4.656 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4066, allocations: 236 kB / 0.8239 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.4066, allocations: 11.38 kB / 0.8239 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.4066, allocations: 0.7969 kB / 0.8239 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.4066, allocations: 12.38 kB / 0.8239 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.4067, allocations: 26.08 kB / 0.8239 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.4067, allocations: 5.938 kB / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.4068, allocations: 101.8 kB / 0.824 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4068, allocations: 0 / 0.824 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001479/0.4069, allocations: 14.25 kB / 0.824 GB, free: 13.71 MB / 0.6198 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.0001012/0.407, allocations: 103 kB / 0.8241 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4073, allocations: 105.9 kB / 0.8242 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4073, allocations: 4 kB / 0.8242 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4074, allocations: 57.45 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.4076, allocations: 12.77 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.408, allocations: 196.6 kB / 0.8245 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.4081, allocations: 78.02 kB / 0.8246 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.4081, allocations: 21.3 kB / 0.8246 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.4081, allocations: 0 / 0.8246 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.002441/0.4106, allocations: 1.259 MB / 0.8258 GB, free: 13.22 MB / 0.6198 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.274824745953083] Failed to read output from testmodel.py, exit status != 0: 0.41609623981639743 0.42601554700000005 0.021839618 Calling exit ...