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.001372/0.001372, allocations: 80.2 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.001685/0.001685, allocations: 173.1 kB / 22.46 MB, free: 5.355 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.197/1.197, allocations: 154.6 MB / 413.7 MB, free: 5.301 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.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.302e-06/1.302e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.506e-05, allocations: 9.109 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001461/0.001486, allocations: 0.5931 MB / 0.6192 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.001693, allocations: 24.48 kB / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.00171, allocations: 5.938 kB / 0.6192 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.001722, allocations: 0 / 0.6192 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.001729, allocations: 0 / 0.6192 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.002007, allocations: 23.86 kB / 0.6192 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.002053, allocations: 4 kB / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.002101, allocations: 4 kB / 0.6192 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.002128, allocations: 0 / 0.6192 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.295e-05/0.002151, allocations: 7.984 kB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.002164, allocations: 0 / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.002244, allocations: 15.97 kB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.002252, allocations: 0 / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.002268, allocations: 4 kB / 0.6192 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.002354, allocations: 11.97 kB / 0.6193 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002355, allocations: 0 / 0.6193 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002356, allocations: 0 / 0.6193 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.00236, allocations: 0 / 0.6193 GB, free: 3.887 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003213/0.002682, allocations: 246.4 kB / 0.6195 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.002716, allocations: 9.469 kB / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.002744, allocations: 0.9375 kB / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.002825, allocations: 101.8 kB / 0.6196 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.00284, allocations: 8.375 kB / 0.6196 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.002847, allocations: 384 / 0.6196 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/0.002934, allocations: 34.19 kB / 0.6196 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.002942, allocations: 192 / 0.6196 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.002949, allocations: 4.312 kB / 0.6196 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.002953, allocations: 4.375 kB / 0.6196 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.002973, allocations: 7.938 kB / 0.6196 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.003095, allocations: 97.31 kB / 0.6197 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.003139, allocations: 26.52 kB / 0.6198 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.003156, allocations: 4.859 kB / 0.6198 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.003193, allocations: 8.047 kB / 0.6198 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.00322, allocations: 34.5 kB / 0.6198 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.003221, allocations: 0 / 0.6198 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.003344, allocations: 33.7 kB / 0.6198 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.003384, allocations: 51.41 kB / 0.6199 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.003432, allocations: 89.86 kB / 0.62 GB, free: 3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.003447, allocations: 29.83 kB / 0.62 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.003483, allocations: 84.14 kB / 0.6201 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.003509, allocations: 0 / 0.6201 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.003538, allocations: 13.72 kB / 0.6201 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.003669, allocations: 318.8 kB / 0.6204 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.003678, allocations: 0 / 0.6204 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.003685, allocations: 4 kB / 0.6204 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.003712, allocations: 8.797 kB / 0.6204 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003713, allocations: 4 kB / 0.6204 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.734e-05/0.003771, allocations: 37.77 kB / 0.6205 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.003783, allocations: 4 kB / 0.6205 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.003786, allocations: 0 / 0.6205 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.003801, allocations: 7.984 kB / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.003847, allocations: 0 / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.003851, allocations: 0 / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.003865, allocations: 3.938 kB / 0.6205 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.003878, allocations: 4 kB / 0.6205 GB, free: 2.457 MB / 0.5294 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.181e-05/0.00395, allocations: 106.8 kB / 0.6206 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.003956, allocations: 0 / 0.6206 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.864e-05/0.004055, allocations: 56.61 kB / 0.6206 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.004056, allocations: 0 / 0.6206 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.004059, allocations: 0 / 0.6206 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.004061, allocations: 0 / 0.6206 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.642e-05/0.004137, allocations: 101.2 kB / 0.6207 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004138, allocations: 0 / 0.6207 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.004154, allocations: 4 kB / 0.6207 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004155, allocations: 0 / 0.6207 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.004163, allocations: 8.016 kB / 0.6207 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004164, allocations: 3.938 kB / 0.6207 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.004166, allocations: 4 kB / 0.6207 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.289e-05/0.004239, allocations: 64.95 kB / 0.6208 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.004248, allocations: 8 kB / 0.6208 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.004256, allocations: 0 / 0.6208 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.004266, allocations: 0 / 0.6208 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.00428, allocations: 3.984 kB / 0.6208 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.004283, allocations: 0 / 0.6208 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.004318, allocations: 79.28 kB / 0.6209 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004318, allocations: 0 / 0.6209 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001747/0.004493, allocations: 4.031 kB / 0.6209 GB, free: 1.957 MB / 0.5294 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.0001254/0.004618, allocations: 99.19 kB / 0.621 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.004693, allocations: 4 kB / 0.621 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004695, allocations: 0 / 0.621 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/0.004704, allocations: 4 kB / 0.621 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.004833, allocations: 3.984 kB / 0.621 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.005045, allocations: 87.94 kB / 0.6211 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.005091, allocations: 55.48 kB / 0.6211 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.00511, allocations: 4 kB / 0.6211 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.005131, allocations: 8.5 kB / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.005131, allocations: 0 / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of Templates: time 0.002382/0.007513, allocations: 286.2 kB / 0.6214 GB, free: 1.363 MB / 0.5294 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.64676296338439] Failed to read output from testmodel.py, exit status != 0: 0.014806389808654785 0.028991167 0.023776787 Calling exit ...