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.001043/0.001043, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002355, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001046/0.001046, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002327, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09184/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2687/1.017, allocations: 49.13 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.383e-06/1.383e-06, allocations: 0 / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.601e-05, allocations: 7.375 kB / 449.8 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001049/0.001065, allocations: 0.6536 MB / 450.4 MB, free: 4.035 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.33e-05/0.001159, allocations: 65.12 kB / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.028e-05/0.001169, allocations: 1.5 kB / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.339e-06/0.001173, allocations: 0 / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.533e-06/0.001175, allocations: 0 / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.649e-05/0.001271, allocations: 24.34 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.001315, allocations: 16.97 kB / 450.5 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.001348, allocations: 3.484 kB / 450.5 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.001386, allocations: 12.95 kB / 450.5 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.001431, allocations: 4.766 kB / 450.5 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.001441, allocations: 0 / 450.5 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.001518, allocations: 16.97 kB / 450.6 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.001529, allocations: 5.203 kB / 450.6 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.148e-05/0.001541, allocations: 0 / 450.6 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.328e-05/0.001614, allocations: 13.19 kB / 450.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.001628, allocations: 5.875 kB / 450.6 MB, free: 3.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001628, allocations: 0 / 450.6 MB, free: 3.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.001644, allocations: 3.938 kB / 450.6 MB, free: 3.879 MB / 426.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.0002891/0.001933, allocations: 229.5 kB / 450.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.001964, allocations: 9.406 kB / 450.8 MB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.001994, allocations: 9.578 kB / 450.8 MB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.634e-05/0.002051, allocations: 102.5 kB / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.00206, allocations: 384 / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.002067, allocations: 5.031 kB / 450.9 MB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.002169, allocations: 70.48 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.002178, allocations: 3.219 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.002185, allocations: 2.938 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.002191, allocations: 384 / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.002214, allocations: 19.86 kB / 451 MB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.51e-05/0.002309, allocations: 96.25 kB / 451.1 MB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.002378, allocations: 100.5 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.002406, allocations: 29.08 kB / 451.2 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.002538, allocations: 8.906 kB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.002564, allocations: 42.48 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 7.22e-07/0.002565, allocations: 6.859 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001109/0.002676, allocations: 54.44 kB / 451.4 MB, free: 2.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.002734, allocations: 162.2 kB / 451.5 MB, free: 2.754 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.621e-05/0.00276, allocations: 89.86 kB / 451.6 MB, free: 2.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.002769, allocations: 26.27 kB / 451.6 MB, free: 2.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.002787, allocations: 81.14 kB / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.002826, allocations: 21.94 kB / 451.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.002854, allocations: 17.72 kB / 451.7 MB, free: 2.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.002937, allocations: 315.5 kB / 452.1 MB, free: 2.184 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.002949, allocations: 8.75 kB / 452.1 MB, free: 2.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.002974, allocations: 41.16 kB / 452.1 MB, free: 2.121 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.003021, allocations: 49.91 kB / 452.2 MB, free: 2.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003023, allocations: 0 / 452.2 MB, free: 2.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.447e-05/0.003077, allocations: 59.62 kB / 452.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.003088, allocations: 4 kB / 452.2 MB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.003093, allocations: 4 kB / 452.2 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.003101, allocations: 2.812 kB / 452.2 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.003158, allocations: 11.98 kB / 452.2 MB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.003162, allocations: 4 kB / 452.2 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.003177, allocations: 0 / 452.2 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.003183, allocations: 4 kB / 452.2 MB, free: 1.969 MB / 426.7 MB 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 5.009e-05/0.003233, allocations: 122.7 kB / 452.4 MB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.003242, allocations: 7.938 kB / 452.4 MB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.892e-05/0.003341, allocations: 79.05 kB / 452.4 MB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.003343, allocations: 1.375 kB / 452.4 MB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.003346, allocations: 4.906 kB / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.003348, allocations: 3.938 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.779e-05/0.003416, allocations: 78.7 kB / 452.5 MB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.003418, allocations: 4 kB / 452.5 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.003447, allocations: 16.89 kB / 452.6 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.003453, allocations: 4 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.003457, allocations: 5.734 kB / 452.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.003462, allocations: 4.75 kB / 452.6 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.003467, allocations: 8.609 kB / 452.6 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.003468, allocations: 0 / 452.6 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.074e-05/0.003539, allocations: 113 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.003548, allocations: 8.609 kB / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.003562, allocations: 4.656 kB / 452.7 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.003575, allocations: 8.5 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.00358, allocations: 8.516 kB / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.618e-06/0.003584, allocations: 5.453 kB / 452.7 MB, free: 1.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003584, allocations: 0 / 452.7 MB, free: 1.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001095/0.003694, allocations: 8.75 kB / 452.7 MB, free: 1.426 MB / 426.7 MB 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.114e-05/0.003785, allocations: 83.3 kB / 452.8 MB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.00385, allocations: 36.72 kB / 452.8 MB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.003853, allocations: 5.125 kB / 452.9 MB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.003871, allocations: 24.78 kB / 452.9 MB, free: 1.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.561e-05/0.003936, allocations: 12.91 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.004139, allocations: 153.6 kB / 453 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.00417, allocations: 59.22 kB / 453.1 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.004198, allocations: 10.86 kB / 453.1 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.004234, allocations: 56.14 kB / 453.2 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.004235, allocations: 0.6562 kB / 453.2 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of Templates: time 0.002149/0.006384, allocations: 0.6479 MB / 453.8 MB, free: 332 kB / 426.7 MB " [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.509188803844154]