Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0007603/0.0007603, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007488/0.0007488, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.8827/0.8827, allocations: 230.6 MB / 256.8 MB, free: 9.809 MB / 202.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.7156/0.7156, allocations: 203.8 MB / 0.5049 GB, free: 10.75 MB / 410.7 MB " [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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008706/0.0008706, allocations: 66.02 kB / 0.7195 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4679, allocations: 102 MB / 0.8191 GB, free: 1.562 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001504/0.4694, allocations: 1.462 MB / 0.8205 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001669/0.4696, allocations: 96.52 kB / 0.8206 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.4696, allocations: 0 / 0.8206 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.4696, allocations: 4.594 kB / 0.8206 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.054e-05/0.4696, allocations: 3.938 kB / 0.8206 GB, free: 488 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.4698, allocations: 13.09 kB / 0.8206 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.4698, allocations: 28.59 kB / 0.8207 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.4699, allocations: 7.953 kB / 0.8207 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.4699, allocations: 5.422 kB / 0.8207 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.083e-05/0.4699, allocations: 18.08 kB / 0.8207 GB, free: 452 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-06/0.4699, allocations: 6.25 kB / 0.8207 GB, free: 448 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.47, allocations: 18.36 kB / 0.8207 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.47, allocations: 1.406 kB / 0.8207 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.47, allocations: 13.44 kB / 0.8207 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.757e-05/0.4701, allocations: 36.7 kB / 0.8208 GB, free: 420 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4701, allocations: 0 / 0.8208 GB, free: 420 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4701, allocations: 0 / 0.8208 GB, free: 420 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4701, allocations: 1.062 kB / 0.8208 GB, free: 420 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001853/0.4703, allocations: 273.5 kB / 0.821 GB, free: 140 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.032e-05/0.4703, allocations: 8.281 kB / 0.821 GB, free: 140 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.605e-05/0.4703, allocations: 8.516 kB / 0.821 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.329e-05/0.4703, allocations: 108 kB / 0.8211 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-06/0.4703, allocations: 384 / 0.8211 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.4703, allocations: 4.938 kB / 0.8211 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.4704, allocations: 50.08 kB / 0.8212 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-06/0.4704, allocations: 192 / 0.8212 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.4705, allocations: 8.547 kB / 0.8212 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.4705, allocations: 2.656 kB / 0.8212 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.4705, allocations: 39.77 kB / 0.8212 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.4707, allocations: 229.7 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.4708, allocations: 51.62 kB / 0.8215 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.4708, allocations: 29.47 kB / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4709, allocations: 0.5625 kB / 0.8215 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.4709, allocations: 34.67 kB / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.4709, allocations: 0 / 0.8216 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.471, allocations: 83.09 kB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.471, allocations: 52.69 kB / 0.8217 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.4711, allocations: 113.2 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.4711, allocations: 29.64 kB / 0.8218 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.4711, allocations: 84.8 kB / 0.8219 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.4711, allocations: 6.734 kB / 0.8219 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.4712, allocations: 13.05 kB / 0.8219 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.4712, allocations: 318.6 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.4713, allocations: 14.72 kB / 0.8223 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.4713, allocations: 23.7 kB / 0.8223 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.4714, allocations: 39.61 kB / 0.8223 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4714, allocations: 2.906 kB / 0.8223 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.105e-05/0.4715, allocations: 69.06 kB / 0.8224 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.4715, allocations: 8.75 kB / 0.8224 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.4715, allocations: 0.75 kB / 0.8224 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.4715, allocations: 1.469 kB / 0.8224 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.054e-05/0.4715, allocations: 16.05 kB / 0.8224 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.4715, allocations: 0.6562 kB / 0.8224 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.4716, allocations: 12.78 kB / 0.8224 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-06/0.4716, allocations: 0.7031 kB / 0.8224 GB, free: 14.88 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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.239e-05/0.4716, allocations: 110.4 kB / 0.8225 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.4716, allocations: 6.625 kB / 0.8225 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.4717, allocations: 78.72 kB / 0.8226 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4717, allocations: 2.562 kB / 0.8226 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4717, allocations: 0 / 0.8226 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4717, allocations: 0.75 kB / 0.8226 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.332e-05/0.4718, allocations: 135 kB / 0.8227 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4718, allocations: 4.641 kB / 0.8227 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.4719, allocations: 8.188 kB / 0.8228 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.4719, allocations: 4.031 kB / 0.8228 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.4719, allocations: 6 kB / 0.8228 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4719, allocations: 4.938 kB / 0.8228 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4719, allocations: 4 kB / 0.8228 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.472, allocations: 166.5 kB / 0.8229 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-06/0.472, allocations: 4.734 kB / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-06/0.472, allocations: 11.34 kB / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.472, allocations: 9.953 kB / 0.823 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.472, allocations: 1.359 kB / 0.823 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.472, allocations: 1.125 kB / 0.823 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.49e-05/0.4721, allocations: 82.5 kB / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4721, allocations: 0 / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001414/0.4722, allocations: 10.38 kB / 0.823 GB, free: 14.29 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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 8.998e-05/0.4723, allocations: 102.4 kB / 0.8231 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.4724, allocations: 44.48 kB / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.4724, allocations: 0 / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.4724, allocations: 22.61 kB / 0.8232 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.4726, allocations: 8.531 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.4728, allocations: 145.1 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.4729, allocations: 0.6815 MB / 0.824 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.473, allocations: 9.172 kB / 0.824 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.473, allocations: 0 / 0.824 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.001202/0.4742, allocations: 0.6552 MB / 0.8247 GB, free: 13.28 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.504186403006315] Failed to read output from testmodel.py, exit status != 0: 0.47903112112544477 0.48843326000000004 0.016531659 Calling exit ...