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.001384/0.001384, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002141/0.003525, allocations: 435.8 kB / 10.33 MB, free: 368 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.001394/0.001394, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001901/0.003295, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09509/1.13, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8235/0.8235, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2678/1.091, allocations: 49.13 MB / 448.4 MB, free: 6.031 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.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.913e-06/1.913e-06, allocations: 0.5469 kB / 449.8 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.137e-05, allocations: 4.562 kB / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001944/0.001965, allocations: 0.6385 MB / 450.4 MB, free: 4.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.117e-05/0.002056, allocations: 24.94 kB / 450.4 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.002067, allocations: 3.938 kB / 450.4 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-06/0.002073, allocations: 0.6875 kB / 450.4 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.973e-06/0.002075, allocations: 0 / 450.4 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.002235, allocations: 9.969 kB / 450.4 MB, free: 4.035 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.002284, allocations: 8.75 kB / 450.4 MB, free: 4.027 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.002321, allocations: 0 / 450.4 MB, free: 4.027 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.002358, allocations: 4.984 kB / 450.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.276e-05/0.002381, allocations: 0 / 450.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.002396, allocations: 0.5625 kB / 450.5 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.002501, allocations: 20.45 kB / 450.5 MB, free: 4.004 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.002509, allocations: 1.609 kB / 450.5 MB, free: 4.004 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.038e-05/0.00252, allocations: 1.656 kB / 450.5 MB, free: 4.004 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002622, allocations: 12.75 kB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567e-05/0.002637, allocations: 4 kB / 450.5 MB, free: 3.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.002639, allocations: 0 / 450.5 MB, free: 3.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.00265, allocations: 0 / 450.5 MB, free: 3.988 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002727/0.002923, allocations: 215.8 kB / 450.7 MB, free: 3.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.002957, allocations: 8.031 kB / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.002983, allocations: 0.9375 kB / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/0.003049, allocations: 109.7 kB / 450.8 MB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.003058, allocations: 4.375 kB / 450.8 MB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.003064, allocations: 2.5 kB / 450.8 MB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.003144, allocations: 26.27 kB / 450.9 MB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.003149, allocations: 192 / 450.9 MB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003155, allocations: 384 / 450.9 MB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.00316, allocations: 5.578 kB / 450.9 MB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.003176, allocations: 4.594 kB / 450.9 MB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.627e-05/0.003252, allocations: 64.81 kB / 450.9 MB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.727e-05/0.003289, allocations: 24.47 kB / 451 MB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.169e-05/0.003301, allocations: 4.859 kB / 451 MB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.003343, allocations: 8.766 kB / 451 MB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.003366, allocations: 30.56 kB / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003367, allocations: 0 / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.472e-05/0.003461, allocations: 30.36 kB / 451 MB, free: 3.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.003493, allocations: 52.25 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.003534, allocations: 93.8 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.003546, allocations: 30.98 kB / 451.2 MB, free: 3.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.003566, allocations: 80.14 kB / 451.3 MB, free: 3.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.003594, allocations: 1.5 kB / 451.3 MB, free: 3.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.003622, allocations: 13.7 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.00371, allocations: 318.8 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.003718, allocations: 0 / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.003724, allocations: 2.641 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.00375, allocations: 8.859 kB / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.003752, allocations: 0 / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.054e-05/0.003803, allocations: 34.59 kB / 451.6 MB, free: 2.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.003816, allocations: 4 kB / 451.6 MB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.003821, allocations: 0.6562 kB / 451.7 MB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.003828, allocations: 8.938 kB / 451.7 MB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.00389, allocations: 0 / 451.7 MB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.003893, allocations: 0 / 451.7 MB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.003905, allocations: 2.938 kB / 451.7 MB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.003919, allocations: 5.688 kB / 451.7 MB, free: 2.684 MB / 426.7 MB 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 6.194e-05/0.003981, allocations: 114.9 kB / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.003986, allocations: 0.5 kB / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.004076, allocations: 38.59 kB / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.004079, allocations: 4 kB / 451.8 MB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004082, allocations: 4.625 kB / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.004085, allocations: 0 / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.851e-05/0.004143, allocations: 68.02 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004145, allocations: 0 / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.004172, allocations: 7.984 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.004178, allocations: 4.438 kB / 451.9 MB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.004181, allocations: 0 / 451.9 MB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.004185, allocations: 1.375 kB / 451.9 MB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.004187, allocations: 3.938 kB / 451.9 MB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.00419, allocations: 4 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.528e-05/0.004245, allocations: 59.11 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.004254, allocations: 4 kB / 452 MB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.004262, allocations: 0 / 452 MB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.004274, allocations: 4.719 kB / 452 MB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.004278, allocations: 0 / 452 MB, free: 2.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.125e-05/0.00429, allocations: 5.766 kB / 452 MB, free: 2.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.00429, allocations: 0 / 452 MB, free: 2.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.004461, allocations: 4.594 kB / 452 MB, free: 2.316 MB / 426.7 MB 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.0001453/0.004607, allocations: 78.62 kB / 452.1 MB, free: 2.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.31e-05/0.00467, allocations: 16.78 kB / 452.1 MB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.004673, allocations: 0.7812 kB / 452.1 MB, free: 2.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-06/0.004681, allocations: 8.859 kB / 452.1 MB, free: 2.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.71e-05/0.004738, allocations: 5.375 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.004905, allocations: 85.05 kB / 452.2 MB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.004936, allocations: 55.22 kB / 452.2 MB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.969e-05/0.004965, allocations: 7.281 kB / 452.2 MB, free: 2.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.005001, allocations: 47.38 kB / 452.3 MB, free: 1.965 MB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/0.005001, allocations: 1.188 kB / 452.3 MB, free: 1.965 MB / 426.7 MB Notification: Performance of Templates: time 0.002107/0.007109, allocations: 326.7 kB / 452.6 MB, free: 1.664 MB / 426.7 MB " [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.483236742205918]