Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.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.001208/0.001208, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001399/0.001399, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7998/0.7998, allocations: 154.9 MB / 415.9 MB, free: 240 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.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0.6562 kB / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.411e-05, allocations: 4.281 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001107/0.001122, allocations: 0.6943 MB / 0.5226 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007415/0.001863, allocations: 0.8812 MB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.001888, allocations: 4.5 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.001904, allocations: 3.938 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.001943, allocations: 5.797 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 7.97e-05/0.002023, allocations: 25.94 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.002073, allocations: 47.91 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.002125, allocations: 11.98 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.002171, allocations: 23.97 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.002212, allocations: 23.91 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.002225, allocations: 5.281 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-06/0.002232, allocations: 4 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.002246, allocations: 8 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.002263, allocations: 19.91 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 5.207e-05/0.002315, allocations: 29.38 kB / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-06/0.002317, allocations: 0 / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.11e-07/0.002317, allocations: 0 / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.614e-06/0.00232, allocations: 0 / 0.5236 GB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002483/0.002568, allocations: 373.5 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.301e-05/0.002591, allocations: 12.03 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.00261, allocations: 9.859 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.497e-05/0.002665, allocations: 116.5 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.002678, allocations: 9.312 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.002683, allocations: 384 / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.555e-05/0.002769, allocations: 67.53 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-06/0.002773, allocations: 3.938 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-06/0.002777, allocations: 0.5 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-06/0.00278, allocations: 1.031 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.002806, allocations: 11.98 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.003003, allocations: 269.3 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.17e-05/0.003065, allocations: 47.05 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.003086, allocations: 24.31 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.003094, allocations: 0 / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.00311, allocations: 33.89 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 5.11e-07/0.00311, allocations: 1.438 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 9.478e-05/0.003205, allocations: 61.8 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.003228, allocations: 51.41 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.003282, allocations: 167.7 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.003292, allocations: 25.7 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.003336, allocations: 138.8 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.003347, allocations: 3.953 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.003377, allocations: 27.34 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.003477, allocations: 493.9 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.00349, allocations: 4 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.003504, allocations: 12.22 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.003536, allocations: 27.62 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.003537, allocations: 4.75 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.58e-05/0.003593, allocations: 53.62 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.003601, allocations: 5.406 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003606, allocations: 3.984 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.00361, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.003657, allocations: 9.031 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.003659, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.003682, allocations: 11.94 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.003686, allocations: 0.9375 kB / 0.5256 GB, free: 13.54 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.797e-05/0.003744, allocations: 164.5 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.003761, allocations: 7.188 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.003776, allocations: 12 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.003776, allocations: 3.938 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.003778, allocations: 0 / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00378, allocations: 0 / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.003866, allocations: 105.2 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003866, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.003895, allocations: 11.98 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.003896, allocations: 3.031 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.003901, allocations: 3.938 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003901, allocations: 0 / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.003902, allocations: 0 / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.724e-05/0.003999, allocations: 203.9 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.004006, allocations: 7.922 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.004014, allocations: 3.938 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.00405, allocations: 4 kB / 0.5261 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.004078, allocations: 13.48 kB / 0.5261 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.004082, allocations: 7.922 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.004114, allocations: 127.2 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004114, allocations: 0 / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001354/0.00425, allocations: 9.5 kB / 0.5263 GB, free: 12.81 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 5.217e-05/0.004302, allocations: 91.25 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.575e-05/0.004358, allocations: 28.95 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.31e-07/0.004358, allocations: 0 / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.004384, allocations: 23.89 kB / 0.5264 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.00453, allocations: 16.83 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001729/0.004703, allocations: 127.3 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.004731, allocations: 59.34 kB / 0.5266 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.004754, allocations: 6.562 kB / 0.5266 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.004804, allocations: 74.2 kB / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.004804, allocations: 2.438 kB / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.001952/0.006757, allocations: 1.071 MB / 0.5277 GB, free: 11.31 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8046020166948438]