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.0007466/0.0007466, allocations: 72.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0007548/0.0007548, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8294/0.8294, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.6961/0.6961, allocations: 155 MB / 414.9 MB, free: 480 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.33 kB / 0.62 GB, free: 12.66 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4468, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Round): time 0.001352/0.4481, allocations: 0.6045 MB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.4484, allocations: 53.42 kB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.4484, allocations: 4 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.4484, allocations: 0 / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.4484, allocations: 4.812 kB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.4487, allocations: 24.59 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.346e-05/0.4487, allocations: 10.92 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.4488, allocations: 2.797 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.4488, allocations: 9.812 kB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.4488, allocations: 9.344 kB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.4489, allocations: 1.156 kB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/0.4489, allocations: 9.469 kB / 0.7203 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.4489, allocations: 14.12 kB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.449, allocations: 3.094 kB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.043e-05/0.4491, allocations: 24.61 kB / 0.7203 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4491, allocations: 1.031 kB / 0.7203 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4491, allocations: 0 / 0.7203 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4491, allocations: 3.938 kB / 0.7203 GB, free: 23 MB / 0.6355 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.0002588/0.4493, allocations: 257 kB / 0.7205 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4494, allocations: 11 kB / 0.7206 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.4494, allocations: 6.609 kB / 0.7206 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.785e-05/0.4494, allocations: 108.3 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4494, allocations: 5.656 kB / 0.7207 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4495, allocations: 1.375 kB / 0.7207 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.4496, allocations: 74.86 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.4496, allocations: 192 / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4496, allocations: 13.06 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4496, allocations: 5.297 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.4496, allocations: 11.97 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.704e-05/0.4497, allocations: 128.5 kB / 0.7209 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.306e-05/0.4498, allocations: 96.12 kB / 0.721 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.4498, allocations: 34.66 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.45, allocations: 10.42 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.45, allocations: 43.41 kB / 0.7211 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.45, allocations: 0 / 0.7211 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001613/0.4501, allocations: 75.8 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4502, allocations: 157.4 kB / 0.7213 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.138e-05/0.4502, allocations: 89.86 kB / 0.7214 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.4502, allocations: 27.42 kB / 0.7214 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-06/0.4502, allocations: 84.89 kB / 0.7215 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.4502, allocations: 23.25 kB / 0.7215 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.4502, allocations: 15.58 kB / 0.7215 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.4503, allocations: 317.9 kB / 0.7218 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.4503, allocations: 4.469 kB / 0.7218 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.4503, allocations: 41.02 kB / 0.7219 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.4504, allocations: 46.22 kB / 0.7219 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4504, allocations: 4.656 kB / 0.7219 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.613e-05/0.4504, allocations: 59.12 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4505, allocations: 6.062 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4505, allocations: 1.062 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4505, allocations: 6.188 kB / 0.722 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.4505, allocations: 13.88 kB / 0.722 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4505, allocations: 6.156 kB / 0.722 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.4506, allocations: 5.547 kB / 0.722 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4506, allocations: 8 kB / 0.722 GB, free: 21.16 MB / 0.6355 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.261e-05/0.4506, allocations: 113.8 kB / 0.7221 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.4506, allocations: 2.641 kB / 0.7221 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.4508, allocations: 105.9 kB / 0.7222 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4508, allocations: 10.16 kB / 0.7222 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4508, allocations: 1.312 kB / 0.7222 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4508, allocations: 6.875 kB / 0.7223 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.866e-05/0.4509, allocations: 110.6 kB / 0.7224 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4509, allocations: 5.062 kB / 0.7224 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.4509, allocations: 14.83 kB / 0.7224 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4509, allocations: 3.125 kB / 0.7224 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.4509, allocations: 1.188 kB / 0.7224 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4509, allocations: 3.203 kB / 0.7224 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4509, allocations: 5.094 kB / 0.7224 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.01e-05/0.451, allocations: 122.1 kB / 0.7225 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-06/0.451, allocations: 15.64 kB / 0.7225 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.451, allocations: 3.641 kB / 0.7225 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.451, allocations: 5.062 kB / 0.7225 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.451, allocations: 14.55 kB / 0.7225 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4511, allocations: 5.125 kB / 0.7225 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.817e-06/0.4511, allocations: 75.28 kB / 0.7226 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4511, allocations: 0 / 0.7226 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001465/0.4512, allocations: 10.25 kB / 0.7226 GB, free: 20.62 MB / 0.6355 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.0001099/0.4513, allocations: 95.92 kB / 0.7227 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.284e-05/0.4514, allocations: 39.91 kB / 0.7228 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4514, allocations: 1.531 kB / 0.7228 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.4514, allocations: 24.98 kB / 0.7228 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.4516, allocations: 8.891 kB / 0.7228 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.4518, allocations: 166.8 kB / 0.723 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.4518, allocations: 65.06 kB / 0.723 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.4518, allocations: 17.73 kB / 0.723 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of SimCode: time 3.7e-07/0.4518, allocations: 4 kB / 0.723 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.001744/0.4536, allocations: 0.7119 MB / 0.7237 GB, free: 20.17 MB / 0.6355 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.18521724594757] Failed to read output from testmodel.py, exit status != 0: 0.4595427829772234 0.46687985099999996 0.016100559 Calling exit ...