Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.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.0009744/0.0009744, allocations: 92.22 kB / 19.65 MB, free: 280 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.001083/0.001083, allocations: 169 kB / 23.02 MB, free: 1.547 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.188 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.7773/0.7773, allocations: 154.9 MB / 414.8 MB, free: 348 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5207 GB, free: 1.688 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.865e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001897/0.001926, allocations: 0.5972 MB / 0.5213 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.002159, allocations: 19.92 kB / 0.5213 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.002174, allocations: 0.875 kB / 0.5213 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.002195, allocations: 0.8125 kB / 0.5213 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.002203, allocations: 0 / 0.5213 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.002523, allocations: 24.81 kB / 0.5214 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.002571, allocations: 0 / 0.5214 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.002612, allocations: 5.641 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.002643, allocations: 4.547 kB / 0.5214 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.002666, allocations: 0 / 0.5214 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.002683, allocations: 0 / 0.5214 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.002772, allocations: 16.69 kB / 0.5214 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.002781, allocations: 336 / 0.5214 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.002798, allocations: 5.094 kB / 0.5214 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.627e-05/0.002894, allocations: 15.92 kB / 0.5214 GB, free: 1.023 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002897, allocations: 0 / 0.5214 GB, free: 1.023 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.002898, allocations: 4 kB / 0.5214 GB, free: 1.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.002903, allocations: 1.344 kB / 0.5214 GB, free: 1.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003245/0.003227, allocations: 332.4 kB / 0.5217 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.003272, allocations: 8.031 kB / 0.5217 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.003316, allocations: 5.719 kB / 0.5218 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.574e-05/0.003392, allocations: 112.6 kB / 0.5219 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003406, allocations: 1.812 kB / 0.5219 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.003415, allocations: 384 / 0.5219 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.67e-05/0.003511, allocations: 30.2 kB / 0.5219 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.003519, allocations: 4.188 kB / 0.5219 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.003529, allocations: 2.844 kB / 0.5219 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.003538, allocations: 384 / 0.5219 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.003555, allocations: 3.938 kB / 0.5219 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.003676, allocations: 112.6 kB / 0.522 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.003727, allocations: 27.06 kB / 0.522 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.003747, allocations: 7.688 kB / 0.522 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.003787, allocations: 4.594 kB / 0.522 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.003814, allocations: 38.77 kB / 0.5221 GB, free: 224 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.003816, allocations: 0 / 0.5221 GB, free: 224 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.003957, allocations: 33.7 kB / 0.5221 GB, free: 184 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.003995, allocations: 52.38 kB / 0.5222 GB, free: 120 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.004058, allocations: 142.2 kB / 0.5223 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.004069, allocations: 26.67 kB / 0.5223 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.004106, allocations: 130.9 kB / 0.5225 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.004135, allocations: 4 kB / 0.5225 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.004167, allocations: 20.31 kB / 0.5225 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.004312, allocations: 496.1 kB / 0.5229 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.004324, allocations: 0 / 0.5229 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.004333, allocations: 8.875 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.00437, allocations: 8.406 kB / 0.523 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.004374, allocations: 7.938 kB / 0.523 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.365e-05/0.004438, allocations: 38.22 kB / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.004453, allocations: 5.219 kB / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.004458, allocations: 0 / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.004473, allocations: 0 / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.004536, allocations: 4.625 kB / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.004542, allocations: 0 / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.004555, allocations: 5.75 kB / 0.523 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.00457, allocations: 4 kB / 0.523 GB, free: 15.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.233e-05/0.004643, allocations: 152.6 kB / 0.5232 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.004652, allocations: 3.938 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.004763, allocations: 46.72 kB / 0.5232 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004765, allocations: 1.594 kB / 0.5232 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.004769, allocations: 0 / 0.5232 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.004772, allocations: 0 / 0.5232 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.786e-05/0.00485, allocations: 112.6 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.004852, allocations: 3.984 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.004874, allocations: 6.375 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.004876, allocations: 0 / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.004882, allocations: 0 / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004883, allocations: 0 / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004884, allocations: 0 / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.403e-05/0.004948, allocations: 76.28 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.004955, allocations: 14.72 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.004963, allocations: 0 / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-06/0.004968, allocations: 0 / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.004983, allocations: 4 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.004987, allocations: 0 / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.005015, allocations: 123.2 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005015, allocations: 0 / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001221/0.005137, allocations: 5.219 kB / 0.5236 GB, free: 14.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001124/0.005249, allocations: 99.19 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.00532, allocations: 16.61 kB / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.005322, allocations: 0 / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-06/0.005331, allocations: 17.53 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.853e-05/0.00542, allocations: 5.906 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.005616, allocations: 87.98 kB / 0.5238 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.005646, allocations: 51.36 kB / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.005669, allocations: 9.953 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.005688, allocations: 9.562 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.005689, allocations: 0 / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.001947/0.007636, allocations: 308 kB / 0.5241 GB, free: 13.94 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.762598181143403]