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.0007491/0.0007491, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007616/0.0007616, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7116/0.7116, allocations: 154.6 MB / 414.5 MB, free: 0.8438 MB / 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.273e-06/1.273e-06, allocations: 0 / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.944e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001243/0.001262, allocations: 0.5905 MB / 0.6199 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.001438, allocations: 23.95 kB / 0.6199 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.218e-05/0.00145, allocations: 0 / 0.6199 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.001464, allocations: 3.938 kB / 0.6199 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.001471, allocations: 0 / 0.6199 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.001751, allocations: 15.92 kB / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.001797, allocations: 4 kB / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.001839, allocations: 0 / 0.62 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.001868, allocations: 4 kB / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.001892, allocations: 3.984 kB / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.001908, allocations: 0 / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.501e-05/0.001983, allocations: 19.97 kB / 0.62 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.001995, allocations: 0 / 0.62 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.002009, allocations: 0 / 0.62 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.191e-05/0.002091, allocations: 7.984 kB / 0.62 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.002094, allocations: 4 kB / 0.62 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.11e-07/0.002095, allocations: 4 kB / 0.62 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002098, allocations: 4 kB / 0.62 GB, free: 12.35 MB / 0.5886 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.0002187/0.002317, allocations: 234.4 kB / 0.6202 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.002351, allocations: 9.469 kB / 0.6202 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.002377, allocations: 0.9375 kB / 0.6202 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.53e-05/0.002433, allocations: 113.7 kB / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.002442, allocations: 384 / 0.6204 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.002452, allocations: 8.297 kB / 0.6204 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.002528, allocations: 26.27 kB / 0.6204 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.002536, allocations: 8.125 kB / 0.6204 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.002545, allocations: 384 / 0.6204 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.002549, allocations: 384 / 0.6204 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.00257, allocations: 11.94 kB / 0.6204 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.924e-05/0.00266, allocations: 97.33 kB / 0.6205 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.262e-05/0.002692, allocations: 14.58 kB / 0.6205 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.002707, allocations: 8.797 kB / 0.6205 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.002742, allocations: 8.078 kB / 0.6205 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.002759, allocations: 30.56 kB / 0.6206 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.00276, allocations: 0 / 0.6206 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.002873, allocations: 37.7 kB / 0.6206 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.002901, allocations: 51.41 kB / 0.6206 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.224e-05/0.002934, allocations: 93.98 kB / 0.6207 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.002942, allocations: 25.7 kB / 0.6208 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.002957, allocations: 80.14 kB / 0.6208 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.002984, allocations: 0 / 0.6208 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.003006, allocations: 17.7 kB / 0.6208 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.00308, allocations: 314.8 kB / 0.6211 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.003091, allocations: 4 kB / 0.6212 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.003098, allocations: 7.938 kB / 0.6212 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.003124, allocations: 8.859 kB / 0.6212 GB, free: 11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.003126, allocations: 0 / 0.6212 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.784e-05/0.003174, allocations: 33.77 kB / 0.6212 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.003187, allocations: 4 kB / 0.6212 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.003194, allocations: 4 kB / 0.6212 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.003207, allocations: 7.969 kB / 0.6212 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.003259, allocations: 0 / 0.6212 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.003264, allocations: 0 / 0.6212 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-06/0.003273, allocations: 3.938 kB / 0.6212 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.003286, allocations: 4 kB / 0.6212 GB, free: 10.93 MB / 0.5886 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 5.216e-05/0.003338, allocations: 110.8 kB / 0.6213 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-06/0.003342, allocations: 4 kB / 0.6213 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.00342, allocations: 48.72 kB / 0.6214 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.003422, allocations: 0 / 0.6214 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.003425, allocations: 0 / 0.6214 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.003428, allocations: 0 / 0.6214 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.47e-05/0.003473, allocations: 105.2 kB / 0.6215 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003473, allocations: 0 / 0.6215 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-06/0.003482, allocations: 3.938 kB / 0.6215 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.003483, allocations: 0 / 0.6215 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.003489, allocations: 8.016 kB / 0.6215 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.003491, allocations: 4 kB / 0.6215 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.003492, allocations: 0 / 0.6215 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.094e-05/0.003532, allocations: 61.02 kB / 0.6216 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-06/0.003535, allocations: 4 kB / 0.6216 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.003544, allocations: 0 / 0.6216 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-06/0.003549, allocations: 3.984 kB / 0.6216 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.00356, allocations: 0 / 0.6216 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.003564, allocations: 4 kB / 0.6216 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.003583, allocations: 75.28 kB / 0.6216 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003583, allocations: 4.031 kB / 0.6216 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001209/0.003704, allocations: 0 / 0.6216 GB, free: 10.44 MB / 0.5886 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.0001128/0.003816, allocations: 99.19 kB / 0.6217 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.167e-05/0.003878, allocations: 8 kB / 0.6217 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.00388, allocations: 4 kB / 0.6217 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.003884, allocations: 3.938 kB / 0.6217 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.232e-05/0.003977, allocations: 3.984 kB / 0.6218 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.004139, allocations: 98.72 kB / 0.6218 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.947e-05/0.004168, allocations: 59.48 kB / 0.6219 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.00419, allocations: 8.5 kB / 0.6219 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.00419, allocations: 0 / 0.6219 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.001302/0.005493, allocations: 451.2 kB / 0.6223 GB, free: 9.66 MB / 0.5886 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.216620900668204] Failed to read output from testmodel.py, exit status != 0: 0.009956404566764832 0.017758976000000003 0.014061235 Calling exit ...