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.0008477/0.0008477, 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.001354/0.001354, allocations: 177 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7888/0.7888, allocations: 154.9 MB / 415.1 MB, free: 200 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.834e-06/1.834e-06, allocations: 0 / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.986e-05, allocations: 2.906 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001639/0.001659, allocations: 0.609 MB / 481 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.001898, allocations: 65.12 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.001916, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.001931, allocations: 0.8438 kB / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.001939, allocations: 0 / 481.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.002182, allocations: 28.97 kB / 481.1 MB, free: 5.789 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.002236, allocations: 12.86 kB / 481.1 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.002273, allocations: 0.625 kB / 481.1 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.002307, allocations: 8.531 kB / 481.1 MB, free: 5.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.002357, allocations: 14.14 kB / 481.2 MB, free: 5.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.002369, allocations: 1.094 kB / 481.2 MB, free: 5.758 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.00247, allocations: 11.98 kB / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.002483, allocations: 0 / 481.2 MB, free: 5.746 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.388e-05/0.002497, allocations: 6.141 kB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.038e-05/0.002578, allocations: 25.8 kB / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00258, allocations: 0 / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00258, allocations: 0.6562 kB / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.002583, allocations: 0 / 481.2 MB, free: 5.719 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.0002616/0.002845, allocations: 232.8 kB / 481.4 MB, free: 5.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.002879, allocations: 12.03 kB / 481.4 MB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.002904, allocations: 0.9375 kB / 481.4 MB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.002966, allocations: 111.4 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.002975, allocations: 384 / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.002986, allocations: 1.031 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.003084, allocations: 70.48 kB / 481.6 MB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.003093, allocations: 6.375 kB / 481.6 MB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.003099, allocations: 384 / 481.6 MB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.003105, allocations: 384 / 481.6 MB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.669e-05/0.003132, allocations: 23.14 kB / 481.7 MB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.00324, allocations: 88.55 kB / 481.7 MB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.003324, allocations: 105 kB / 481.8 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.003356, allocations: 33.02 kB / 481.9 MB, free: 4.902 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.003459, allocations: 8.609 kB / 481.9 MB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.003486, allocations: 42.56 kB / 481.9 MB, free: 4.844 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.003487, allocations: 4.812 kB / 481.9 MB, free: 4.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001843/0.003672, allocations: 63.08 kB / 482 MB, free: 4.773 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.003737, allocations: 158.2 kB / 482.1 MB, free: 4.582 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.098e-05/0.003768, allocations: 91.14 kB / 482.2 MB, free: 4.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.00378, allocations: 26.33 kB / 482.3 MB, free: 4.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.003802, allocations: 84.14 kB / 482.3 MB, free: 4.367 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.003833, allocations: 8.875 kB / 482.4 MB, free: 4.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.003866, allocations: 25.69 kB / 482.4 MB, free: 4.328 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.003951, allocations: 319.4 kB / 482.7 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.003962, allocations: 1.5 kB / 482.7 MB, free: 4.008 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.003994, allocations: 40.22 kB / 482.7 MB, free: 3.953 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.004054, allocations: 46.8 kB / 482.8 MB, free: 3.895 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.004058, allocations: 4 kB / 482.8 MB, free: 3.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.872e-05/0.004137, allocations: 55.19 kB / 482.8 MB, free: 3.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.004149, allocations: 8 kB / 482.8 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004154, allocations: 0.625 kB / 482.8 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.004169, allocations: 4 kB / 482.8 MB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.004227, allocations: 9.281 kB / 482.9 MB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.004232, allocations: 4.781 kB / 482.9 MB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.004256, allocations: 3.953 kB / 482.9 MB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.004265, allocations: 6.062 kB / 482.9 MB, free: 3.801 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.944e-05/0.004325, allocations: 113.8 kB / 483 MB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.004339, allocations: 4 kB / 483 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.004476, allocations: 85.92 kB / 483.1 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00448, allocations: 6.453 kB / 483.1 MB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.004482, allocations: 0 / 483.1 MB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.004486, allocations: 3.984 kB / 483.1 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.331e-05/0.00458, allocations: 85.89 kB / 483.2 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.004582, allocations: 4 kB / 483.2 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.004629, allocations: 17.5 kB / 483.2 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.004633, allocations: 7.844 kB / 483.2 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.004639, allocations: 0.8438 kB / 483.2 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.004641, allocations: 0 / 483.2 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.004643, allocations: 5.156 kB / 483.2 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.00474, allocations: 108.4 kB / 483.3 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.004747, allocations: 8.859 kB / 483.3 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.004756, allocations: 0.7656 kB / 483.3 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.00478, allocations: 8 kB / 483.3 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.004797, allocations: 12.8 kB / 483.3 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.004801, allocations: 0 / 483.3 MB, free: 3.289 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.404e-06/0.004809, allocations: 6.172 kB / 483.3 MB, free: 3.281 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004809, allocations: 0 / 483.3 MB, free: 3.281 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.005014, allocations: 12 kB / 483.3 MB, free: 3.27 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.000106/0.005119, allocations: 89.62 kB / 483.4 MB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.005194, allocations: 37.81 kB / 483.5 MB, free: 3.133 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.005196, allocations: 0.9062 kB / 483.5 MB, free: 3.133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.005224, allocations: 25.33 kB / 483.5 MB, free: 3.105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.976e-05/0.005304, allocations: 7.469 kB / 483.5 MB, free: 3.102 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.005773, allocations: 147.5 kB / 483.7 MB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.005806, allocations: 59.36 kB / 483.7 MB, free: 2.844 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.005841, allocations: 9.391 kB / 483.7 MB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.005887, allocations: 52.72 kB / 483.8 MB, free: 2.785 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005888, allocations: 1.094 kB / 483.8 MB, free: 2.785 MB / 442.7 MB Notification: Performance of Templates: time 0.002429/0.008317, allocations: 0.6443 MB / 484.4 MB, free: 2.184 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.526531141716987]