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.0006689/0.0006689, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008759/0.001545, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006865/0.0006865, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009104/0.001597, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.961/0.961, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09566/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8215/0.8215, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.298/1.12, allocations: 49.13 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.422e-06/1.422e-06, allocations: 0 / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.451e-05, allocations: 2.312 kB / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002695/0.002719, allocations: 1.549 MB / 451.5 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.002897, allocations: 89.58 kB / 451.6 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.002921, allocations: 0 / 451.6 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.002964, allocations: 0 / 451.6 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.681e-05/0.002991, allocations: 6.922 kB / 451.6 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.003126, allocations: 21.69 kB / 451.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.003191, allocations: 25.02 kB / 451.7 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.003253, allocations: 4 kB / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.004786, allocations: 21.61 kB / 451.7 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.00483, allocations: 13.62 kB / 451.7 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.004843, allocations: 0.5938 kB / 451.7 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.00494, allocations: 23.91 kB / 451.7 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.004972, allocations: 6.688 kB / 451.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.004988, allocations: 9.75 kB / 451.7 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.832e-05/0.005086, allocations: 17.73 kB / 451.8 MB, free: 2.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.005096, allocations: 0 / 451.8 MB, free: 2.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005097, allocations: 0 / 451.8 MB, free: 2.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.005104, allocations: 2.812 kB / 451.8 MB, free: 2.84 MB / 426.7 MB 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.0003387/0.005443, allocations: 246.6 kB / 452 MB, free: 2.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.005472, allocations: 12.03 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.005495, allocations: 0.9375 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.515e-05/0.005571, allocations: 112.1 kB / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.005578, allocations: 384 / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.005586, allocations: 4.375 kB / 452.1 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.005686, allocations: 54.86 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.005691, allocations: 192 / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.005698, allocations: 9.125 kB / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005703, allocations: 1.094 kB / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.005721, allocations: 3.938 kB / 452.2 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.005913, allocations: 156 kB / 452.3 MB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.005968, allocations: 70.09 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.005984, allocations: 8.859 kB / 452.4 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.006025, allocations: 4.062 kB / 452.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.006048, allocations: 32.45 kB / 452.5 MB, free: 2.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.006049, allocations: 0 / 452.5 MB, free: 2.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.006163, allocations: 38.31 kB / 452.5 MB, free: 2.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.006192, allocations: 59.28 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.162e-05/0.006254, allocations: 112 kB / 452.7 MB, free: 1.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006264, allocations: 25.7 kB / 452.7 MB, free: 1.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.006294, allocations: 88.08 kB / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.00631, allocations: 7.109 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.006341, allocations: 17.72 kB / 452.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.006432, allocations: 314.8 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.006447, allocations: 6.812 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.006457, allocations: 4 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/0.006486, allocations: 12.59 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006488, allocations: 0 / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.396e-05/0.006552, allocations: 42.31 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.006566, allocations: 4.547 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006569, allocations: 1.188 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.00658, allocations: 0 / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.00665, allocations: 11.94 kB / 453.2 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.006653, allocations: 0.9062 kB / 453.2 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.006673, allocations: 4.641 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.00668, allocations: 7.094 kB / 453.2 MB, free: 1.254 MB / 426.7 MB 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 6.528e-05/0.006745, allocations: 108.7 kB / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.006765, allocations: 0.625 kB / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.00686, allocations: 54.58 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.006863, allocations: 0 / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.006865, allocations: 4.594 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006868, allocations: 0 / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.993e-05/0.006958, allocations: 70.39 kB / 453.4 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.00696, allocations: 1.312 kB / 453.4 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.006999, allocations: 7.938 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.007006, allocations: 4 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.007014, allocations: 6.156 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.007018, allocations: 0 / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.00702, allocations: 0 / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.007023, allocations: 8.859 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.007146, allocations: 178.3 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.007156, allocations: 0.5 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.00721, allocations: 9.422 kB / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.007237, allocations: 0 / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.007242, allocations: 0 / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.007267, allocations: 20.78 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007268, allocations: 1.547 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.007453, allocations: 4 kB / 453.7 MB, free: 0.7344 MB / 426.7 MB 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.0001663/0.007619, allocations: 81.8 kB / 453.8 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.464e-05/0.007684, allocations: 13.52 kB / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.007693, allocations: 4.844 kB / 453.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.007722, allocations: 14.83 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.007938, allocations: 29.7 kB / 453.8 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.008418, allocations: 128.1 kB / 453.9 MB, free: 440 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.742e-05/0.008466, allocations: 60.27 kB / 454 MB, free: 360 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.273e-05/0.008488, allocations: 4 kB / 454 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.008534, allocations: 52 kB / 454.1 MB, free: 304 kB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008535, allocations: 0.625 kB / 454.1 MB, free: 304 kB / 426.7 MB Notification: Performance of Templates: time 0.002531/0.01107, allocations: 0.566 MB / 454.6 MB, free: 15.77 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6229829816147685]