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.0009886/0.0009886, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001014/0.001014, allocations: 181 kB / 23.36 MB, free: 1.129 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.078/1.078, allocations: 177.1 MB / 203.8 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.8028/0.8028, allocations: 154.9 MB / 415.1 MB, free: 252 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.623e-06/1.623e-06, allocations: 0.6562 kB / 480.5 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.313e-05, allocations: 5.484 kB / 480.5 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001564/0.001587, allocations: 0.6615 MB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.001804, allocations: 60.61 kB / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.513e-05/0.001819, allocations: 0 / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.00183, allocations: 0.5469 kB / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.545e-06/0.001838, allocations: 0.5312 kB / 481.2 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.002036, allocations: 29.56 kB / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.002086, allocations: 9.078 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.002122, allocations: 5 kB / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.002155, allocations: 8.531 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.002201, allocations: 13.95 kB / 481.3 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.002212, allocations: 0 / 481.3 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.00229, allocations: 12.64 kB / 481.3 MB, free: 5.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.002305, allocations: 1.078 kB / 481.3 MB, free: 5.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.199e-05/0.002317, allocations: 5.078 kB / 481.3 MB, free: 5.727 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.881e-05/0.002395, allocations: 21.19 kB / 481.3 MB, free: 5.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002397, allocations: 0.6562 kB / 481.3 MB, free: 5.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002398, allocations: 0 / 481.3 MB, free: 5.707 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.002401, allocations: 5.062 kB / 481.3 MB, free: 5.703 MB / 442.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.0002108/0.002612, allocations: 227.8 kB / 481.5 MB, free: 5.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.002643, allocations: 9 kB / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.002666, allocations: 7.078 kB / 481.5 MB, free: 5.445 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.043e-05/0.002717, allocations: 105.7 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.002726, allocations: 1.812 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.002732, allocations: 8.375 kB / 481.6 MB, free: 5.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.027e-05/0.002813, allocations: 70.53 kB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.002818, allocations: 192 / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.002824, allocations: 5.094 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.002829, allocations: 384 / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.00285, allocations: 22.06 kB / 481.7 MB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.438e-05/0.002945, allocations: 92.5 kB / 481.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.003016, allocations: 94.86 kB / 481.9 MB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.003046, allocations: 41.5 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.13e-05/0.003137, allocations: 8 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.003158, allocations: 38.56 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.003159, allocations: 0.625 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001113/0.00327, allocations: 63.91 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.003324, allocations: 163.3 kB / 482.2 MB, free: 4.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.534e-05/0.00335, allocations: 89.86 kB / 482.3 MB, free: 4.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.003359, allocations: 25.7 kB / 482.3 MB, free: 4.441 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.003379, allocations: 80.77 kB / 482.4 MB, free: 4.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.003409, allocations: 16.23 kB / 482.4 MB, free: 4.344 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.003439, allocations: 22.33 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.003515, allocations: 315.3 kB / 482.8 MB, free: 4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.003527, allocations: 4.625 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.003552, allocations: 36.89 kB / 482.8 MB, free: 3.945 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.003603, allocations: 50.12 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003604, allocations: 0 / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.546e-05/0.00367, allocations: 55.73 kB / 482.9 MB, free: 3.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.00368, allocations: 5.125 kB / 482.9 MB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.003685, allocations: 4 kB / 482.9 MB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.003693, allocations: 0 / 482.9 MB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.003746, allocations: 16.83 kB / 482.9 MB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.003749, allocations: 0 / 482.9 MB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.003772, allocations: 7.953 kB / 482.9 MB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.003778, allocations: 2.016 kB / 483 MB, free: 3.793 MB / 442.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.367e-05/0.003832, allocations: 118.4 kB / 483.1 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.003844, allocations: 5.031 kB / 483.1 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.003964, allocations: 91.52 kB / 483.2 MB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.003966, allocations: 0 / 483.2 MB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.003969, allocations: 4 kB / 483.2 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.003973, allocations: 3.984 kB / 483.2 MB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.099e-05/0.004054, allocations: 77.83 kB / 483.2 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.004056, allocations: 4.594 kB / 483.2 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.0041, allocations: 21.23 kB / 483.3 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.004102, allocations: 0 / 483.3 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.004108, allocations: 4.984 kB / 483.3 MB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.004111, allocations: 0 / 483.3 MB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.004113, allocations: 4.75 kB / 483.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.592e-05/0.004209, allocations: 114 kB / 483.4 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.00422, allocations: 12.55 kB / 483.4 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.004228, allocations: 0 / 483.4 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.004249, allocations: 4 kB / 483.4 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.004265, allocations: 9.109 kB / 483.4 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.004271, allocations: 4 kB / 483.4 MB, free: 3.273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.862e-06/0.004277, allocations: 5.406 kB / 483.4 MB, free: 3.266 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004277, allocations: 1.094 kB / 483.4 MB, free: 3.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.004443, allocations: 8 kB / 483.4 MB, free: 3.258 MB / 442.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 0.0001032/0.004546, allocations: 93.06 kB / 483.5 MB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.004617, allocations: 39.11 kB / 483.6 MB, free: 3.117 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.00462, allocations: 4 kB / 483.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.004643, allocations: 21.45 kB / 483.6 MB, free: 3.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.237e-05/0.004716, allocations: 8.578 kB / 483.6 MB, free: 3.082 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.004909, allocations: 147.7 kB / 483.7 MB, free: 2.902 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.00494, allocations: 59.36 kB / 483.8 MB, free: 2.824 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.004973, allocations: 13.95 kB / 483.8 MB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.005011, allocations: 52.22 kB / 483.9 MB, free: 2.762 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005011, allocations: 0.9844 kB / 483.9 MB, free: 2.762 MB / 442.7 MB Notification: Performance of Templates: time 0.002308/0.007319, allocations: 0.6434 MB / 484.5 MB, free: 2.16 MB / 442.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.785837432835251]