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.0007507/0.0007507, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007857/0.0007857, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.9053/0.9053, allocations: 230.6 MB / 256.8 MB, free: 9.816 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.754/0.754, allocations: 203.8 MB / 0.5049 GB, free: 10.8 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.0008815/0.0008815, allocations: 75.05 kB / 0.7195 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4209, allocations: 102 MB / 0.8191 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001483/0.4224, allocations: 0.7756 MB / 0.8199 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.4232, allocations: 0.8914 MB / 0.8207 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.4232, allocations: 0 / 0.8207 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.4232, allocations: 5.953 kB / 0.8207 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.4233, allocations: 13.41 kB / 0.8207 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.4235, allocations: 52.22 kB / 0.8208 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.4236, allocations: 84.53 kB / 0.8209 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.4237, allocations: 24.66 kB / 0.8209 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.4237, allocations: 38.84 kB / 0.8209 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.4238, allocations: 48.59 kB / 0.821 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.872e-05/0.4238, allocations: 8.531 kB / 0.821 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.4238, allocations: 7.25 kB / 0.821 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.4239, allocations: 27.45 kB / 0.821 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.4239, allocations: 35 kB / 0.8211 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.424, allocations: 84.78 kB / 0.8211 GB, free: 168 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.424, allocations: 0 / 0.8211 GB, free: 168 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.424, allocations: 4 kB / 0.8211 GB, free: 164 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.424, allocations: 3.938 kB / 0.8211 GB, free: 160 kB / 0.6042 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.0004521/0.4245, allocations: 319.6 kB / 0.8215 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4245, allocations: 9.359 kB / 0.8215 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.4245, allocations: 7.953 kB / 0.8215 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.4246, allocations: 122.2 kB / 0.8216 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4247, allocations: 7.859 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.4247, allocations: 3.125 kB / 0.8216 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.4249, allocations: 110.6 kB / 0.8217 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4249, allocations: 0 / 0.8217 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4249, allocations: 4 kB / 0.8217 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4249, allocations: 1.812 kB / 0.8217 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.4251, allocations: 92.88 kB / 0.8218 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.4256, allocations: 324.7 kB / 0.8221 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.426, allocations: 108.8 kB / 0.8222 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.4261, allocations: 65.66 kB / 0.8223 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4261, allocations: 6.422 kB / 0.8223 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.4261, allocations: 30.56 kB / 0.8223 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4261, allocations: 0 / 0.8223 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004232/0.4265, allocations: 188.7 kB / 0.8225 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.4266, allocations: 51.41 kB / 0.8225 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.4266, allocations: 123.1 kB / 0.8227 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.4266, allocations: 30.61 kB / 0.8227 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.4267, allocations: 97.06 kB / 0.8228 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.4267, allocations: 22 kB / 0.8228 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.4267, allocations: 20.72 kB / 0.8228 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.4268, allocations: 323.2 kB / 0.8231 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.4269, allocations: 50.36 kB / 0.8232 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.427, allocations: 52.16 kB / 0.8232 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.4272, allocations: 90.81 kB / 0.8233 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4272, allocations: 4 kB / 0.8233 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002241/0.4274, allocations: 139.5 kB / 0.8234 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4274, allocations: 5.406 kB / 0.8234 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4274, allocations: 0 / 0.8234 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4274, allocations: 1.062 kB / 0.8234 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.4275, allocations: 25.06 kB / 0.8235 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4275, allocations: 7.938 kB / 0.8235 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.4276, allocations: 25.44 kB / 0.8235 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4276, allocations: 6.125 kB / 0.8235 GB, free: 14.39 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.794e-05/0.4277, allocations: 113.9 kB / 0.8236 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.4277, allocations: 6.984 kB / 0.8236 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.4277, allocations: 11.25 kB / 0.8236 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4277, allocations: 1.062 kB / 0.8236 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4277, allocations: 0.8438 kB / 0.8236 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4277, allocations: 7.938 kB / 0.8236 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.4279, allocations: 165.5 kB / 0.8238 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4279, allocations: 1.031 kB / 0.8238 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.4279, allocations: 24.08 kB / 0.8238 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4279, allocations: 0.5625 kB / 0.8238 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.4279, allocations: 6.156 kB / 0.8238 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4279, allocations: 1.797 kB / 0.8238 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4279, allocations: 0 / 0.8238 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.4282, allocations: 238.3 kB / 0.8241 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.4282, allocations: 8.516 kB / 0.8241 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.4282, allocations: 4.703 kB / 0.8241 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.4283, allocations: 12.98 kB / 0.8241 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.4283, allocations: 24.08 kB / 0.8241 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.4284, allocations: 9.297 kB / 0.8241 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.4284, allocations: 95.64 kB / 0.8242 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4284, allocations: 0 / 0.8242 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000148/0.4285, allocations: 20.81 kB / 0.8242 GB, free: 13.8 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 8.097e-05/0.4286, allocations: 93.38 kB / 0.8243 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.4289, allocations: 109.9 kB / 0.8244 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4289, allocations: 1.5 kB / 0.8244 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.429, allocations: 55.97 kB / 0.8245 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.4292, allocations: 10.75 kB / 0.8245 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.4295, allocations: 199.8 kB / 0.8247 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.4297, allocations: 0.6988 MB / 0.8254 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.4298, allocations: 19.55 kB / 0.8254 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.4298, allocations: 0 / 0.8254 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.002824/0.4326, allocations: 1.242 MB / 0.8266 GB, free: 12.69 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.5510686109773815] Failed to read output from testmodel.py, exit status != 0: 0.438349436968565 0.45100121899999995 0.02425968699999994 Calling exit ...