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.0007749/0.0007749, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001858, allocations: 440 kB / 10.41 MB, free: 284 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.0007562/0.0007562, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001832, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9642/0.9642, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09062/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7734/0.7734, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.3301/1.104, allocations: 49.13 MB / 448.6 MB, free: 5.93 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 2.054e-06/2.054e-06, allocations: 0.875 kB / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.318e-05, allocations: 7.297 kB / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001626/0.001659, allocations: 0.6515 MB / 450.7 MB, free: 3.938 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 7.648e-05/0.001735, allocations: 20.62 kB / 450.7 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.152e-05/0.001747, allocations: 0 / 450.7 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-06/0.001752, allocations: 5.344 kB / 450.7 MB, free: 3.914 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.62e-07/0.001753, allocations: 0 / 450.7 MB, free: 3.914 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.001896, allocations: 11.97 kB / 450.7 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.00194, allocations: 9.234 kB / 450.7 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.001973, allocations: 0 / 450.7 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.00201, allocations: 13.16 kB / 450.7 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.00203, allocations: 2.672 kB / 450.7 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.002043, allocations: 0 / 450.7 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.002117, allocations: 23.91 kB / 450.8 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.002128, allocations: 0.875 kB / 450.8 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.808e-06/0.002138, allocations: 0 / 450.8 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.179e-05/0.00221, allocations: 8.766 kB / 450.8 MB, free: 3.855 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.002221, allocations: 1.656 kB / 450.8 MB, free: 3.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002221, allocations: 0 / 450.8 MB, free: 3.855 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.002229, allocations: 0.875 kB / 450.8 MB, free: 3.855 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.0002571/0.002487, allocations: 212.8 kB / 451 MB, free: 3.621 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.002517, allocations: 8.031 kB / 451 MB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.00254, allocations: 2.75 kB / 451 MB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.002602, allocations: 110.2 kB / 451.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.002612, allocations: 1.656 kB / 451.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.00262, allocations: 384 / 451.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.002702, allocations: 35.84 kB / 451.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.002709, allocations: 0.875 kB / 451.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.002715, allocations: 384 / 451.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00272, allocations: 6.344 kB / 451.1 MB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.41e-05/0.002734, allocations: 3.938 kB / 451.1 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.51e-05/0.002809, allocations: 57.05 kB / 451.2 MB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.002846, allocations: 18.52 kB / 451.2 MB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.002858, allocations: 4.859 kB / 451.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.002894, allocations: 5.75 kB / 451.2 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.002915, allocations: 35.17 kB / 451.3 MB, free: 3.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.6e-07/0.002916, allocations: 0 / 451.3 MB, free: 3.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.29e-05/0.003009, allocations: 35.34 kB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.00304, allocations: 51.41 kB / 451.3 MB, free: 3.176 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.003144, allocations: 89.86 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.003153, allocations: 29.7 kB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.003171, allocations: 85.52 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.003203, allocations: 0 / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.003222, allocations: 13.72 kB / 451.6 MB, free: 2.938 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.003294, allocations: 320.2 kB / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.003299, allocations: 0 / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.003305, allocations: 5.422 kB / 451.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.003324, allocations: 8.859 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003326, allocations: 0 / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.546e-05/0.003361, allocations: 30.55 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.003372, allocations: 4.766 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.003377, allocations: 4.656 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.003386, allocations: 0 / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.003437, allocations: 8.766 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.00344, allocations: 0 / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-06/0.003448, allocations: 4 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.003458, allocations: 4 kB / 451.9 MB, free: 2.547 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 4.399e-05/0.003502, allocations: 112.4 kB / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-06/0.003504, allocations: 0 / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.003573, allocations: 42.78 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.003575, allocations: 4 kB / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.003577, allocations: 0 / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003579, allocations: 0 / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.009e-05/0.003619, allocations: 62.75 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003619, allocations: 0 / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.00363, allocations: 4.906 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.003636, allocations: 7.938 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.003637, allocations: 0.875 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.003641, allocations: 5.172 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.003641, allocations: 0 / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.003643, allocations: 7.938 kB / 452.2 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.059e-05/0.003683, allocations: 57.69 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-06/0.00369, allocations: 1.719 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.958e-06/0.003694, allocations: 0 / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-06/0.003701, allocations: 4.656 kB / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.003704, allocations: 5.281 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.095e-06/0.003712, allocations: 8.359 kB / 452.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003712, allocations: 0.5625 kB / 452.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.189e-05/0.003804, allocations: 4.625 kB / 452.3 MB, free: 2.18 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 9.768e-05/0.003902, allocations: 77.23 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.149e-05/0.003953, allocations: 10.62 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.003957, allocations: 3.938 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.00397, allocations: 18.66 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.508e-05/0.004015, allocations: 3.938 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000142/0.004157, allocations: 79.97 kB / 452.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.004187, allocations: 63.2 kB / 452.5 MB, free: 1.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.066e-05/0.004207, allocations: 1.625 kB / 452.5 MB, free: 1.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.004236, allocations: 48.69 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.004236, allocations: 4.656 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of Templates: time 0.001554/0.005791, allocations: 321.8 kB / 452.9 MB, free: 1.523 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.5878246538341045]