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.001157/0.001157, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001288/0.001288, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8633/0.8633, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-531:190: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-531:198: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.7059/0.7059, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 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 9.52e-07/9.52e-07, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.519e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.0009611/0.0009762, allocations: 0.6071 MB / 0.6199 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.001168, allocations: 59.78 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.001183, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.001197, allocations: 3.938 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001204, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.001416, allocations: 15.98 kB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.00146, allocations: 15.97 kB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.001496, allocations: 0 / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.001527, allocations: 11.94 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.001567, allocations: 7.984 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.001578, allocations: 4 kB / 0.62 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.001639, allocations: 15.92 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.001653, allocations: 7.922 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.001668, allocations: 8 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.84e-05/0.001747, allocations: 19.95 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.001749, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.72e-07/0.001749, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.001752, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB 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.0002589/0.002011, allocations: 250.3 kB / 0.6203 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.002045, allocations: 13.47 kB / 0.6203 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.002071, allocations: 4.938 kB / 0.6203 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.915e-05/0.002121, allocations: 101.8 kB / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.002131, allocations: 8.375 kB / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.002139, allocations: 384 / 0.6205 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.002239, allocations: 74.47 kB / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.002246, allocations: 192 / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.002254, allocations: 4.375 kB / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.002259, allocations: 384 / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.002287, allocations: 19.88 kB / 0.6205 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.002397, allocations: 124.8 kB / 0.6207 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/0.00247, allocations: 101.2 kB / 0.6208 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.002497, allocations: 28.3 kB / 0.6208 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.002614, allocations: 15.92 kB / 0.6208 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.002634, allocations: 38.5 kB / 0.6208 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.002635, allocations: 0 / 0.6208 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001436/0.002779, allocations: 73.55 kB / 0.6209 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.00283, allocations: 154.8 kB / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414e-05/0.002854, allocations: 89.86 kB / 0.6211 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.002863, allocations: 33.7 kB / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.00288, allocations: 80.14 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.002911, allocations: 19.8 kB / 0.6213 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.002936, allocations: 17.7 kB / 0.6213 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.00301, allocations: 326.8 kB / 0.6216 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.003023, allocations: 4 kB / 0.6216 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.003047, allocations: 44.22 kB / 0.6216 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.003096, allocations: 48.23 kB / 0.6217 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.003098, allocations: 4 kB / 0.6217 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.923e-05/0.003157, allocations: 57.62 kB / 0.6217 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.003167, allocations: 7.984 kB / 0.6218 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.003172, allocations: 0 / 0.6218 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.003183, allocations: 7.938 kB / 0.6218 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.003234, allocations: 8 kB / 0.6218 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.003238, allocations: 160 / 0.6218 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.003256, allocations: 11.94 kB / 0.6218 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.003262, allocations: 7.938 kB / 0.6218 GB, free: 10.32 MB / 0.5886 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 4.924e-05/0.003311, allocations: 114.8 kB / 0.6219 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.003318, allocations: 4 kB / 0.6219 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.003453, allocations: 100.6 kB / 0.622 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.003455, allocations: 4.031 kB / 0.622 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.00346, allocations: 7.984 kB / 0.622 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.003463, allocations: 0 / 0.622 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.168e-05/0.003534, allocations: 117.2 kB / 0.6221 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.003536, allocations: 4 kB / 0.6221 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.003566, allocations: 20.05 kB / 0.6221 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.003568, allocations: 0 / 0.6221 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.003577, allocations: 12 kB / 0.6222 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.003578, allocations: 0 / 0.6222 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.003579, allocations: 4 kB / 0.6222 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.528e-05/0.003665, allocations: 124.4 kB / 0.6223 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.003672, allocations: 11.95 kB / 0.6223 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.003681, allocations: 4 kB / 0.6223 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.003695, allocations: 0 / 0.6223 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.003711, allocations: 11.92 kB / 0.6223 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.003716, allocations: 8 kB / 0.6223 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.003734, allocations: 75.28 kB / 0.6224 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003734, allocations: 0 / 0.6224 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001395/0.003874, allocations: 11.94 kB / 0.6224 GB, free: 9.621 MB / 0.5886 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 9.544e-05/0.003969, allocations: 107.2 kB / 0.6225 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.984e-05/0.004049, allocations: 39.91 kB / 0.6225 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004051, allocations: 0 / 0.6225 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.004072, allocations: 19.94 kB / 0.6226 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.004177, allocations: 6.812 kB / 0.6226 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.004383, allocations: 170 kB / 0.6227 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.004422, allocations: 63.97 kB / 0.6228 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.004442, allocations: 20.5 kB / 0.6228 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of SimCode: time 2.7e-07/0.004442, allocations: 0 / 0.6228 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of Templates: time 0.001363/0.005805, allocations: 0.6991 MB / 0.6235 GB, free: 8.434 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.068610644899309] Failed to read output from testmodel.py, exit status != 0: 0.009916157461702824 0.01767542 0.014437082 Calling exit ...