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.001376/0.001376, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001447/0.001447, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.247/1.247, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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 178] 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 2.284e-06/2.284e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.815e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001535/0.001563, allocations: 0.6075 MB / 0.6192 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.001821, allocations: 63.67 kB / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.00184, allocations: 0 / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.001852, allocations: 0 / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.585e-06/0.001859, allocations: 0 / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.002121, allocations: 23.91 kB / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.002169, allocations: 23.94 kB / 0.6193 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.002209, allocations: 3.984 kB / 0.6193 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.002238, allocations: 7.984 kB / 0.6193 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.002284, allocations: 4 kB / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.002298, allocations: 0 / 0.6193 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.002368, allocations: 15.98 kB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.002381, allocations: 0 / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.002401, allocations: 11.97 kB / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.016e-05/0.002491, allocations: 27.84 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002493, allocations: 0 / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002493, allocations: 0 / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.002496, allocations: 4 kB / 0.6193 GB, free: 3.809 MB / 0.5294 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.000336/0.002832, allocations: 250.4 kB / 0.6196 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.002867, allocations: 13.47 kB / 0.6196 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.002894, allocations: 4.922 kB / 0.6196 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.002974, allocations: 101.8 kB / 0.6197 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.002988, allocations: 4.375 kB / 0.6197 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.002996, allocations: 384 / 0.6197 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.003126, allocations: 70.48 kB / 0.6198 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.003136, allocations: 4.188 kB / 0.6198 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.003146, allocations: 8.312 kB / 0.6198 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.003155, allocations: 4.375 kB / 0.6198 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.003195, allocations: 19.86 kB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.003353, allocations: 120.8 kB / 0.6199 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.00347, allocations: 101.1 kB / 0.62 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.003516, allocations: 32.36 kB / 0.62 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.003654, allocations: 8 kB / 0.6201 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.003697, allocations: 42.48 kB / 0.6201 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.003699, allocations: 0 / 0.6201 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.003894, allocations: 73.56 kB / 0.6202 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.00399, allocations: 158.2 kB / 0.6203 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.514e-05/0.004035, allocations: 93.8 kB / 0.6204 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.004053, allocations: 25.7 kB / 0.6204 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.004095, allocations: 80.14 kB / 0.6205 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.004135, allocations: 23.78 kB / 0.6205 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.00417, allocations: 21.72 kB / 0.6206 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.004312, allocations: 314.8 kB / 0.6209 GB, free: 2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.004333, allocations: 12.55 kB / 0.6209 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.004373, allocations: 36.3 kB / 0.6209 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.004474, allocations: 52.22 kB / 0.6209 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004475, allocations: 0 / 0.6209 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.004587, allocations: 65.56 kB / 0.621 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.0046, allocations: 4.156 kB / 0.621 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004604, allocations: 4 kB / 0.621 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.004618, allocations: 4 kB / 0.621 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.004693, allocations: 11.98 kB / 0.621 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.004697, allocations: 0 / 0.621 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.004729, allocations: 7.938 kB / 0.621 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.004736, allocations: 0 / 0.621 GB, free: 1.77 MB / 0.5294 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 8.76e-05/0.004824, allocations: 114.8 kB / 0.6212 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.004842, allocations: 8 kB / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.00505, allocations: 104.6 kB / 0.6213 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.005055, allocations: 7.938 kB / 0.6213 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.00506, allocations: 0 / 0.6213 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005063, allocations: 0 / 0.6213 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.005187, allocations: 121.2 kB / 0.6214 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.00519, allocations: 4 kB / 0.6214 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.005253, allocations: 16 kB / 0.6214 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005255, allocations: 160 / 0.6214 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.005267, allocations: 11.98 kB / 0.6214 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005268, allocations: 0 / 0.6214 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.005271, allocations: 4 kB / 0.6214 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.005426, allocations: 124.4 kB / 0.6215 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.005434, allocations: 7.953 kB / 0.6215 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.005449, allocations: 7.984 kB / 0.6216 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.005478, allocations: 0 / 0.6216 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.005504, allocations: 15.88 kB / 0.6216 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.005511, allocations: 4 kB / 0.6216 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.005545, allocations: 79.27 kB / 0.6216 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.005545, allocations: 4 kB / 0.6216 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002078/0.005753, allocations: 8 kB / 0.6217 GB, free: 1.062 MB / 0.5294 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 0.0001571/0.00591, allocations: 99.25 kB / 0.6218 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.006013, allocations: 39.8 kB / 0.6218 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006015, allocations: 0 / 0.6218 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.006057, allocations: 28.48 kB / 0.6218 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.006207, allocations: 2.094 kB / 0.6218 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.006502, allocations: 152.2 kB / 0.622 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.006559, allocations: 63.34 kB / 0.622 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.006602, allocations: 11.98 kB / 0.622 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.006629, allocations: 12.5 kB / 0.622 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of SimCode: time 4.6e-07/0.00663, allocations: 4 kB / 0.6221 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of Templates: time 0.003051/0.009681, allocations: 0.5369 MB / 0.6226 GB, free: 64 kB / 0.5294 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.748438119888306] Failed to read output from testmodel.py, exit status != 0: 0.0179760679602623 0.032554361000000004 0.027054715 Calling exit ...