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.0008405/0.0008405, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007902/0.0007902, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8962/0.8962, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7091/0.7091, allocations: 154.5 MB / 414.5 MB, free: 0.8359 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.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.671e-05, allocations: 5.672 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001758/0.001785, allocations: 1.455 MB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.002043, allocations: 87.75 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.00207, allocations: 0 / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.97e-05/0.002129, allocations: 0 / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.384e-05/0.002163, allocations: 15.88 kB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.002418, allocations: 15.97 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.002482, allocations: 19.92 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.002568, allocations: 8 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.002604, allocations: 11.98 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.002635, allocations: 7.984 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.002651, allocations: 4 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.00272, allocations: 19.97 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.002761, allocations: 7.938 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.002777, allocations: 4 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.002882, allocations: 39.88 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002885, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002885, allocations: 7.938 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00289, allocations: 0 / 0.621 GB, free: 11.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003401/0.00323, allocations: 262.3 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.003266, allocations: 13.47 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.003293, allocations: 0.9375 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.359e-05/0.003377, allocations: 117.7 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003387, allocations: 4.312 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.003395, allocations: 384 / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.003529, allocations: 62.22 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.003536, allocations: 192 / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003544, allocations: 384 / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.003549, allocations: 4.359 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.519e-05/0.003634, allocations: 35.91 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.003881, allocations: 196.6 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.834e-05/0.003959, allocations: 46.5 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.004004, allocations: 28.89 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.004034, allocations: 0 / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.004052, allocations: 34.56 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004053, allocations: 0 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.004268, allocations: 93.52 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.004297, allocations: 51.41 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.004359, allocations: 110 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004368, allocations: 25.7 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.004404, allocations: 88.14 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.004419, allocations: 3.953 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.004445, allocations: 17.7 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.004515, allocations: 318.8 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.004557, allocations: 11.98 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.004593, allocations: 23.97 kB / 0.6224 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.004669, allocations: 44.89 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004671, allocations: 0 / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001029/0.004774, allocations: 73.55 kB / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.004785, allocations: 4 kB / 0.6225 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.004791, allocations: 7.938 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.004801, allocations: 0 / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.004861, allocations: 11.95 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.004866, allocations: 4 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.004887, allocations: 7.938 kB / 0.6226 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.004892, allocations: 4 kB / 0.6226 GB, free: 9.641 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 (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 5.321e-05/0.004946, allocations: 114.8 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.004956, allocations: 0 / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.005092, allocations: 81.47 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005095, allocations: 4 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005099, allocations: 4.031 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005102, allocations: 0 / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.254e-05/0.005194, allocations: 109.3 kB / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005195, allocations: 3.938 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.00522, allocations: 7.984 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005221, allocations: 7.938 kB / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005228, allocations: 0 / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.005229, allocations: 3.938 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.00523, allocations: 0 / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.005354, allocations: 167.5 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.00536, allocations: 4 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.00537, allocations: 0 / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.005406, allocations: 11.92 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.005441, allocations: 4 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005444, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.005476, allocations: 87.27 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005476, allocations: 0 / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000156/0.005632, allocations: 8 kB / 0.6232 GB, free: 8.969 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 (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 0.0001122/0.005744, allocations: 99.22 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.005872, allocations: 39.95 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.005873, allocations: 4 kB / 0.6233 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.005913, allocations: 19.98 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.006111, allocations: 7.969 kB / 0.6233 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.006368, allocations: 134.7 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.006414, allocations: 67.34 kB / 0.6235 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.006434, allocations: 16.44 kB / 0.6235 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.006435, allocations: 0 / 0.6235 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of Templates: time 0.001797/0.008232, allocations: 0.6822 MB / 0.6242 GB, free: 7.844 MB / 0.5886 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.1006594924256206] Failed to read output from testmodel.py, exit status != 0: 0.0130018200725317 0.021211477000000003 0.016499749 Calling exit ...