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.000983/0.000983, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002535, allocations: 440 kB / 10.41 MB, free: 284 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.001039/0.001039, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002592, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.047/1.047, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08884/1.136, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.774/0.774, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.292/1.066, allocations: 49.13 MB / 448.6 MB, free: 5.898 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.713e-06/1.713e-06, allocations: 0.875 kB / 450 MB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.291e-05, allocations: 2.312 kB / 450 MB, free: 4.516 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.002064/0.002087, allocations: 0.672 MB / 450.7 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001404/0.002228, allocations: 61.72 kB / 450.8 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.247e-05/0.00224, allocations: 0 / 450.8 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.032e-06/0.002246, allocations: 3.938 kB / 450.8 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.725e-06/0.002249, allocations: 0.75 kB / 450.8 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.002379, allocations: 24.95 kB / 450.8 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.002435, allocations: 8.641 kB / 450.8 MB, free: 3.789 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.002479, allocations: 10.88 kB / 450.8 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.002524, allocations: 8.75 kB / 450.8 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.002586, allocations: 8.75 kB / 450.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.002601, allocations: 0 / 450.8 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.002705, allocations: 15.98 kB / 450.8 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.002723, allocations: 6.875 kB / 450.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.002735, allocations: 0 / 450.8 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/0.002834, allocations: 13.08 kB / 450.9 MB, free: 3.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.002846, allocations: 2.281 kB / 450.9 MB, free: 3.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002847, allocations: 4 kB / 450.9 MB, free: 3.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.002857, allocations: 0 / 450.9 MB, free: 3.73 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.0003324/0.00319, allocations: 233.5 kB / 451.1 MB, free: 3.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.003224, allocations: 8.031 kB / 451.1 MB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.003257, allocations: 6.031 kB / 451.1 MB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.003336, allocations: 103.1 kB / 451.2 MB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.003346, allocations: 384 / 451.2 MB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.003359, allocations: 4.375 kB / 451.2 MB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.00349, allocations: 75 kB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003499, allocations: 192 / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003507, allocations: 1.938 kB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.003515, allocations: 384 / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.003542, allocations: 16.47 kB / 451.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.003668, allocations: 92.5 kB / 451.4 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.175e-05/0.00376, allocations: 103.1 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.003792, allocations: 28.42 kB / 451.5 MB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.003937, allocations: 7.984 kB / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.00397, allocations: 43.81 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.856e-06/0.003973, allocations: 3.422 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000153/0.004126, allocations: 59.91 kB / 451.6 MB, free: 2.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.004196, allocations: 166.2 kB / 451.8 MB, free: 2.602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.778e-05/0.004234, allocations: 93.84 kB / 451.9 MB, free: 2.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.004246, allocations: 26.47 kB / 451.9 MB, free: 2.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.004271, allocations: 80.98 kB / 452 MB, free: 2.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.00431, allocations: 13.97 kB / 452 MB, free: 2.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.004345, allocations: 22.86 kB / 452 MB, free: 2.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.004438, allocations: 318.8 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.00445, allocations: 4 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.004755, allocations: 32.3 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.004824, allocations: 56.97 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.004826, allocations: 0 / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.919e-05/0.004915, allocations: 57.55 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.004931, allocations: 4 kB / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.004938, allocations: 4.875 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.004952, allocations: 1.094 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.005027, allocations: 9.062 kB / 452.5 MB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.005032, allocations: 3.938 kB / 452.5 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.005059, allocations: 7.984 kB / 452.5 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.005067, allocations: 0.75 kB / 452.5 MB, free: 1.82 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 7.916e-05/0.005146, allocations: 122.3 kB / 452.6 MB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.005165, allocations: 8 kB / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.005326, allocations: 86.98 kB / 452.7 MB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.005329, allocations: 0.7188 kB / 452.7 MB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.005334, allocations: 4 kB / 452.7 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.005338, allocations: 1.188 kB / 452.7 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.00544, allocations: 77.81 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.005443, allocations: 5.469 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.005504, allocations: 12 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.005515, allocations: 4 kB / 452.8 MB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.005521, allocations: 7.984 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.005527, allocations: 2 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.005531, allocations: 3.938 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.005532, allocations: 4.719 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.005648, allocations: 109 kB / 453 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.005661, allocations: 4 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.005687, allocations: 5.281 kB / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.005708, allocations: 7.984 kB / 453 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.005715, allocations: 4 kB / 453 MB, free: 1.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.366e-06/0.005724, allocations: 5.391 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005724, allocations: 0 / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.005924, allocations: 14.09 kB / 453 MB, free: 1.281 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 0.0001532/0.006077, allocations: 81.56 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.006172, allocations: 43.28 kB / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.006178, allocations: 0 / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.006216, allocations: 32.52 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.006316, allocations: 19.98 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.006579, allocations: 153.2 kB / 453.3 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.99e-05/0.006619, allocations: 60.59 kB / 453.4 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.434e-05/0.006664, allocations: 7.125 kB / 453.4 MB, free: 0.832 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.006715, allocations: 60.23 kB / 453.4 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.006716, allocations: 0 / 453.4 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of Templates: time 0.002743/0.009459, allocations: 0.6254 MB / 454.1 MB, free: 196 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.578107027336955]