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.0008646/0.0008646, allocations: 93.06 kB / 19.65 MB, free: 276 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.001034/0.001034, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.981/0.981, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.8065/0.8065, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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 2.134e-06/2.134e-06, allocations: 0 / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.447e-05, allocations: 4.734 kB / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.004637/0.004662, allocations: 0.7681 MB / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.005707, allocations: 0.9068 MB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.005757, allocations: 4 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.005793, allocations: 7.875 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/0.005878, allocations: 7.875 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.006048, allocations: 42.38 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.006153, allocations: 83.83 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.006259, allocations: 19.97 kB / 0.5224 GB, free: 144 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.006361, allocations: 51.84 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.006435, allocations: 39.88 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.00646, allocations: 8 kB / 0.5225 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.006475, allocations: 8.562 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.006502, allocations: 24.47 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.006548, allocations: 24 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.006666, allocations: 72.5 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.006668, allocations: 0 / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006669, allocations: 1.531 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.006673, allocations: 4 kB / 0.5226 GB, free: 15.91 MB / 0.4948 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.000447/0.00712, allocations: 396.4 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.007161, allocations: 12.03 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.007208, allocations: 21.75 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.01032, allocations: 120.5 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.01035, allocations: 5.812 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.01036, allocations: 4.375 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.01056, allocations: 94.89 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.01058, allocations: 5.062 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.01059, allocations: 0 / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.0106, allocations: 0 / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.01068, allocations: 40.58 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.0111, allocations: 320.9 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.01142, allocations: 83.56 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.01148, allocations: 28.77 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.0115, allocations: 0 / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01152, allocations: 41.95 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.01152, allocations: 2.031 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002335/0.01176, allocations: 77.67 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.01179, allocations: 51.41 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.01188, allocations: 188.5 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.0119, allocations: 29.7 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.01195, allocations: 140.2 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.01198, allocations: 23.8 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.01203, allocations: 31.36 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01215, allocations: 0.4898 MB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.01219, allocations: 11.98 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.01223, allocations: 12 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.722e-05/0.0123, allocations: 40.62 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01231, allocations: 0 / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.01243, allocations: 75.59 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01244, allocations: 4.938 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01245, allocations: 7.938 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01247, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.01255, allocations: 20.48 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01256, allocations: 5.094 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.0126, allocations: 11.98 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.01261, allocations: 1.125 kB / 0.5249 GB, free: 13.37 MB / 0.4948 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 7.616e-05/0.01269, allocations: 160.5 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.01272, allocations: 11.95 kB / 0.5251 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.01275, allocations: 13.05 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01275, allocations: 6.375 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01275, allocations: 0 / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01276, allocations: 0 / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.0129, allocations: 136.5 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.0129, allocations: 4 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.01296, allocations: 15.98 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.01296, allocations: 2.438 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.01297, allocations: 7.938 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01297, allocations: 0 / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01298, allocations: 4 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.01614, allocations: 223.8 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01616, allocations: 15.88 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.01617, allocations: 1.875 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.01625, allocations: 7.938 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.01632, allocations: 23.97 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.01632, allocations: 7.984 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.01637, allocations: 131.2 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01637, allocations: 1.031 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002254/0.0166, allocations: 12 kB / 0.5256 GB, free: 12.54 MB / 0.4948 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.351e-05/0.01668, allocations: 104.1 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01682, allocations: 50.91 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01682, allocations: 0 / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.01688, allocations: 35.61 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01714, allocations: 19.92 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.01749, allocations: 181.7 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.01753, allocations: 59.34 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.821e-05/0.01758, allocations: 9.562 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.01764, allocations: 24.48 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01764, allocations: 1.281 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of Templates: time 0.006526/0.02417, allocations: 1.713 MB / 0.5278 GB, free: 10.38 MB / 0.4948 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=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.9879078147932887]