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.0009622/0.0009622, 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.001007/0.001007, 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.076/1.076, 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.7959/0.7959, allocations: 154.9 MB / 415.9 MB, free: 264 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.763e-06/1.763e-06, allocations: 0.875 kB / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.986e-05, allocations: 10 kB / 0.522 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.002174/0.002204, allocations: 0.6002 MB / 0.5225 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.002492, allocations: 61.55 kB / 0.5226 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.002517, allocations: 0 / 0.5226 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.002536, allocations: 0 / 0.5226 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.053e-05/0.002546, allocations: 5.891 kB / 0.5226 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.002812, allocations: 19.92 kB / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.002866, allocations: 17.62 kB / 0.5226 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.002915, allocations: 0.875 kB / 0.5227 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.002949, allocations: 8 kB / 0.5227 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.003003, allocations: 8.75 kB / 0.5227 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.003015, allocations: 0.5625 kB / 0.5227 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.003092, allocations: 12.75 kB / 0.5227 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.003113, allocations: 9.688 kB / 0.5227 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.003127, allocations: 4 kB / 0.5227 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.371e-05/0.003221, allocations: 29.05 kB / 0.5227 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003224, allocations: 0 / 0.5227 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.003226, allocations: 0 / 0.5227 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.003233, allocations: 0.625 kB / 0.5227 GB, free: 0.6992 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.000353/0.003586, allocations: 350.2 kB / 0.5231 GB, free: 328 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.003627, allocations: 12.03 kB / 0.5231 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.003662, allocations: 0.9375 kB / 0.5231 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.003736, allocations: 108.6 kB / 0.5232 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.003748, allocations: 384 / 0.5232 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.003757, allocations: 5.906 kB / 0.5232 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.003876, allocations: 92.59 kB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.003885, allocations: 192 / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.003894, allocations: 4.375 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.003901, allocations: 1.656 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.003932, allocations: 15.88 kB / 0.5233 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.004096, allocations: 140.6 kB / 0.5234 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.004212, allocations: 132.2 kB / 0.5235 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.004255, allocations: 46.62 kB / 0.5236 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.004383, allocations: 13.36 kB / 0.5236 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.004417, allocations: 45.33 kB / 0.5236 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.004418, allocations: 0 / 0.5236 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0001754/0.004594, allocations: 70.48 kB / 0.5237 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.004662, allocations: 158.2 kB / 0.5239 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.004712, allocations: 142.2 kB / 0.524 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.004725, allocations: 29.64 kB / 0.524 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.004762, allocations: 126.9 kB / 0.5241 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.004803, allocations: 19.91 kB / 0.5242 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.004843, allocations: 27.36 kB / 0.5242 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.004985, allocations: 500 kB / 0.5247 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.005002, allocations: 4 kB / 0.5247 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.005044, allocations: 50.95 kB / 0.5247 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.005124, allocations: 64.45 kB / 0.5248 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005126, allocations: 0 / 0.5248 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.00523, allocations: 63.03 kB / 0.5248 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.005244, allocations: 5.812 kB / 0.5249 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.005251, allocations: 4 kB / 0.5249 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005262, allocations: 0 / 0.5249 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.005333, allocations: 11.98 kB / 0.5249 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.005337, allocations: 0 / 0.5249 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.005366, allocations: 5.906 kB / 0.5249 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.005375, allocations: 4 kB / 0.5249 GB, free: 14.15 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 8.754e-05/0.005463, allocations: 164.5 kB / 0.525 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.005487, allocations: 11.94 kB / 0.525 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.005672, allocations: 91.23 kB / 0.5251 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.005677, allocations: 4 kB / 0.5251 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.005679, allocations: 1.75 kB / 0.5251 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.005687, allocations: 7.984 kB / 0.5251 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.00581, allocations: 105.2 kB / 0.5252 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.005814, allocations: 4 kB / 0.5252 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.005876, allocations: 15.98 kB / 0.5253 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.00588, allocations: 0.9375 kB / 0.5253 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.005889, allocations: 8.125 kB / 0.5253 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.005892, allocations: 0 / 0.5253 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.005897, allocations: 8.75 kB / 0.5253 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.006328, allocations: 147.7 kB / 0.5254 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.00634, allocations: 7.984 kB / 0.5254 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006351, allocations: 0.5938 kB / 0.5254 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.006385, allocations: 10.97 kB / 0.5254 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.006406, allocations: 7.984 kB / 0.5254 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.006413, allocations: 4 kB / 0.5255 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.006449, allocations: 119.2 kB / 0.5256 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006449, allocations: 0 / 0.5256 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002294/0.006678, allocations: 8 kB / 0.5256 GB, free: 13.36 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 0.0001573/0.006835, allocations: 111 kB / 0.5257 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.006948, allocations: 46.77 kB / 0.5257 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.00695, allocations: 0 / 0.5257 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.006974, allocations: 31.55 kB / 0.5258 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.007089, allocations: 8 kB / 0.5258 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.007315, allocations: 176 kB / 0.5259 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.007346, allocations: 57.33 kB / 0.526 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.007381, allocations: 11.77 kB / 0.526 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.007422, allocations: 74.2 kB / 0.5261 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.007422, allocations: 0 / 0.5261 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.002106/0.009528, allocations: 0.6415 MB / 0.5267 GB, free: 12.17 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.754160716664046]