Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.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.001617/0.001617, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001755/0.001755, allocations: 169.7 kB / 23.28 MB, free: 1.223 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 1.067/1.067, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7639/0.7639, allocations: 154.9 MB / 415.1 MB, free: 248 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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") translateModel(IDEAS.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0.5469 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.752e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001065/0.001083, allocations: 0.6174 MB / 0.5218 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.001279, allocations: 54.16 kB / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.001299, allocations: 0 / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.001313, allocations: 4 kB / 0.5218 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.00132, allocations: 0 / 0.5218 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.00153, allocations: 30.45 kB / 0.5219 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.00157, allocations: 4 kB / 0.5219 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.001611, allocations: 7.984 kB / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.001644, allocations: 8.75 kB / 0.5219 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.001688, allocations: 13.19 kB / 0.5219 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.001698, allocations: 4 kB / 0.5219 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.001758, allocations: 4 kB / 0.5219 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.001771, allocations: 4 kB / 0.5219 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.001784, allocations: 8.5 kB / 0.5219 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.558e-05/0.001849, allocations: 16.73 kB / 0.5219 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001851, allocations: 3.938 kB / 0.5219 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001852, allocations: 1.469 kB / 0.5219 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.001855, allocations: 0 / 0.5219 GB, free: 0.6953 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002699/0.002125, allocations: 360.3 kB / 0.5223 GB, free: 312 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.00216, allocations: 8.031 kB / 0.5223 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.002185, allocations: 6.281 kB / 0.5223 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.765e-05/0.002243, allocations: 108.6 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.002253, allocations: 384 / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.00226, allocations: 7.906 kB / 0.5224 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.002353, allocations: 84.62 kB / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.00236, allocations: 192 / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.002368, allocations: 384 / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.002374, allocations: 384 / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.002404, allocations: 23.86 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.002571, allocations: 140.1 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.002678, allocations: 139.4 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.002719, allocations: 47.06 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.002842, allocations: 8.547 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.002875, allocations: 42.3 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.002876, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0001436/0.00302, allocations: 67.36 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.003075, allocations: 163 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.003109, allocations: 142.2 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.003119, allocations: 26.61 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.003147, allocations: 130.9 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.003178, allocations: 17.58 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.003205, allocations: 23.38 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.003318, allocations: 0.4922 MB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-06/0.003326, allocations: 4 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.003353, allocations: 46.38 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.003407, allocations: 65.48 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.003409, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.781e-05/0.003476, allocations: 63.88 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.003487, allocations: 8 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.003491, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.003502, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.003551, allocations: 11.98 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.003555, allocations: 4 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.00357, allocations: 2.75 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.003576, allocations: 4 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.064e-05/0.003636, allocations: 164.5 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.003646, allocations: 11.89 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.003761, allocations: 97.94 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.003764, allocations: 8.875 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.003767, allocations: 4 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.00377, allocations: 0.9375 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.568e-05/0.003845, allocations: 109.2 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.003846, allocations: 0 / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.003873, allocations: 12.66 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.003876, allocations: 5 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.00388, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.003882, allocations: 4 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.003884, allocations: 6.547 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.003974, allocations: 151 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.003979, allocations: 4 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.003988, allocations: 4 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.004001, allocations: 4 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.004017, allocations: 11.92 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.00402, allocations: 7.125 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.004048, allocations: 119.2 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004048, allocations: 0 / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001312/0.004179, allocations: 8 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 9.82e-05/0.004277, allocations: 111.1 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.109e-05/0.004349, allocations: 37.2 kB / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00435, allocations: 0 / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.508e-05/0.004375, allocations: 35.59 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.402e-05/0.004469, allocations: 4.875 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.004655, allocations: 167.1 kB / 0.5251 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.004683, allocations: 55.36 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.004711, allocations: 13.31 kB / 0.5252 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.00475, allocations: 74.72 kB / 0.5253 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.00475, allocations: 0 / 0.5253 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.00183/0.00658, allocations: 0.6517 MB / 0.5259 GB, free: 12.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7070015533827245]