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.0008702/0.0008702, allocations: 115 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.0008288/0.0008288, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8941/0.8941, allocations: 230.6 MB / 256.8 MB, free: 3.457 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.7389/0.7389, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 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.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: 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.0009234/0.0009234, allocations: 71.89 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4541, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001266/0.4553, allocations: 0.5906 MB / 0.8197 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001852/0.4555, allocations: 25.56 kB / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.312e-05/0.4555, allocations: 2.031 kB / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.4555, allocations: 0 / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.4555, allocations: 3.938 kB / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.4558, allocations: 12.56 kB / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.4559, allocations: 3.25 kB / 0.8197 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.4559, allocations: 1.594 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.4559, allocations: 1.75 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.913e-05/0.4559, allocations: 2.531 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.456, allocations: 1.219 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.456, allocations: 19.47 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-06/0.456, allocations: 0 / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.456, allocations: 0.9062 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.956e-05/0.4561, allocations: 16.84 kB / 0.8198 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4561, allocations: 0 / 0.8198 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4561, allocations: 2.625 kB / 0.8198 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4561, allocations: 3.938 kB / 0.8198 GB, free: 24.87 MB / 0.6355 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.0002006/0.4564, allocations: 240.8 kB / 0.82 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4564, allocations: 11.41 kB / 0.82 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.4564, allocations: 1.469 kB / 0.82 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.452e-05/0.4564, allocations: 106.2 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.4565, allocations: 2.297 kB / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.4565, allocations: 384 / 0.8201 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.4565, allocations: 34.88 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4566, allocations: 1.312 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4566, allocations: 3.938 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4566, allocations: 1.125 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.4566, allocations: 2.609 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.031e-05/0.4567, allocations: 116.1 kB / 0.8203 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.021e-05/0.4567, allocations: 21.47 kB / 0.8203 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.4567, allocations: 12.25 kB / 0.8203 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.4567, allocations: 1.875 kB / 0.8203 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.4568, allocations: 32.12 kB / 0.8204 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.4568, allocations: 3.5 kB / 0.8204 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.4569, allocations: 40.56 kB / 0.8204 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.4569, allocations: 52.52 kB / 0.8205 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.143e-05/0.4569, allocations: 89.86 kB / 0.8205 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-06/0.4569, allocations: 27.14 kB / 0.8206 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-06/0.4569, allocations: 80.14 kB / 0.8206 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4569, allocations: 8.828 kB / 0.8206 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.457, allocations: 13.77 kB / 0.8207 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.457, allocations: 312.7 kB / 0.821 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-06/0.457, allocations: 1.094 kB / 0.821 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.457, allocations: 4.844 kB / 0.821 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.457, allocations: 12.81 kB / 0.821 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.457, allocations: 3.938 kB / 0.821 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.492e-05/0.4571, allocations: 41.47 kB / 0.821 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4571, allocations: 5.594 kB / 0.821 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4571, allocations: 0.75 kB / 0.821 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4571, allocations: 5.125 kB / 0.821 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.4571, allocations: 6.047 kB / 0.821 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4571, allocations: 0.5312 kB / 0.821 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-06/0.4571, allocations: 0.8438 kB / 0.821 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.4572, allocations: 1.766 kB / 0.821 GB, free: 23.5 MB / 0.6355 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 3.206e-05/0.4572, allocations: 108.4 kB / 0.8211 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-06/0.4572, allocations: 0.8125 kB / 0.8211 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.4573, allocations: 58.59 kB / 0.8212 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.4573, allocations: 0 / 0.8212 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4573, allocations: 0.5156 kB / 0.8212 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4573, allocations: 1.062 kB / 0.8212 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.312e-05/0.4573, allocations: 115.6 kB / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.4573, allocations: 0 / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.4573, allocations: 6.844 kB / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.4573, allocations: 1.156 kB / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4573, allocations: 4.594 kB / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.4573, allocations: 0 / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4573, allocations: 1.047 kB / 0.8213 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.269e-05/0.4574, allocations: 61.94 kB / 0.8214 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.4574, allocations: 6.25 kB / 0.8214 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.4574, allocations: 4.5 kB / 0.8214 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-06/0.4574, allocations: 1.859 kB / 0.8214 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.4574, allocations: 4.594 kB / 0.8214 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4574, allocations: 1.188 kB / 0.8214 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.045e-06/0.4574, allocations: 79.31 kB / 0.8215 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4574, allocations: 1.219 kB / 0.8215 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001182/0.4575, allocations: 2.641 kB / 0.8215 GB, free: 23.02 MB / 0.6355 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 9.826e-05/0.4576, allocations: 98.83 kB / 0.8216 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.4577, allocations: 8.406 kB / 0.8216 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4577, allocations: 0 / 0.8216 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.4577, allocations: 6.406 kB / 0.8216 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.197e-05/0.4578, allocations: 6.531 kB / 0.8216 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001419/0.4579, allocations: 109.6 kB / 0.8217 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.458, allocations: 0.6722 MB / 0.8224 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.458, allocations: 8.156 kB / 0.8224 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.458, allocations: 0.9375 kB / 0.8224 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of Templates: time 0.001459/0.4595, allocations: 434.5 kB / 0.8228 GB, free: 22.06 MB / 0.6355 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.625150392996147] Failed to read output from testmodel.py, exit status != 0: 0.4647587528452277 0.47303405000000004 0.015242155 Calling exit ...